{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.com", "bugtrack_url": null, "classifiers": [], "description": "Requests: HTTP for Humans\n=========================\n\n\n.. image:: https://secure.travis-ci.org/kennethreitz/requests.png?branch=develop\n :target: https://secure.travis-ci.org/kennethreitz/requests\n\nRequests is an ISC Licensed HTTP library, written in Python, for human\nbeings.\n\nMost existing Python modules for sending HTTP requests are extremely\nverbose and cumbersome. Python's builtin urllib2 module provides most of\nthe HTTP capabilities you should need, but the api is thoroughly broken.\nIt requires an enormous amount of work (even method overrides) to\nperform the simplest of tasks.\n\nThings shouldn't be this way. Not in Python.\n\n::\n\n >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))\n >>> r.status_code\n 204\n >>> r.headers['content-type']\n 'application/json'\n >>> r.text\n ...\n\nSee `the same code, without Requests `_.\n\nRequests allow you to send HTTP/1.1 requests. You can add headers, form data,\nmultipart files, and parameters with simple Python dictionaries, and access the\nresponse data in the same way. It's powered by httplib and `urllib3\n`_, but it does all the hard work and crazy\nhacks for you.\n\n\nFeatures\n--------\n\n- International Domains and URLs\n- Keep-Alive & Connection Pooling\n- Sessions with Cookie Persistence\n- Browser-style SSL Verification\n- Basic/Digest Authentication\n- Elegant Key/Value Cookies\n- Automatic Decompression\n- Unicode Response Bodies\n- Multipart File Uploads\n- Connection Timeouts\n- Thread-safety\n\n\nInstallation\n------------\n\nTo install requests, simply: ::\n\n $ pip install requests\n\nOr, if you absolutely must: ::\n\n $ easy_install requests\n\nBut, you really shouldn't do that.\n\n\n\nContribute\n----------\n\n#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.\n#. Fork `the repository`_ on Github to start making your changes to the **develop** branch (or branch off of it).\n#. Write a test which shows that the bug was fixed or that the feature works as expected.\n#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.\n\n.. _`the repository`: http://github.com/kennethreitz/requests\n.. _AUTHORS: https://github.com/kennethreitz/requests/blob/develop/AUTHORS.rst\n\n\n.. :changelog:\n\nHistory\n-------\n\n0.13.4 (2012-07-27)\n+++++++++++++++++++\n\n- GSSAPI/Kerberos authentication!\n- App Engine 2.7 Fixes!\n- Fix leaking connections (from urllib3 update)\n- OAuthlib path hack fix\n- OAuthlib URL parameters fix.\n\n0.13.3 (2012-07-12)\n+++++++++++++++++++\n\n- Use simplejson if available.\n- Do not hide SSLErrors behind Timeouts.\n- Fixed param handling with urls containing fragments.\n- Significantly improved information in User Agent.\n- client certificates are ignored when verify=False\n\n0.13.2 (2012-06-28)\n+++++++++++++++++++\n\n- Zero dependencies (once again)!\n- New: Response.reason\n- Sign querystring parameters in OAuth 1.0\n- Client certificates no longer ignored when verify=False\n- Add openSUSE certificate support\n\n0.13.1 (2012-06-07)\n+++++++++++++++++++\n\n- Allow passing a file or file-like object as data.\n- Allow hooks to return responses that indicate errors.\n- Fix Response.text and Response.json for body-less responses.\n\n0.13.0 (2012-05-29)\n+++++++++++++++++++\n\n- Removal of Requests.async in favor of `grequests `_\n- Allow disabling of cookie persistiance.\n- New implimentation of safe_mode\n- cookies.get now supports default argument\n- Session cookies not saved when Session.request is called with return_response=False\n- Env: no_proxy support.\n- RequestsCookieJar improvements.\n- Various bug fixes.\n\n0.12.1 (2012-05-08)\n+++++++++++++++++++\n\n- New ``Response.json`` property.\n- Ability to add string file uploads.\n- Fix out-of-range issue with iter_lines.\n- Fix iter_content default size.\n- Fix POST redirects containing files.\n\n0.12.0 (2012-05-02)\n+++++++++++++++++++\n\n- EXPERIMENTAL OAUTH SUPPORT!\n- Proper CookieJar-backed cookies interface with awesome dict-like interface.\n- Speed fix for non-iterated content chunks.\n- Move ``pre_request`` to a more usable place.\n- New ``pre_send`` hook.\n- Lazily encode data, params, files.\n- Load system Certificate Bundle if ``certify`` isn't available.\n- Cleanups, fixes.\n\n0.11.2 (2012-04-22)\n+++++++++++++++++++\n\n- Attempt to use the OS's certificate bundle if ``certifi`` isn't available.\n- Infinite digest auth redirect fix.\n- Multi-part file upload improvements.\n- Fix decoding of invalid %encodings in URLs.\n- If there is no content in a response don't throw an error the second time that content is attempted to be read.\n- Upload data on redirects.\n\n0.11.1 (2012-03-30)\n+++++++++++++++++++\n\n* POST redirects now break RFC to do what browsers do: Follow up with a GET.\n* New ``strict_mode`` configuration to disable new redirect behavior.\n\n\n0.11.0 (2012-03-14)\n+++++++++++++++++++\n\n* Private SSL Certificate support\n* Remove select.poll from Gevent monkeypatching\n* Remove redundant generator for chunked transfer encoding\n* Fix: Response.ok raises Timeout Exception in safe_mode\n\n0.10.8 (2012-03-09)\n+++++++++++++++++++\n\n* Generate chunked ValueError fix\n* Proxy configuration by environment variables\n* Simplification of iter_lines.\n* New `trust_env` configuration for disabling system/environment hints.\n* Suppress cookie errors.\n\n0.10.7 (2012-03-07)\n+++++++++++++++++++\n\n* `encode_uri` = False\n\n0.10.6 (2012-02-25)\n+++++++++++++++++++\n\n* Allow '=' in cookies.\n\n0.10.5 (2012-02-25)\n+++++++++++++++++++\n\n* Response body with 0 content-length fix.\n* New async.imap.\n* Don't fail on netrc.\n\n\n0.10.4 (2012-02-20)\n+++++++++++++++++++\n\n* Honor netrc.\n\n0.10.3 (2012-02-20)\n+++++++++++++++++++\n\n* HEAD requests don't follow redirects anymore.\n* raise_for_status() doesn't raise for 3xx anymore.\n* Make Session objects picklable.\n* ValueError for invalid schema URLs.\n\n0.10.2 (2012-01-15)\n+++++++++++++++++++\n\n* Vastly improved URL quoting.\n* Additional allowed cookie key values.\n* Attempted fix for \"Too many open files\" Error\n* Replace unicode errors on first pass, no need for second pass.\n* Append '/' to bare-domain urls before query insertion.\n* Exceptions now inherit from RuntimeError.\n* Binary uploads + auth fix.\n* Bugfixes.\n\n\n0.10.1 (2012-01-23)\n+++++++++++++++++++\n\n* PYTHON 3 SUPPORT!\n* Dropped 2.5 Support. (*Backwards Incompatible*)\n\n0.10.0 (2012-01-21)\n+++++++++++++++++++\n\n* ``Response.content`` is now bytes-only. (*Backwards Incompatible*)\n* New ``Response.text`` is unicode-only.\n* If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respoonse.text`` will guess an encoding.\n* Default to ISO-8859-1 (Western) encoding for \"text\" subtypes.\n* Removal of `decode_unicode`. (*Backwards Incompatible*)\n* New multiple-hooks system.\n* New ``Response.register_hook`` for registering hooks within the pipeline.\n* ``Response.url`` is now Unicode.\n\n0.9.3 (2012-01-18)\n++++++++++++++++++\n\n* SSL verify=False bugfix (apparent on windows machines).\n\n0.9.2 (2012-01-18)\n++++++++++++++++++\n\n* Asynchronous async.send method.\n* Support for proper chunk streams with boundaries.\n* session argument for Session classes.\n* Print entire hook tracebacks, not just exception instance.\n* Fix response.iter_lines from pending next line.\n* Fix but in HTTP-digest auth w/ URI having query strings.\n* Fix in Event Hooks section.\n* Urllib3 update.\n\n\n0.9.1 (2012-01-06)\n++++++++++++++++++\n\n* danger_mode for automatic Response.raise_for_status()\n* Response.iter_lines refactor\n\n0.9.0 (2011-12-28)\n++++++++++++++++++\n\n* verify ssl is default.\n\n\n0.8.9 (2011-12-28)\n++++++++++++++++++\n\n* Packaging fix.\n\n\n0.8.8 (2011-12-28)\n++++++++++++++++++\n\n* SSL CERT VERIFICATION!\n* Release of Cerifi: Mozilla's cert list.\n* New 'verify' argument for SSL requests.\n* Urllib3 update.\n\n0.8.7 (2011-12-24)\n++++++++++++++++++\n\n* iter_lines last-line truncation fix\n* Force safe_mode for async requests\n* Handle safe_mode exceptions more consistently\n* Fix iteration on null responses in safe_mode\n\n0.8.6 (2011-12-18)\n++++++++++++++++++\n\n* Socket timeout fixes.\n* Proxy Authorization support.\n\n0.8.5 (2011-12-14)\n++++++++++++++++++\n\n* Response.iter_lines!\n\n0.8.4 (2011-12-11)\n++++++++++++++++++\n\n* Prefetch bugfix.\n* Added license to installed version.\n\n0.8.3 (2011-11-27)\n++++++++++++++++++\n\n* Converted auth system to use simpler callable objects.\n* New session parameter to API methods.\n* Display full URL while logging.\n\n0.8.2 (2011-11-19)\n++++++++++++++++++\n\n* New Unicode decoding system, based on over-ridable `Response.encoding`.\n* Proper URL slash-quote handling.\n* Cookies with ``[``, ``]``, and ``_`` allowed.\n\n0.8.1 (2011-11-15)\n++++++++++++++++++\n\n* URL Request path fix\n* Proxy fix.\n* Timeouts fix.\n\n0.8.0 (2011-11-13)\n++++++++++++++++++\n\n* Keep-alive support!\n* Complete removal of Urllib2\n* Complete removal of Poster\n* Complete removal of CookieJars\n* New ConnectionError raising\n* Safe_mode for error catching\n* prefetch parameter for request methods\n* OPTION method\n* Async pool size throttling\n* File uploads send real names\n* Vendored in urllib3\n\n0.7.6 (2011-11-07)\n++++++++++++++++++\n\n* Digest authentication bugfix (attach query data to path)\n\n0.7.5 (2011-11-04)\n++++++++++++++++++\n\n* Response.content = None if there was an invalid repsonse.\n* Redirection auth handling.\n\n0.7.4 (2011-10-26)\n++++++++++++++++++\n\n* Session Hooks fix.\n\n0.7.3 (2011-10-23)\n++++++++++++++++++\n\n* Digest Auth fix.\n\n\n0.7.2 (2011-10-23)\n++++++++++++++++++\n\n* PATCH Fix.\n\n\n0.7.1 (2011-10-23)\n++++++++++++++++++\n\n* Move away from urllib2 authentication handling.\n* Fully Remove AuthManager, AuthObject, &c.\n* New tuple-based auth system with handler callbacks.\n\n\n0.7.0 (2011-10-22)\n++++++++++++++++++\n\n* Sessions are now the primary interface.\n* Deprecated InvalidMethodException.\n* PATCH fix.\n* New config system (no more global settings).\n\n\n0.6.6 (2011-10-19)\n++++++++++++++++++\n\n* Session parameter bugfix (params merging).\n\n\n0.6.5 (2011-10-18)\n++++++++++++++++++\n\n* Offline (fast) test suite.\n* Session dictionary argument merging.\n\n\n0.6.4 (2011-10-13)\n++++++++++++++++++\n\n* Automatic decoding of unicode, based on HTTP Headers.\n* New ``decode_unicode`` setting.\n* Removal of ``r.read/close`` methods.\n* New ``r.faw`` interface for advanced response usage.*\n* Automatic expansion of parameterized headers.\n\n\n0.6.3 (2011-10-13)\n++++++++++++++++++\n\n* Beautiful ``requests.async`` module, for making async requests w/ gevent.\n\n\n0.6.2 (2011-10-09)\n++++++++++++++++++\n\n* GET/HEAD obeys allow_redirects=False.\n\n\n0.6.1 (2011-08-20)\n++++++++++++++++++\n\n* Enhanced status codes experience ``\\o/``\n* Set a maximum number of redirects (``settings.max_redirects``)\n* Full Unicode URL support\n* Support for protocol-less redirects.\n* Allow for arbitrary request types.\n* Bugfixes\n\n\n0.6.0 (2011-08-17)\n++++++++++++++++++\n\n* New callback hook system\n* New persistient sessions object and context manager\n* Transparent Dict-cookie handling\n* Status code reference object\n* Removed Response.cached\n* Added Response.request\n* All args are kwargs\n* Relative redirect support\n* HTTPError handling improvements\n* Improved https testing\n* Bugfixes\n\n\n0.5.1 (2011-07-23)\n++++++++++++++++++\n\n* International Domain Name Support!\n* Access headers without fetching entire body (``read()``)\n* Use lists as dicts for parameters\n* Add Forced Basic Authentication\n* Forced Basic is default authentication type\n* ``python-requests.org`` default User-Agent header\n* CaseInsensitiveDict lower-case caching\n* Response.history bugfix\n\n\n0.5.0 (2011-06-21)\n++++++++++++++++++\n\n* PATCH Support\n* Support for Proxies\n* HTTPBin Test Suite\n* Redirect Fixes\n* settings.verbose stream writing\n* Querystrings for all methods\n* URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised\n ``r.requests.get('hwe://blah'); r.raise_for_status()``\n\n\n0.4.1 (2011-05-22)\n++++++++++++++++++\n\n* Improved Redirection Handling\n* New 'allow_redirects' param for following non-GET/HEAD Redirects\n* Settings module refactoring\n\n\n0.4.0 (2011-05-15)\n++++++++++++++++++\n\n* Response.history: list of redirected responses\n* Case-Insensitive Header Dictionaries!\n* Unicode URLs\n\n\n0.3.4 (2011-05-14)\n++++++++++++++++++\n\n* Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)\n* Internal Refactor\n* Bytes data upload Bugfix\n\n\n\n0.3.3 (2011-05-12)\n++++++++++++++++++\n\n* Request timeouts\n* Unicode url-encoded data\n* Settings context manager and module\n\n\n0.3.2 (2011-04-15)\n++++++++++++++++++\n\n* Automatic Decompression of GZip Encoded Content\n* AutoAuth Support for Tupled HTTP Auth\n\n\n0.3.1 (2011-04-01)\n++++++++++++++++++\n\n* Cookie Changes\n* Response.read()\n* Poster fix\n\n\n0.3.0 (2011-02-25)\n++++++++++++++++++\n\n* Automatic Authentication API Change\n* Smarter Query URL Parameterization\n* Allow file uploads and POST data together\n* New Authentication Manager System\n - Simpler Basic HTTP System\n - Supports all build-in urllib2 Auths\n - Allows for custom Auth Handlers\n\n\n0.2.4 (2011-02-19)\n++++++++++++++++++\n\n* Python 2.5 Support\n* PyPy-c v1.4 Support\n* Auto-Authentication tests\n* Improved Request object constructor\n\n0.2.3 (2011-02-15)\n++++++++++++++++++\n\n* New HTTPHandling Methods\n - Reponse.__nonzero__ (false if bad HTTP Status)\n - Response.ok (True if expected HTTP Status)\n - Response.error (Logged HTTPError if bad HTTP Status)\n - Reponse.raise_for_status() (Raises stored HTTPError)\n\n\n0.2.2 (2011-02-14)\n++++++++++++++++++\n\n* Still handles request in the event of an HTTPError. (Issue #2)\n* Eventlet and Gevent Monkeypatch support.\n* Cookie Support (Issue #1)\n\n\n0.2.1 (2011-02-14)\n++++++++++++++++++\n\n* Added file attribute to POST and PUT requests for multipart-encode file uploads.\n* Added Request.url attribute for context and redirects\n\n\n0.2.0 (2011-02-14)\n++++++++++++++++++\n\n* Birth!\n\n\n0.0.1 (2011-02-13)\n++++++++++++++++++\n\n* Frustration\n* Conception", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://python-requests.org", "keywords": null, "license": "Copyright (c) 2012 Kenneth Reitz.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "requests_netdna", "package_url": "https://pypi.org/project/requests_netdna/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/requests_netdna/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://python-requests.org" }, "release_url": "https://pypi.org/project/requests_netdna/0.13.6/", "requires_dist": null, "requires_python": null, "summary": "Python HTTP for Humans.", "version": "0.13.6" }, "last_serial": 840119, "releases": { "0.13.5": [ { "comment_text": "", "digests": { "md5": "e8cfac040feafc1a79e898693e0a8998", "sha256": "1204ef96d57134be9feb8eb44a518f2a9fc7e99310b4c0fec61f75a20325fa9a" }, "downloads": -1, "filename": "requests_netdna-0.13.5.tar.gz", "has_sig": false, "md5_digest": "e8cfac040feafc1a79e898693e0a8998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 240816, "upload_time": "2012-08-06T20:14:14", "url": "https://files.pythonhosted.org/packages/d6/97/007c94afb33b692ba0b9c0c93ae0e2fb7e4f2160a15d7cdf0fc3b38723a5/requests_netdna-0.13.5.tar.gz" } ], "0.13.6": [ { "comment_text": "", "digests": { "md5": "7d9feed81a4dbb70688b2efac3e8f726", "sha256": "691c9717474eb5058cedeacc9b39562fd3caee5649b7195356b18ee15a54f7de" }, "downloads": -1, "filename": "requests_netdna-0.13.6.tar.gz", "has_sig": false, "md5_digest": "7d9feed81a4dbb70688b2efac3e8f726", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 240773, "upload_time": "2013-08-14T16:35:35", "url": "https://files.pythonhosted.org/packages/2c/41/da99ec31ab54794c644fd9372da73a39d783dbce7af564428f0356575e08/requests_netdna-0.13.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d9feed81a4dbb70688b2efac3e8f726", "sha256": "691c9717474eb5058cedeacc9b39562fd3caee5649b7195356b18ee15a54f7de" }, "downloads": -1, "filename": "requests_netdna-0.13.6.tar.gz", "has_sig": false, "md5_digest": "7d9feed81a4dbb70688b2efac3e8f726", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 240773, "upload_time": "2013-08-14T16:35:35", "url": "https://files.pythonhosted.org/packages/2c/41/da99ec31ab54794c644fd9372da73a39d783dbce7af564428f0356575e08/requests_netdna-0.13.6.tar.gz" } ] }