Catalog PyPI
PACKAGE EXPLORERView in registry

requests

PyPI

Python HTTP for Humans.

Versions collected1
Direct dependencies6From release 2.34.2
Last observed20 Oct, 14:59 UTC

README

Version 2.34.2 documentation

Requests

Version Supported Versions Downloads Contributors Documentation

Requests is a simple, yet elegant, HTTP library.

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

Requests allows you to send HTTP/1.1 requests extremely easily. There’s 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 300M downloads / week — according to GitHub, Requests is currently depended upon by 4,000,000+ repositories.

Installing Requests and Supported Versions

Requests is available on PyPI:

$ python -m pip install requests

Requests officially supports Python 3.10+.

Supported Features & Best–Practices

Requests is ready for the demands of building robust and reliable HTTP–speaking 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 dict–like Cookies
  • Automatic Content Decompression and Decoding
  • Multi-part File Uploads
  • SOCKS Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • Automatic honoring of .netrc
  • Chunked HTTP Requests

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 timestamp (see this issue for more background):

git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git

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

git config --global fetch.fsck.badTimezone ignore

Kenneth Reitz Python Software Foundation

Downloads & popularity

49,455,120downloads
1-day window · source-reported counts19 Oct 2026
69.2M34.6M0
2026-07-22: 63,887,474 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-22–2026-07-222026-07-23: 63,803,774 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-23–2026-07-232026-07-24: 60,008,967 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-24–2026-07-242026-07-25: 41,255,326 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-25–2026-07-252026-07-26: 41,643,382 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-26–2026-07-262026-07-27: 63,296,513 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-27–2026-07-272026-07-28: 65,111,252 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-28–2026-07-282026-07-29: 66,301,268 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-29–2026-07-292026-07-30: 65,981,138 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-30–2026-07-302026-07-31: 63,131,025 · observed 2026-10-20T08:14:03.4170991Z · period 2026-07-31–2026-07-312026-08-01: 45,640,678 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-01–2026-08-012026-08-02: 45,350,951 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-02–2026-08-022026-08-03: 65,514,527 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-03–2026-08-032026-08-04: 68,543,806 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-04–2026-08-042026-08-05: 69,247,393 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-05–2026-08-052026-08-06: 63,397,441 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-06–2026-08-062026-08-07: 68,067,305 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-07–2026-08-072026-08-08: 47,943,472 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-08–2026-08-082026-08-09: 46,261,377 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-09–2026-08-092026-08-10: 64,450,094 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-10–2026-08-102026-08-11: 67,796,405 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-11–2026-08-112026-08-12: 69,030,427 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-12–2026-08-122026-08-13: 67,841,412 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-13–2026-08-132026-08-14: 65,526,659 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-14–2026-08-142026-08-15: 47,880,532 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-15–2026-08-152026-08-16: 47,301,828 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-16–2026-08-162026-08-17: 65,492,437 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-17–2026-08-172026-08-18: 68,715,912 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-18–2026-08-182026-08-19: 67,509,820 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-19–2026-08-192026-08-20: 66,409,259 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-20–2026-08-202026-08-21: 65,738,050 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-21–2026-08-212026-08-22: 46,478,126 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-22–2026-08-222026-08-23: 47,693,317 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-23–2026-08-232026-08-24: 59,983,393 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-24–2026-08-242026-08-25: 42,760,091 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-25–2026-08-252026-08-26: 42,186,114 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-26–2026-08-262026-08-27: 40,467,638 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-27–2026-08-272026-08-28: 37,778,309 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-28–2026-08-282026-08-29: 26,954,885 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-29–2026-08-292026-08-30: 26,366,967 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-30–2026-08-302026-08-31: 40,110,552 · observed 2026-10-20T08:14:03.4170991Z · period 2026-08-31–2026-08-312026-09-01: 44,230,687 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-01–2026-09-012026-09-02: 43,596,971 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-02–2026-09-022026-09-03: 43,536,940 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-03–2026-09-032026-09-04: 40,358,182 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-04–2026-09-042026-09-05: 29,062,376 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-05–2026-09-052026-09-06: 27,982,200 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-06–2026-09-062026-09-07: 37,205,284 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-07–2026-09-072026-09-08: 45,699,557 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-08–2026-09-082026-09-09: 44,348,267 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-09–2026-09-092026-09-10: 44,707,096 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-10–2026-09-102026-09-11: 42,125,636 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-11–2026-09-112026-09-12: 28,208,892 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-12–2026-09-122026-09-13: 26,938,808 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-13–2026-09-132026-09-14: 42,029,309 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-14–2026-09-142026-09-15: 45,227,763 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-15–2026-09-152026-09-16: 44,162,501 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-16–2026-09-162026-09-17: 44,367,222 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-17–2026-09-172026-09-18: 43,362,554 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-18–2026-09-182026-09-19: 29,303,825 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-19–2026-09-192026-09-20: 27,389,745 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-20–2026-09-202026-09-21: 42,460,092 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-21–2026-09-212026-09-22: 45,037,324 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-22–2026-09-222026-09-23: 46,167,343 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-23–2026-09-232026-09-24: 46,388,715 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-24–2026-09-242026-09-25: 42,423,222 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-25–2026-09-252026-09-26: 29,116,594 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-26–2026-09-262026-09-27: 29,996,077 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-27–2026-09-272026-09-28: 45,392,792 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-28–2026-09-282026-09-29: 49,349,406 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-29–2026-09-292026-09-30: 49,362,057 · observed 2026-10-20T08:14:03.4170991Z · period 2026-09-30–2026-09-302026-10-01: 49,186,776 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-01–2026-10-012026-10-02: 46,010,544 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-02–2026-10-022026-10-03: 31,921,568 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-03–2026-10-032026-10-04: 31,142,546 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-04–2026-10-042026-10-05: 45,763,581 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-05–2026-10-052026-10-06: 50,777,141 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-06–2026-10-062026-10-07: 49,420,957 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-07–2026-10-072026-10-08: 50,831,095 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-08–2026-10-082026-10-09: 48,758,092 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-09–2026-10-092026-10-10: 32,720,021 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-10–2026-10-102026-10-11: 32,364,605 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-11–2026-10-112026-10-12: 45,752,052 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-12–2026-10-122026-10-13: 51,084,441 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-13–2026-10-132026-10-14: 53,072,054 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-14–2026-10-142026-10-15: 52,653,997 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-15–2026-10-152026-10-16: 49,087,513 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-16–2026-10-162026-10-17: 33,300,160 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-17–2026-10-172026-10-18: 31,914,202 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-18–2026-10-182026-10-19: 49,455,120 · observed 2026-10-20T08:14:03.4170991Z · period 2026-10-19–2026-10-19
22 Jul19 Oct

pypistats · 90 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-19 – 2026-10-1949,455,1202026-10-20T08:14:03.4170991Z
2026-10-18 – 2026-10-1831,914,2022026-10-20T08:14:03.4170991Z
2026-10-17 – 2026-10-1733,300,1602026-10-20T08:14:03.4170991Z
2026-10-16 – 2026-10-1649,087,5132026-10-20T08:14:03.4170991Z
2026-10-15 – 2026-10-1552,653,9972026-10-20T08:14:03.4170991Z
2026-10-14 – 2026-10-1453,072,0542026-10-20T08:14:03.4170991Z
2026-10-13 – 2026-10-1351,084,4412026-10-20T08:14:03.4170991Z
2026-10-12 – 2026-10-1245,752,0522026-10-20T08:14:03.4170991Z
2026-10-11 – 2026-10-1132,364,6052026-10-20T08:14:03.4170991Z
2026-10-10 – 2026-10-1032,720,0212026-10-20T08:14:03.4170991Z
2026-10-09 – 2026-10-0948,758,0922026-10-20T08:14:03.4170991Z
2026-10-08 – 2026-10-0850,831,0952026-10-20T08:14:03.4170991Z
2026-10-07 – 2026-10-0749,420,9572026-10-20T08:14:03.4170991Z
2026-10-06 – 2026-10-0650,777,1412026-10-20T08:14:03.4170991Z
2026-10-05 – 2026-10-0545,763,5812026-10-20T08:14:03.4170991Z
2026-10-04 – 2026-10-0431,142,5462026-10-20T08:14:03.4170991Z
2026-10-03 – 2026-10-0331,921,5682026-10-20T08:14:03.4170991Z
2026-10-02 – 2026-10-0246,010,5442026-10-20T08:14:03.4170991Z
2026-10-01 – 2026-10-0149,186,7762026-10-20T08:14:03.4170991Z
2026-09-30 – 2026-09-3049,362,0572026-10-20T08:14:03.4170991Z
2026-09-29 – 2026-09-2949,349,4062026-10-20T08:14:03.4170991Z
2026-09-28 – 2026-09-2845,392,7922026-10-20T08:14:03.4170991Z
2026-09-27 – 2026-09-2729,996,0772026-10-20T08:14:03.4170991Z
2026-09-26 – 2026-09-2629,116,5942026-10-20T08:14:03.4170991Z
2026-09-25 – 2026-09-2542,423,2222026-10-20T08:14:03.4170991Z
2026-09-24 – 2026-09-2446,388,7152026-10-20T08:14:03.4170991Z
2026-09-23 – 2026-09-2346,167,3432026-10-20T08:14:03.4170991Z
2026-09-22 – 2026-09-2245,037,3242026-10-20T08:14:03.4170991Z
2026-09-21 – 2026-09-2142,460,0922026-10-20T08:14:03.4170991Z
2026-09-20 – 2026-09-2027,389,7452026-10-20T08:14:03.4170991Z
2026-09-19 – 2026-09-1929,303,8252026-10-20T08:14:03.4170991Z
2026-09-18 – 2026-09-1843,362,5542026-10-20T08:14:03.4170991Z
2026-09-17 – 2026-09-1744,367,2222026-10-20T08:14:03.4170991Z
2026-09-16 – 2026-09-1644,162,5012026-10-20T08:14:03.4170991Z
2026-09-15 – 2026-09-1545,227,7632026-10-20T08:14:03.4170991Z
2026-09-14 – 2026-09-1442,029,3092026-10-20T08:14:03.4170991Z
2026-09-13 – 2026-09-1326,938,8082026-10-20T08:14:03.4170991Z
2026-09-12 – 2026-09-1228,208,8922026-10-20T08:14:03.4170991Z
2026-09-11 – 2026-09-1142,125,6362026-10-20T08:14:03.4170991Z
2026-09-10 – 2026-09-1044,707,0962026-10-20T08:14:03.4170991Z
2026-09-09 – 2026-09-0944,348,2672026-10-20T08:14:03.4170991Z
2026-09-08 – 2026-09-0845,699,5572026-10-20T08:14:03.4170991Z
2026-09-07 – 2026-09-0737,205,2842026-10-20T08:14:03.4170991Z
2026-09-06 – 2026-09-0627,982,2002026-10-20T08:14:03.4170991Z
2026-09-05 – 2026-09-0529,062,3762026-10-20T08:14:03.4170991Z
2026-09-04 – 2026-09-0440,358,1822026-10-20T08:14:03.4170991Z
2026-09-03 – 2026-09-0343,536,9402026-10-20T08:14:03.4170991Z
2026-09-02 – 2026-09-0243,596,9712026-10-20T08:14:03.4170991Z
2026-09-01 – 2026-09-0144,230,6872026-10-20T08:14:03.4170991Z
2026-08-31 – 2026-08-3140,110,5522026-10-20T08:14:03.4170991Z
2026-08-30 – 2026-08-3026,366,9672026-10-20T08:14:03.4170991Z
2026-08-29 – 2026-08-2926,954,8852026-10-20T08:14:03.4170991Z
2026-08-28 – 2026-08-2837,778,3092026-10-20T08:14:03.4170991Z
2026-08-27 – 2026-08-2740,467,6382026-10-20T08:14:03.4170991Z
2026-08-26 – 2026-08-2642,186,1142026-10-20T08:14:03.4170991Z
2026-08-25 – 2026-08-2542,760,0912026-10-20T08:14:03.4170991Z
2026-08-24 – 2026-08-2459,983,3932026-10-20T08:14:03.4170991Z
2026-08-23 – 2026-08-2347,693,3172026-10-20T08:14:03.4170991Z
2026-08-22 – 2026-08-2246,478,1262026-10-20T08:14:03.4170991Z
2026-08-21 – 2026-08-2165,738,0502026-10-20T08:14:03.4170991Z
2026-08-20 – 2026-08-2066,409,2592026-10-20T08:14:03.4170991Z
2026-08-19 – 2026-08-1967,509,8202026-10-20T08:14:03.4170991Z
2026-08-18 – 2026-08-1868,715,9122026-10-20T08:14:03.4170991Z
2026-08-17 – 2026-08-1765,492,4372026-10-20T08:14:03.4170991Z
2026-08-16 – 2026-08-1647,301,8282026-10-20T08:14:03.4170991Z
2026-08-15 – 2026-08-1547,880,5322026-10-20T08:14:03.4170991Z
2026-08-14 – 2026-08-1465,526,6592026-10-20T08:14:03.4170991Z
2026-08-13 – 2026-08-1367,841,4122026-10-20T08:14:03.4170991Z
2026-08-12 – 2026-08-1269,030,4272026-10-20T08:14:03.4170991Z
2026-08-11 – 2026-08-1167,796,4052026-10-20T08:14:03.4170991Z
2026-08-10 – 2026-08-1064,450,0942026-10-20T08:14:03.4170991Z
2026-08-09 – 2026-08-0946,261,3772026-10-20T08:14:03.4170991Z
2026-08-08 – 2026-08-0847,943,4722026-10-20T08:14:03.4170991Z
2026-08-07 – 2026-08-0768,067,3052026-10-20T08:14:03.4170991Z
2026-08-06 – 2026-08-0663,397,4412026-10-20T08:14:03.4170991Z
2026-08-05 – 2026-08-0569,247,3932026-10-20T08:14:03.4170991Z
2026-08-04 – 2026-08-0468,543,8062026-10-20T08:14:03.4170991Z
2026-08-03 – 2026-08-0365,514,5272026-10-20T08:14:03.4170991Z
2026-08-02 – 2026-08-0245,350,9512026-10-20T08:14:03.4170991Z
2026-08-01 – 2026-08-0145,640,6782026-10-20T08:14:03.4170991Z
2026-07-31 – 2026-07-3163,131,0252026-10-20T08:14:03.4170991Z
2026-07-30 – 2026-07-3065,981,1382026-10-20T08:14:03.4170991Z
2026-07-29 – 2026-07-2966,301,2682026-10-20T08:14:03.4170991Z
2026-07-28 – 2026-07-2865,111,2522026-10-20T08:14:03.4170991Z
2026-07-27 – 2026-07-2763,296,5132026-10-20T08:14:03.4170991Z
2026-07-26 – 2026-07-2641,643,3822026-10-20T08:14:03.4170991Z
2026-07-25 – 2026-07-2541,255,3262026-10-20T08:14:03.4170991Z
2026-07-24 – 2026-07-2460,008,9672026-10-20T08:14:03.4170991Z
2026-07-23 – 2026-07-2363,803,7742026-10-20T08:14:03.4170991Z
2026-07-22 – 2026-07-2263,887,4742026-10-20T08:14:03.4170991Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.34.214 May 20266

Package advisories

8
PYSEC-2026-1873PyPA

CVE-2024-35195, GHSA-9wx4-h78v-vm56

Source record
PYSEC-2015-17PyPA

CVE-2015-2296, GHSA-pg2w-x9wp-vw92

Source record
PYSEC-2014-14PyPA

CVE-2014-1830, GHSA-652x-xj99-gmcc

Source record
PYSEC-2018-28PyPA

CVE-2018-18074, GHSA-x84v-xcm2-53pg

Source record
PYSEC-2026-2275PyPA

CVE-2026-25645, GHSA-gc5v-m9x4-r6x2

Source record
PYSEC-2026-1872PyPA

CVE-2024-47081, GHSA-9hjg-9r4m-mvj7

Source record
PYSEC-2023-74PyPA

CVE-2023-32681, GHSA-j8r2-6x86-q33q

Source record
PYSEC-2014-13PyPA

CVE-2014-1829, GHSA-cfj3-7x9c-4p3h

Source record

Matched to the package identity. Affected version ranges have not been evaluated.

Repository

ACCESSIBLE
psf/requests

Shared repository data · GitHub

License detected in repository
Apache-2.0
License branch / ref
main
Last push
28 Sept 2026
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

13,255count
Gauge · observed snapshots20 Oct 2026
13.3K6.6K0
2026-10-20: 13,255 · observed 2026-10-20T15:06:42.8524321Z
20 Oct20 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2013,2552026-10-20T15:06:42.8524321Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 08:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e9116d0d88f4aed76eb19e4b2f77d8227195260bb6a802150bee5375295db064