Requests (software)

☆ Save On Wikipedia ↗
Requests
Original authorKenneth Reitz
DevelopersCory Benfield, Ian Stapleton Cordasco, Nate Prewitt
Release14 February 2011 (2011-02-14)
Stable release
2.34.2[1] Edit this on Wikidata / 14 May 2026 (14 May 2026)
Written inPython
LicenseApache License 2.0
Websiterequests.readthedocs.io Edit this at Wikidata
Repositorygithub.com/psf/requests

Requests is an HTTP client library for the Python programming language.[2][3]

Requests is one of the most downloaded Python libraries,[2] with over 30 million monthly downloads.[4] It maps the HTTP protocol onto Python's object-oriented semantics. Requests's design has inspired and been copied by HTTP client libraries for other programming languages.[5][6][7][8] It is implemented as a wrapper for urllib3, another third-party Python HTTP library.

Kenneth Reitz, the original author, handed control over to the Python Software Foundation in 2019[9] after being diagnosed with bipolar disorder in 2015.[10]

Features

Requests supports TLS/SSL verification, cookies, compression, SOCKS, timeouts, a variety of request methods, and custom headers.[2][11]

References

  1. "Release 2.34.2". 14 May 2026. Retrieved 15 May 2026.
  2. Project homepage
  3. Beazly, David (April 2012). "R is for replacement" (PDF). Login. 37 (2). Retrieved 16 May 2020.
  4. "requests download stats". PePy. Retrieved 2023-11-08.
  5. "Requests for PHP | Requests for PHP". requests.ryanmccue.info. Retrieved 2023-06-07.
  6. "Tools for Working with URLs and HTTP". httr.r-lib.org. Retrieved 2023-06-07.
  7. Duan, Daniel (2023-06-03), Just, retrieved 2023-06-07
  8. httprb/http, http.rb, 2023-06-06, retrieved 2023-06-07
  9. "Project maintenance · Issue #5149 · psf/requests". GitHub. Retrieved 2023-06-07.
  10. "MentalHealthError: an exception occurred". Kenneth Reitz. Archived from the original on 2023-07-11. Retrieved 2023-06-07.
  11. Python, Real. "Python's Requests Library (Guide) – Real Python". realpython.com. Retrieved 2023-11-08.