Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/requests-2.25.1.dist-info/METADATA @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
| author | shellac |
|---|---|
| date | Mon, 22 Mar 2021 18:12:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4f3585e2f14b |
|---|---|
| 1 Metadata-Version: 2.1 | |
| 2 Name: requests | |
| 3 Version: 2.25.1 | |
| 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: Documentation, https://requests.readthedocs.io | |
| 10 Project-URL: Source, https://github.com/psf/requests | |
| 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 :: 3.9 | |
| 25 Classifier: Programming Language :: Python :: Implementation :: CPython | |
| 26 Classifier: Programming Language :: Python :: Implementation :: PyPy | |
| 27 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | |
| 28 Description-Content-Type: text/markdown | |
| 29 Requires-Dist: chardet (<5,>=3.0.2) | |
| 30 Requires-Dist: idna (<3,>=2.5) | |
| 31 Requires-Dist: urllib3 (<1.27,>=1.21.1) | |
| 32 Requires-Dist: certifi (>=2017.4.17) | |
| 33 Provides-Extra: security | |
| 34 Requires-Dist: pyOpenSSL (>=0.14) ; extra == 'security' | |
| 35 Requires-Dist: cryptography (>=1.3.4) ; extra == 'security' | |
| 36 Provides-Extra: socks | |
| 37 Requires-Dist: PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks' | |
| 38 Requires-Dist: win-inet-pton ; (sys_platform == "win32" and python_version == "2.7") and extra == 'socks' | |
| 39 | |
| 40 # Requests | |
| 41 | |
| 42 **Requests** is a simple, yet elegant HTTP library. | |
| 43 | |
| 44 ```python | |
| 45 >>> import requests | |
| 46 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) | |
| 47 >>> r.status_code | |
| 48 200 | |
| 49 >>> r.headers['content-type'] | |
| 50 'application/json; charset=utf8' | |
| 51 >>> r.encoding | |
| 52 'utf-8' | |
| 53 >>> r.text | |
| 54 '{"type":"User"...' | |
| 55 >>> r.json() | |
| 56 {'disk_usage': 368627, 'private_gists': 484, ...} | |
| 57 ``` | |
| 58 | |
| 59 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! | |
| 60 | |
| 61 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. | |
| 62 | |
| 63 [](https://pepy.tech/project/requests/month) | |
| 64 [](https://pypi.org/project/requests) | |
| 65 [](https://github.com/psf/requests/graphs/contributors) | |
| 66 | |
| 67 ## Installing Requests and Supported Versions | |
| 68 | |
| 69 Requests is available on PyPI: | |
| 70 | |
| 71 ```console | |
| 72 $ python -m pip install requests | |
| 73 ``` | |
| 74 | |
| 75 Requests officially supports Python 2.7 & 3.5+. | |
| 76 | |
| 77 ## Supported Features & Best–Practices | |
| 78 | |
| 79 Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today. | |
| 80 | |
| 81 - Keep-Alive & Connection Pooling | |
| 82 - International Domains and URLs | |
| 83 - Sessions with Cookie Persistence | |
| 84 - Browser-style TLS/SSL Verification | |
| 85 - Basic & Digest Authentication | |
| 86 - Familiar `dict`–like Cookies | |
| 87 - Automatic Content Decompression and Decoding | |
| 88 - Multi-part File Uploads | |
| 89 - SOCKS Proxy Support | |
| 90 - Connection Timeouts | |
| 91 - Streaming Downloads | |
| 92 - Automatic honoring of `.netrc` | |
| 93 - Chunked HTTP Requests | |
| 94 | |
| 95 ## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io) | |
| 96 | |
| 97 [](https://requests.readthedocs.io) | |
| 98 | |
| 99 --- | |
| 100 | |
| 101 [](https://kennethreitz.org) [](https://www.python.org/psf) | |
| 102 | |
| 103 |
