METADATA 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Metadata-Version: 2.0
  2. Name: requests
  3. Version: 2.24.0
  4. Summary: Python HTTP for Humans.
  5. Home-page: https://requests.readthedocs.io
  6. Author: Kenneth Reitz
  7. Author-email: me@kennethreitz.org
  8. License: Apache 2.0
  9. Project-URL: Source, https://github.com/psf/requests
  10. Project-URL: Documentation, https://requests.readthedocs.io
  11. Platform: UNKNOWN
  12. Classifier: Development Status :: 5 - Production/Stable
  13. Classifier: Intended Audience :: Developers
  14. Classifier: Natural Language :: English
  15. Classifier: License :: OSI Approved :: Apache Software License
  16. Classifier: Programming Language :: Python
  17. Classifier: Programming Language :: Python :: 2
  18. Classifier: Programming Language :: Python :: 2.7
  19. Classifier: Programming Language :: Python :: 3
  20. Classifier: Programming Language :: Python :: 3.5
  21. Classifier: Programming Language :: Python :: 3.6
  22. Classifier: Programming Language :: Python :: 3.7
  23. Classifier: Programming Language :: Python :: 3.8
  24. Classifier: Programming Language :: Python :: Implementation :: CPython
  25. Classifier: Programming Language :: Python :: Implementation :: PyPy
  26. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
  27. Description-Content-Type: text/markdown
  28. Provides-Extra: security
  29. Provides-Extra: socks
  30. Requires-Dist: chardet (>=3.0.2,<4)
  31. Requires-Dist: idna (>=2.5,<3)
  32. Requires-Dist: urllib3 (!=1.25.1,<1.26,!=1.25.0,>=1.21.1)
  33. Requires-Dist: certifi (>=2017.4.17)
  34. Provides-Extra: security
  35. Requires-Dist: pyOpenSSL (>=0.14); extra == 'security'
  36. Requires-Dist: cryptography (>=1.3.4); extra == 'security'
  37. Provides-Extra: socks
  38. Requires-Dist: PySocks (!=1.5.7,>=1.5.6); extra == 'socks'
  39. Provides-Extra: socks
  40. Requires-Dist: win-inet-pton; sys_platform == "win32" and python_version == "2.7" and extra == 'socks'
  41. <span align="center">
  42. <pre>
  43. <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/requests-logo.png" align="center" /></a>
  44. <div align="left">
  45. <p></p>
  46. <code> Python 3.7.4 (default, Sep 7 2019, 18:27:02)</code>
  47. <code> >>> <strong>import requests</strong></code>
  48. <code> >>> r = requests.get('https://api.github.com/repos/psf/requests')</code>
  49. <code> >>> r.json()["description"]</code>
  50. <code> 'A simple, yet elegant HTTP library.'</code>
  51. </div>
  52. <p>
  53. This software has been designed for you, with much joy,
  54. by <a href="https://kennethreitz.org/">Kenneth Reitz</a> &
  55. is protected by The <a href="https://www.python.org/psf/">Python Software Foundation</a>.
  56. </p>
  57. </pre>
  58. </span>
  59. <p>&nbsp;</p><p>&nbsp;</p>
  60. <p align="center"><strong>Requests</strong> is an elegant and simple HTTP library for Python, built with ♥.</p>
  61. <p>&nbsp;</p>
  62. ```python
  63. >>> import requests
  64. >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
  65. >>> r.status_code
  66. 200
  67. >>> r.headers['content-type']
  68. 'application/json; charset=utf8'
  69. >>> r.encoding
  70. 'utf-8'
  71. >>> r.text
  72. '{"type":"User"...'
  73. >>> r.json()
  74. {'disk_usage': 368627, 'private_gists': 484, ...}
  75. ```
  76. ---------------------------------------------------------------------
  77. <p>&nbsp;</p>
  78. 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!
  79. Requests is one of the most downloaded Python package today, pulling in around `14M downloads / week`— according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `500,000+` repositories. You may certainly put your trust in this code.
  80. <p>&nbsp;</p>
  81. <p align="center"><a href="https://pepy.tech/project/requests" rel="nofollow"><img src="https://camo.githubusercontent.com/e1dedc9f5ce5cd6b6c699f33d2e812daadcf3645/68747470733a2f2f706570792e746563682f62616467652f7265717565737473" alt="Downloads" data-canonical-src="https://pepy.tech/badge/requests" style="max-width:100%;"></a>
  82. <a href="https://pypi.org/project/requests/" rel="nofollow"><img src="https://camo.githubusercontent.com/6d78aeec0a9a1cfe147ad064bfb99069e298e29b/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f72657175657374732e737667" alt="image" data-canonical-src="https://img.shields.io/pypi/pyversions/requests.svg" style="max-width:100%;"></a>
  83. <a href="https://github.com/psf/requests/graphs/contributors"><img src="https://camo.githubusercontent.com/a70ea15870b38bba9203b969f6a6b7e7845fbb8a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f7073662f72657175657374732e737667" alt="image" data-canonical-src="https://img.shields.io/github/contributors/psf/requests.svg" style="max-width:100%;"></a></p>
  84. <p>&nbsp;</p>
  85. <h2 align="center">Supported Features & Best–Practices</h2>
  86. Requests is ready for the demands of building robust and reliable HTTP–speak applications, for the needs of today.
  87. <pre class="test">
  88. + International Domains and URLs + Keep-Alive & Connection Pooling
  89. + Sessions with Cookie Persistence + Browser-style SSL Verification
  90. + Basic & Digest Authentication + Familiar `dict`–like Cookies
  91. + Automatic Decompression of Content + Automatic Content Decoding
  92. + Automatic Connection Pooling + Unicode Response Bodies<super>*</super>
  93. + Multi-part File Uploads + SOCKS Proxy Support
  94. + Connection Timeouts + Streaming Downloads
  95. + Automatic honoring of `.netrc` + Chunked HTTP Requests
  96. &, of course, rock–solid stability!
  97. </pre>
  98. </div>
  99. <p align="center">
  100. ✨ 🍰 ✨&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  101. </p>
  102. <p>&nbsp;</p>
  103. Requests Module Installation
  104. ----------------------------
  105. The recommended way to install the `requests` module is to simply use [`pipenv`](https://pipenv.kennethreitz.org) (or `pip`, of
  106. course):
  107. ```console
  108. $ pipenv install requests
  109. Adding requests to Pipfile's [packages]…
  110. ✔ Installation Succeeded
  111. ```
  112. Requests officially supports Python 2.7 & 3.5+.
  113. -------------------------------------
  114. ## P.S. — Documentation is available at [`requests.readthedocs.io`](https://requests.readthedocs.io/en/latest/).
  115. <p align="center">
  116. <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/ss.png" align="center" /></a>
  117. </p>
  118. ------------------
  119. <p>&nbsp;</p>
  120. <p align="center">
  121. <a href="https://kennethreitz.org/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/kr.png" align="center" /></a>
  122. </p>
  123. <p>&nbsp;</p>
  124. <p align="center">
  125. <a href="https://www.python.org/psf/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/psf.png" align="center" /></a>
  126. </p>