| OLD | NEW |
| 1 Metadata-Version: 2.0 |
| 2 Name: requests |
| 3 Version: 2.10.0 |
| 4 Summary: Python HTTP for Humans. |
| 5 Home-page: http://python-requests.org |
| 6 Author: Kenneth Reitz |
| 7 Author-email: me@kennethreitz.com |
| 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.6 |
| 16 Classifier: Programming Language :: Python :: 2.7 |
| 17 Classifier: Programming Language :: Python :: 3 |
| 18 Classifier: Programming Language :: Python :: 3.3 |
| 19 Classifier: Programming Language :: Python :: 3.4 |
| 20 Classifier: Programming Language :: Python :: 3.5 |
| 21 Classifier: Programming Language :: Python :: Implementation :: CPython |
| 22 Classifier: Programming Language :: Python :: Implementation :: PyPy |
| 23 Provides-Extra: security |
| 24 Requires-Dist: ndg-httpsclient; extra == 'security' |
| 25 Requires-Dist: pyOpenSSL (>=0.13); extra == 'security' |
| 26 Requires-Dist: pyasn1; extra == 'security' |
| 27 Provides-Extra: socks |
| 28 Requires-Dist: PySocks (>=1.5.6); extra == 'socks' |
| 29 |
| 30 Requests: HTTP for Humans |
| 31 ========================= |
| 32 |
| 33 .. image:: https://img.shields.io/pypi/v/requests.svg |
| 34 :target: https://pypi.python.org/pypi/requests |
| 35 |
| 36 .. image:: https://img.shields.io/pypi/dm/requests.svg |
| 37 :target: https://pypi.python.org/pypi/requests |
| 38 |
| 39 Requests is the only *Non-GMO* HTTP library for Python, safe for human |
| 40 consumption. |
| 41 |
| 42 **Warning:** Recreational use of other HTTP libraries may result in dangerous si
de-effects, |
| 43 including: security vulnerabilities, verbose code, reinventing the wheel, |
| 44 constantly reading documentation, depression, headaches, or even death. |
| 45 |
| 46 Behold, the power of Requests: |
| 47 |
| 48 .. code-block:: python |
| 49 |
| 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 |
| 64 Requests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the |
| 65 need for manual labor. There's no need to manually add query strings to your |
| 66 URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling |
| 67 are 100% automatic, powered by `urllib3 <https://github.com/shazow/urllib3>`_, |
| 68 which is embedded within Requests. |
| 69 |
| 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 7,000,000 downloads |
| 72 every month. You don't want to be left out! |
| 73 |
| 74 Feature Support |
| 75 --------------- |
| 76 |
| 77 Requests is ready for today's web. |
| 78 |
| 79 - International Domains and URLs |
| 80 - Keep-Alive & Connection Pooling |
| 81 - Sessions with Cookie Persistence |
| 82 - Browser-style SSL Verification |
| 83 - Basic/Digest Authentication |
| 84 - Elegant Key/Value Cookies |
| 85 - Automatic Decompression |
| 86 - Automatic Content Decoding |
| 87 - Unicode Response Bodies |
| 88 - Multipart File Uploads |
| 89 - HTTP(S) Proxy Support |
| 90 - Connection Timeouts |
| 91 - Streaming Downloads |
| 92 - ``.netrc`` Support |
| 93 - Chunked Requests |
| 94 - Thread-safety |
| 95 |
| 96 Requests supports Python 2.6 — 3.5, and runs great on PyPy. |
| 97 |
| 98 Installation |
| 99 ------------ |
| 100 |
| 101 To install Requests, simply: |
| 102 |
| 103 .. code-block:: bash |
| 104 |
| 105 $ pip install requests |
| 106 ✨🍰✨ |
| 107 |
| 108 Satisfaction, guaranteed. |
| 109 |
| 110 Documentation |
| 111 ------------- |
| 112 |
| 113 Fantastic documentation is available at http://docs.python-requests.org/, for a
limited time only. |
| 114 |
| 115 |
| 116 How to Contribute |
| 117 ----------------- |
| 118 |
| 119 #. Check for open issues or open a fresh issue to start a discussion around a fe
ature idea or a bug. There is a `Contributor Friendly`_ tag for issues that shou
ld be ideal for people who are not very familiar with the codebase yet. |
| 120 #. Fork `the repository`_ on GitHub to start making your changes to the **master
** branch (or branch off of it). |
| 121 #. Write a test which shows that the bug was fixed or that the feature works as
expected. |
| 122 #. Send a pull request and bug the maintainer until it gets merged and published
. :) Make sure to add yourself to AUTHORS_. |
| 123 |
| 124 .. _`the repository`: http://github.com/kennethreitz/requests |
| 125 .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst |
| 126 .. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direct
ion=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open |
| 127 |
| 128 |
| 1 .. :changelog: | 129 .. :changelog: |
| 2 | 130 |
| 3 Release History | 131 Release History |
| 4 --------------- | 132 --------------- |
| 5 | 133 |
| 6 2.10.0 (04-29-2016) | 134 2.10.0 (04-29-2016) |
| 7 +++++++++++++++++++ | 135 +++++++++++++++++++ |
| 8 | 136 |
| 9 **New Features** | 137 **New Features** |
| 10 | 138 |
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 | 1275 |
| 1148 * Birth! | 1276 * Birth! |
| 1149 | 1277 |
| 1150 | 1278 |
| 1151 0.0.1 (2011-02-13) | 1279 0.0.1 (2011-02-13) |
| 1152 ++++++++++++++++++ | 1280 ++++++++++++++++++ |
| 1153 | 1281 |
| 1154 * Frustration | 1282 * Frustration |
| 1155 * Conception | 1283 * Conception |
| 1156 | 1284 |
| 1285 |
| 1286 |
| OLD | NEW |