METADATA 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Metadata-Version: 2.1
  2. Name: requests
  3. Version: 2.22.0
  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.5
  19. Classifier: Programming Language :: Python :: 3.6
  20. Classifier: Programming Language :: Python :: 3.7
  21. Classifier: Programming Language :: Python :: Implementation :: CPython
  22. Classifier: Programming Language :: Python :: Implementation :: PyPy
  23. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
  24. Description-Content-Type: text/markdown
  25. Requires-Dist: chardet (<3.1.0,>=3.0.2)
  26. Requires-Dist: idna (<2.9,>=2.5)
  27. Requires-Dist: urllib3 (!=1.25.0,!=1.25.1,<1.26,>=1.21.1)
  28. Requires-Dist: certifi (>=2017.4.17)
  29. Provides-Extra: security
  30. Requires-Dist: pyOpenSSL (>=0.14) ; extra == 'security'
  31. Requires-Dist: cryptography (>=1.3.4) ; extra == 'security'
  32. Requires-Dist: idna (>=2.0.0) ; extra == 'security'
  33. Provides-Extra: socks
  34. Requires-Dist: PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'
  35. Requires-Dist: win-inet-pton ; (sys_platform == "win32" and python_version == "2.7") and extra == 'socks'
  36. Requests: HTTP for Humans™
  37. ==========================
  38. [![image](https://img.shields.io/pypi/v/requests.svg)](https://pypi.org/project/requests/)
  39. [![image](https://img.shields.io/pypi/l/requests.svg)](https://pypi.org/project/requests/)
  40. [![image](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests/)
  41. [![codecov.io](https://codecov.io/github/requests/requests/coverage.svg?branch=master)](https://codecov.io/github/requests/requests)
  42. [![image](https://img.shields.io/github/contributors/requests/requests.svg)](https://github.com/requests/requests/graphs/contributors)
  43. [![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/kennethreitz)
  44. Requests is the only *Non-GMO* HTTP library for Python, safe for human
  45. consumption.
  46. ![image](https://farm5.staticflickr.com/4317/35198386374_1939af3de6_k_d.jpg)
  47. Behold, the power of Requests:
  48. ``` {.sourceCode .python}
  49. >>> import requests
  50. >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
  51. >>> r.status_code
  52. 200
  53. >>> r.headers['content-type']
  54. 'application/json; charset=utf8'
  55. >>> r.encoding
  56. 'utf-8'
  57. >>> r.text
  58. u'{"type":"User"...'
  59. >>> r.json()
  60. {u'disk_usage': 368627, u'private_gists': 484, ...}
  61. ```
  62. See [the similar code, sans Requests](https://gist.github.com/973705).
  63. [![image](https://raw.githubusercontent.com/requests/requests/master/docs/_static/requests-logo-small.png)](http://docs.python-requests.org/)
  64. Requests allows you to send *organic, grass-fed* HTTP/1.1 requests,
  65. without the need for manual labor. There's no need to manually add query
  66. strings to your URLs, or to form-encode your POST data. Keep-alive and
  67. HTTP connection pooling are 100% automatic, thanks to
  68. [urllib3](https://github.com/shazow/urllib3).
  69. Besides, all the cool kids are doing it. Requests is one of the most
  70. downloaded Python packages of all time, pulling in over 11,000,000
  71. downloads every month. You don't want to be left out!
  72. Feature Support
  73. ---------------
  74. Requests is ready for today's web.
  75. - International Domains and URLs
  76. - Keep-Alive & Connection Pooling
  77. - Sessions with Cookie Persistence
  78. - Browser-style SSL Verification
  79. - Basic/Digest Authentication
  80. - Elegant Key/Value Cookies
  81. - Automatic Decompression
  82. - Automatic Content Decoding
  83. - Unicode Response Bodies
  84. - Multipart File Uploads
  85. - HTTP(S) Proxy Support
  86. - Connection Timeouts
  87. - Streaming Downloads
  88. - `.netrc` Support
  89. - Chunked Requests
  90. Requests officially supports Python 2.7 & 3.4–3.7, and runs great on
  91. PyPy.
  92. Installation
  93. ------------
  94. To install Requests, simply use [pipenv](http://pipenv.org/) (or pip, of
  95. course):
  96. ``` {.sourceCode .bash}
  97. $ pipenv install requests
  98. ✨🍰✨
  99. ```
  100. Satisfaction guaranteed.
  101. Documentation
  102. -------------
  103. Fantastic documentation is available at
  104. <http://docs.python-requests.org/>, for a limited time only.
  105. How to Contribute
  106. -----------------
  107. 1. Become more familiar with the project by reading our [Contributor's Guide](http://docs.python-requests.org/en/latest/dev/contributing/) and our [development philosophy](http://docs.python-requests.org/en/latest/dev/philosophy/).
  108. 2. 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. 3. 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. 4. Write a test which shows that the bug was fixed or that the feature
  117. works as expected.
  118. 5. 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).