A simple, yet elegant, HTTP library.
Alternatives To Requests
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Requests51,070152,22857,00320 hours ago151July 20, 2023267apache-2.0Python
A simple, yet elegant, HTTP library.
Werkzeug6,50467,7222,04520 days ago95November 08, 202322bsd-3-clausePython
The comprehensive WSGI web application library.
Xutils35,91490512 years ago87June 18, 202026otherJava
Android orm, bitmap, http, view inject...
Req3,843423232 months ago192November 20, 202332mitGo
Simple Go HTTP client with Black Magic
6 years agoFebruary 22, 202153JavaScript
Produces persistent, respawning "super" cookies in a browser, abusing over a dozen techniques. Its goal is to identify users after they've removed standard cookies and other privacy data such as Flash cookies (LSOs), HTML5 storage, SilverLight storage, and others.
2 years ago29apache-2.0Java
Auth Boss2,843
7 years ago
🔒 Become an Auth Boss. Learn about different authentication methodologies on the web.
Must Know About Frontend2,547
9 months ago
:mortar_board: 취준생이라면 알면 좋을 프론트엔드 관련 지식들
Httpoison2,1894,0191,7373 months ago51November 24, 202330mitElixir
Yet Another HTTP client for Elixir powered by hackney
Htty1,750325 years ago25December 10, 201534otherRuby
htty is the HTTP TTY, a console application for interacting with web servers.
Alternatives To Requests
Select To Compare

Alternative Project Comparisons


Requests is a simple, yet elegant, HTTP library.

>>> import requests
>>> r = requests.get('', auth=('user', 'pass'))
>>> r.status_code
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
>>> r.text
'{"authenticated": true, ...'
>>> r.json()
{'authenticated': True, ...}

Requests allows you to send HTTP/1.1 requests extremely easily. Theres no need to manually add query strings to your URLs, or to form-encode your PUT & POST data but nowadays, just use the json method!

Requests is one of the most downloaded Python packages today, pulling in around 30M downloads / week according to GitHub, Requests is currently depended upon by 1,000,000+ repositories. You may certainly put your trust in this code.

Downloads Supported Versions Contributors

Installing Requests and Supported Versions

Requests is available on PyPI:

$ python -m pip install requests

Requests officially supports Python 3.8+.

Supported Features & BestPractices

Requests is ready for the demands of building robust and reliable HTTPspeaking applications, for the needs of today.

  • Keep-Alive & Connection Pooling
  • International Domains and URLs
  • Sessions with Cookie Persistence
  • Browser-style TLS/SSL Verification
  • Basic & Digest Authentication
  • Familiar dictlike Cookies
  • Automatic Content Decompression and Decoding
  • Multi-part File Uploads
  • SOCKS Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • Automatic honoring of .netrc
  • Chunked HTTP Requests

API Reference and User Guide available on Read the Docs

Read the Docs

Cloning the repository

When cloning the Requests repository, you may need to add the -c fetch.fsck.badTimezone=ignore flag to avoid an error about a bad commit (see this issue for more background):

git clone -c fetch.fsck.badTimezone=ignore

You can also apply this setting to your global Git config:

git config --global fetch.fsck.badTimezone ignore

Kenneth Reitz Python Software Foundation

Popular Http Projects
Popular Cookie Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Http Requests
Python Requests