readme
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kenneth Reitz · committed by Kenneth Reitz · parent dd754d1 · Browse files · 1 file·+110 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+110 added−0 removed
- other:+110 added−0 removed
Provenance
- Commit
4e7e270- Tree
41fde25- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
Kenneth Reitz <me@kennethreitz.org>- Parent
dd754d1
1 file changed+110 added−0 removed
added:README.md+110 added
1+Requests: HTTP for Humans2+=========================3+4+[](https://pypi.org/project/requests/)5+6+[](https://pypi.org/project/requests/)7+8+[](https://pypi.org/project/requests/)9+10+[](https://codecov.io/github/requests/requests)11+12+[](https://github.com/requests/requests/graphs/contributors)13+14+[](https://saythanks.io/to/kennethreitz)15+16+Requests is the only *Non-GMO* HTTP library for Python, safe for human17+consumption.18+19+20+21+Behold, the power of Requests:22+23+``` {.sourceCode .python}24+>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))25+>>> r.status_code26+20027+>>> r.headers['content-type']28+'application/json; charset=utf8'29+>>> r.encoding30+'utf-8'31+>>> r.text32+u'{"type":"User"...'33+>>> r.json()34+{u'disk_usage': 368627, u'private_gists': 484, ...}35+```36+37+See [the similar code, sans Requests](https://gist.github.com/973705).38+39+[](http://docs.python-requests.org/)40+41+Requests allows you to send *organic, grass-fed* HTTP/1.1 requests,42+without the need for manual labor. There's no need to manually add query43+strings to your URLs, or to form-encode your POST data. Keep-alive and44+HTTP connection pooling are 100% automatic, thanks to45+[urllib3](https://github.com/shazow/urllib3).46+47+Besides, all the cool kids are doing it. Requests is one of the most48+downloaded Python packages of all time, pulling in over 11,000,00049+downloads every month. You don't want to be left out!50+51+Feature Support52+---------------53+54+Requests is ready for today's web.55+56+- International Domains and URLs57+- Keep-Alive & Connection Pooling58+- Sessions with Cookie Persistence59+- Browser-style SSL Verification60+- Basic/Digest Authentication61+- Elegant Key/Value Cookies62+- Automatic Decompression63+- Automatic Content Decoding64+- Unicode Response Bodies65+- Multipart File Uploads66+- HTTP(S) Proxy Support67+- Connection Timeouts68+- Streaming Downloads69+- `.netrc` Support70+- Chunked Requests71+72+Requests officially supports Python 2.7 & 3.4–3.7, and runs great on73+PyPy.74+75+Installation76+------------77+78+To install Requests, simply use [pipenv](http://pipenv.org/) (or pip, of79+course):80+81+``` {.sourceCode .bash}82+$ pipenv install requests83+✨🍰✨84+```85+86+Satisfaction guaranteed.87+88+Documentation89+-------------90+91+Fantastic documentation is available at92+<http://docs.python-requests.org/>, for a limited time only.93+94+How to Contribute95+-----------------96+97+1. Check for open issues or open a fresh issue to start a discussion98+ around a feature idea or a bug. There is a [Contributor99+ Friendly](https://github.com/requests/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open)100+ tag for issues that should be ideal for people who are not very101+ familiar with the codebase yet.102+2. Fork [the repository](https://github.com/requests/requests) on103+ GitHub to start making your changes to the **master** branch (or104+ branch off of it).105+3. Write a test which shows that the bug was fixed or that the feature106+ works as expected.107+4. Send a pull request and bug the maintainer until it gets merged and108+ published. :) Make sure to add yourself to109+ [AUTHORS](https://github.com/requests/requests/blob/master/AUTHORS.rst).110+