Jump to content

Requests (software): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SPAAAAACE (talk | contribs)
Removed accidental dupe citation (sorry)
SPAAAAACE (talk | contribs)
Actually fixed citations (sorry again)
Line 13: Line 13:
}}
}}


'''Requests''' is an [[HTTP]] client [[software library|library]] for the [[Python (programming language)|Python]] programming language.<ref>[https://requests.readthedocs.io/en/latest/ Project homepage]</ref><ref>{{cite journal |last1=Beazly |first1=David |title=R is for replacement |journal=Login |date=April 2012 |volume=37 |issue=2 |url=https://www.usenix.org/system/files/login/articles/beazley12-04.pdf |accessdate=16 May 2020}}</ref>
'''Requests''' is an [[HTTP]] client [[software library|library]] for the [[Python (programming language)|Python]] programming language.<ref name=":0">[https://requests.readthedocs.io/en/latest/ Project homepage]</ref><ref>{{cite journal |last1=Beazly |first1=David |title=R is for replacement |journal=Login |date=April 2012 |volume=37 |issue=2 |url=https://www.usenix.org/system/files/login/articles/beazley12-04.pdf |accessdate=16 May 2020}}</ref>


Requests is one of the most downloaded Python libraries, with over 300 million monthly downloads.<ref>{{Cite web |title=requests download stats |url=https://www.pepy.tech/projects/requests |access-date=2023-11-08 |website=PePy}}</ref> It maps the HTTP protocol onto Python's [[Object-oriented programming|object-oriented]] [[Semantics (computer science)|semantics]]. Requests's design has inspired and been copied by HTTP client libraries for other programming languages.<ref>{{Cite web |title=Requests for PHP {{!}} Requests for PHP |url=https://requests.ryanmccue.info/ |access-date=2023-06-07 |website=requests.ryanmccue.info}}</ref><ref>{{Cite web |title=Tools for Working with URLs and HTTP |url=https://httr.r-lib.org/ |access-date=2023-06-07 |website=httr.r-lib.org |language=en}}</ref><ref>{{Citation |last=Duan |first=Daniel |title=Just |date=2023-06-03 |url=https://github.com/dduan/Just |access-date=2023-06-07}}</ref><ref>{{Citation |title=httprb/http |date=2023-06-06 |url=https://github.com/httprb/http |access-date=2023-06-07 |publisher=http.rb}}</ref> It is implemented as a wrapper for urllib3, another third-party Python HTTP library.
Requests is one of the most downloaded Python libraries,<ref name=":0" /> with over 300 million monthly downloads.<ref>{{Cite web |title=requests download stats |url=https://www.pepy.tech/projects/requests |access-date=2023-11-08 |website=PePy}}</ref> It maps the HTTP protocol onto Python's [[Object-oriented programming|object-oriented]] [[Semantics (computer science)|semantics]]. Requests's design has inspired and been copied by HTTP client libraries for other programming languages.<ref>{{Cite web |title=Requests for PHP {{!}} Requests for PHP |url=https://requests.ryanmccue.info/ |access-date=2023-06-07 |website=requests.ryanmccue.info}}</ref><ref>{{Cite web |title=Tools for Working with URLs and HTTP |url=https://httr.r-lib.org/ |access-date=2023-06-07 |website=httr.r-lib.org |language=en}}</ref><ref>{{Citation |last=Duan |first=Daniel |title=Just |date=2023-06-03 |url=https://github.com/dduan/Just |access-date=2023-06-07}}</ref><ref>{{Citation |title=httprb/http |date=2023-06-06 |url=https://github.com/httprb/http |access-date=2023-06-07 |publisher=http.rb}}</ref> 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<ref>{{Cite web |title=Project maintainence · Issue #5149 · psf/requests |url=https://github.com/psf/requests/issues/5149 |access-date=2023-06-07 |website=GitHub |language=en}}</ref> after being diagnosed with [[bipolar disorder]] in 2015.<ref>{{Cite web |title=MentalHealthError: an exception occurred. |url=https://kennethreitz.org/essays/2016/02/27/mentalhealtherror-an-exception-occurred |access-date=2023-06-07 |website=Kenneth Reitz |language=en-US}}</ref>
Kenneth Reitz, the original author, handed control over to the [[Python Software Foundation]] in 2019<ref>{{Cite web |title=Project maintainence · Issue #5149 · psf/requests |url=https://github.com/psf/requests/issues/5149 |access-date=2023-06-07 |website=GitHub |language=en}}</ref> after being diagnosed with [[bipolar disorder]] in 2015.<ref>{{Cite web |title=MentalHealthError: an exception occurred. |url=https://kennethreitz.org/essays/2016/02/27/mentalhealtherror-an-exception-occurred |access-date=2023-06-07 |website=Kenneth Reitz |language=en-US}}</ref>


== Features ==
== Features ==
Requests supports [[Transport Layer Security|TLS/SSL]] verification, [[HTTP cookie|cookies]], [[Data compression|compression]], [[SOCKS]], [[Timeout (computing)|timeouts]], a variety of [[Request method|request methods]], and custom [[HTTP header|headers]].<ref name=":0">{{Citation |last=Reitz |first=Kenneth |title=requests: Python HTTP for Humans. |url=https://requests.readthedocs.io/ |access-date=2023-11-08}}</ref><ref>{{Cite web |last=Python |first=Real |title=Python’s Requests Library (Guide) – Real Python |url=https://realpython.com/python-requests/ |access-date=2023-11-08 |website=realpython.com |language=en}}</ref>
Requests supports [[Transport Layer Security|TLS/SSL]] verification, [[HTTP cookie|cookies]], [[Data compression|compression]], [[SOCKS]], [[Timeout (computing)|timeouts]], a variety of [[Request method|request methods]], and custom [[HTTP header|headers]].<ref name=":0" /><ref>{{Cite web |last=Python |first=Real |title=Python’s Requests Library (Guide) – Real Python |url=https://realpython.com/python-requests/ |access-date=2023-11-08 |website=realpython.com |language=en}}</ref>


==References==
==References==

Revision as of 16:30, 8 November 2023

Requests
Original author(s)Kenneth Reitz
Developer(s)Cory Benfield, Ian Stapleton Cordasco, Nate Prewitt
Initial release14 February 2011 (2011-02-14)
Stable release
2.32.3[1] Edit this on Wikidata / 29 May 2024; 4 months ago (29 May 2024)
Repositorygithub.com/psf/requests
Written inPython
LicenseApache License 2.0
Websiterequests.readthedocs.io Edit this at Wikidata

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 300 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.32.3". 29 May 2024. Retrieved 24 June 2024.
  2. ^ a b c 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 maintainence · Issue #5149 · psf/requests". GitHub. Retrieved 2023-06-07.
  10. ^ "MentalHealthError: an exception occurred". Kenneth Reitz. Retrieved 2023-06-07.
  11. ^ Python, Real. "Python's Requests Library (Guide) – Real Python". realpython.com. Retrieved 2023-11-08.