You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
5.4 KiB

4 years ago
  1. Metadata-Version: 2.1
  2. Name: requests
  3. Version: 2.20.1
  4. Summary: Python HTTP for Humans.
  5. Home-page: http://python-requests.org
  6. Author: Kenneth Reitz
  7. Author-email: me@kennethreitz.org
  8. License: Apache 2.0
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: Natural Language :: English
  13. Classifier: License :: OSI Approved :: Apache Software License
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 2
  16. Classifier: Programming Language :: Python :: 2.7
  17. Classifier: Programming Language :: Python :: 3
  18. Classifier: Programming Language :: Python :: 3.4
  19. Classifier: Programming Language :: Python :: 3.5
  20. Classifier: Programming Language :: Python :: 3.6
  21. Classifier: Programming Language :: Python :: 3.7
  22. Classifier: Programming Language :: Python :: Implementation :: CPython
  23. Classifier: Programming Language :: Python :: Implementation :: PyPy
  24. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
  25. Description-Content-Type: text/markdown
  26. Requires-Dist: chardet (<3.1.0,>=3.0.2)
  27. Requires-Dist: idna (<2.8,>=2.5)
  28. Requires-Dist: urllib3 (<1.25,>=1.21.1)
  29. Requires-Dist: certifi (>=2017.4.17)
  30. Provides-Extra: security
  31. Requires-Dist: pyOpenSSL (>=0.14); extra == 'security'
  32. Requires-Dist: cryptography (>=1.3.4); extra == 'security'
  33. Requires-Dist: idna (>=2.0.0); extra == 'security'
  34. Provides-Extra: socks
  35. Requires-Dist: PySocks (!=1.5.7,>=1.5.6); extra == 'socks'
  36. Requires-Dist: win-inet-pton; (sys_platform == "win32" and python_version == "2.7") and extra == 'socks'
  37. Requests: HTTP for Humans™
  38. ==========================
  39. [![image](https://img.shields.io/pypi/v/requests.svg)](https://pypi.org/project/requests/)
  40. [![image](https://img.shields.io/pypi/l/requests.svg)](https://pypi.org/project/requests/)
  41. [![image](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests/)
  42. [![codecov.io](https://codecov.io/github/requests/requests/coverage.svg?branch=master)](https://codecov.io/github/requests/requests)
  43. [![image](https://img.shields.io/github/contributors/requests/requests.svg)](https://github.com/requests/requests/graphs/contributors)
  44. [![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/kennethreitz)
  45. **If you're interested in financially supporting Kenneth Reitz open source, consider [visiting this link](https://cash.me/$KennethReitz). Your support helps tremendously with sustainability of motivation, as Open Source is no longer part of my day job.**
  46. Requests is the only *Non-GMO* HTTP library for Python, safe for human
  47. consumption.
  48. ![image](https://farm5.staticflickr.com/4317/35198386374_1939af3de6_k_d.jpg)
  49. Behold, the power of Requests:
  50. ``` {.sourceCode .python}
  51. >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
  52. >>> r.status_code
  53. 200
  54. >>> r.headers['content-type']
  55. 'application/json; charset=utf8'
  56. >>> r.encoding
  57. 'utf-8'
  58. >>> r.text
  59. u'{"type":"User"...'
  60. >>> r.json()
  61. {u'disk_usage': 368627, u'private_gists': 484, ...}
  62. ```
  63. See [the similar code, sans Requests](https://gist.github.com/973705).
  64. [![image](https://raw.githubusercontent.com/requests/requests/master/docs/_static/requests-logo-small.png)](http://docs.python-requests.org/)
  65. Requests allows you to send *organic, grass-fed* HTTP/1.1 requests,
  66. without the need for manual labor. There's no need to manually add query
  67. strings to your URLs, or to form-encode your POST data. Keep-alive and
  68. HTTP connection pooling are 100% automatic, thanks to
  69. [urllib3](https://github.com/shazow/urllib3).
  70. Besides, all the cool kids are doing it. Requests is one of the most
  71. downloaded Python packages of all time, pulling in over 11,000,000
  72. downloads every month. You don't want to be left out!
  73. Feature Support
  74. ---------------
  75. Requests is ready for today's web.
  76. - International Domains and URLs
  77. - Keep-Alive & Connection Pooling
  78. - Sessions with Cookie Persistence
  79. - Browser-style SSL Verification
  80. - Basic/Digest Authentication
  81. - Elegant Key/Value Cookies
  82. - Automatic Decompression
  83. - Automatic Content Decoding
  84. - Unicode Response Bodies
  85. - Multipart File Uploads
  86. - HTTP(S) Proxy Support
  87. - Connection Timeouts
  88. - Streaming Downloads
  89. - `.netrc` Support
  90. - Chunked Requests
  91. Requests officially supports Python 2.7 & 3.4–3.7, and runs great on
  92. PyPy.
  93. Installation
  94. ------------
  95. To install Requests, simply use [pipenv](http://pipenv.org/) (or pip, of
  96. course):
  97. ``` {.sourceCode .bash}
  98. $ pipenv install requests
  99. ✨🍰✨
  100. ```
  101. Satisfaction guaranteed.
  102. Documentation
  103. -------------
  104. Fantastic documentation is available at
  105. <http://docs.python-requests.org/>, for a limited time only.
  106. How to Contribute
  107. -----------------
  108. 1. Check for open issues or open a fresh issue to start a discussion
  109. around a feature idea or a bug. There is a [Contributor
  110. Friendly](https://github.com/requests/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open)
  111. tag for issues that should be ideal for people who are not very
  112. familiar with the codebase yet.
  113. 2. Fork [the repository](https://github.com/requests/requests) on
  114. GitHub to start making your changes to the **master** branch (or
  115. branch off of it).
  116. 3. Write a test which shows that the bug was fixed or that the feature
  117. works as expected.
  118. 4. Send a pull request and bug the maintainer until it gets merged and
  119. published. :) Make sure to add yourself to
  120. [AUTHORS](https://github.com/requests/requests/blob/master/AUTHORS.rst).