index.rst
This file
Path
docs/index.rst
131 lines · 3.3 KiB
Last changed by
Update docs/index.rstKenneth Reitzbefore adoption04ee583
History of this fileTake it
The walk stopped after 200 commits: lines older than 2cc8015 point at it.
Readme update.Kenneth Reitzbefore adoption2cc8015
lines 1–5why, one step back1.. Requests documentation master file, created by2 sphinx-quickstart on Sun Feb 13 23:54:25 2011.3 You can adapt this file completely to your liking, but it should at least4 contain the root `toctree` directive.5Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 6–7why, one step back6Requests: HTTP for Humans7=========================Readme update.Kenneth Reitzbefore adoption2cc8015
line 8why, one step back8Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 9why, one step back9Release v\ |version|. (:ref:`Installation <install>`)Readme update.Kenneth Reitzbefore adoption2cc8015
line 10why, one step back10Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 11–12why, one step back11Requests is an :ref:`ISC Licensed <isc>` HTTP library, written in Python, for human beings.12homepage updateKenneth Reitzbefore adoption76dacaf
lines 13–15why, one step back13Python's standard **urllib2** module provides most of14the HTTP capabilities you need, but the API is thoroughly **broken**.15It was built for a different time — and a different web. It requires an *enormous* amount of work (even method overrides) to perform the simplest of tasks.Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 16–22why, one step back1617Things shouldn’t be this way. Not in Python.1819::2021 >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))22 >>> r.status_codeMerge branch 'develop'Kenneth Reitzbefore adoption81d5997
line 23why, one step back23 204Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 24–25why, one step back24 >>> r.headers['content-type']25 'application/json'Merge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 26–27why, one step back26 >>> r.content27 ...Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 28–30why, one step back2829See `the same code, without Requests <https://gist.github.com/973705>`_.30homepage updateKenneth Reitzbefore adoption76dacaf
line 31why, one step back31Requests takes all of the work out of Python HTTP — making your integration with web services seamless. There's no need to manually add query strings to your URLs, or to form-encode your POST data.Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 32why, one step back32homepage updateKenneth Reitzbefore adoption76dacaf
line 33why, one step back33Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef
lines 34–35why, one step back34Testimonials35------------Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 36why, one step back36homepage updateKenneth Reitzbefore adoption76dacaf
lines 37–38why, one step back37`The Washington Post <http://www.washingtonpost.com/>`_,38`Twitter, Inc <http://twitter.com>`_,Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef
line 39why, one step back39`Readability <http://readability.com>`_, andhomepage updateKenneth Reitzbefore adoption76dacaf
lines 40–41why, one step back40Federal US Institutions41use Requests internally. It has been installed over 45,000 times from PyPi.Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 42why, one step back42Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef
lines 43–46why, one step back43**Armin Ronacher**44 Requests is the perfect example how beautiful an API can be with the45 right level of abstraction.46best testimonial everKenneth Reitzbefore adoption3ea9c53
line 47why, one step back47**Matt DeBoard**Update docs/index.rstKenneth Reitzbefore adoption04ee583
line 48why, one step back48 I'm going to get @kennethreitz's Python requests module tattooedbest testimonial everKenneth Reitzbefore adoption3ea9c53
lines 49–50why, one step back49 on my body, somehow. The whole thing.50Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 51why, one step back51**Daniel Greenfeld**Merge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 52–53why, one step back52 Nuked a 1200 LOC spaghetti code library with 10 lines of code thanks to53 @kennethreitz's request library. Today has been AWESOME.Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 54–55why, one step back5455**Kenny Meyers**Merge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 56–57why, one step back56 Python HTTP: When in doubt, or when not in doubt, use Requests. Beautiful,57 simple, Pythonic.homepage updateKenneth Reitzbefore adoption76dacaf
lines 58–75why, one step back585960Feature Support61---------------6263Requests is ready for today's web.6465- International Domains and URLs66- Keep-Alive & Connection Pooling67- Sessions with Cookie Persistence68- Basic/Digest Authentication69- Elegant Key/Value Cookies70- Automatic Decompression71- Unicode Response Bodies72- Multipart File Uploads73- Connection Timeouts74- Zero Dependencies75Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 76–80why, one step back767778User Guide79----------80Merge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 81–83why, one step back81This part of the documentation, which is mostly prose, begins with some82background information about Requests, then focuses on step-by-step83instructions for getting the most out of Requests.Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 84why, one step back84Readme update.Kenneth Reitzbefore adoption2cc8015
lines 85–87why, one step back85.. toctree::86 :maxdepth: 287Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 88–89why, one step back88 user/intro89 user/installMerge branch 'develop'Kenneth Reitzbefore adoption81d5997
line 90why, one step back90 user/quickstartMerge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 91why, one step back91 user/advancedReadme update.Kenneth Reitzbefore adoption2cc8015
lines 92–93why, one step back9293Merge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 94–103why, one step back94Community Guide95-----------------9697This part of the documentation, which is mostly prose, details the98Requests ecosystem and community.99100.. toctree::101 :maxdepth: 2102103 community/faqMerge branch 'develop' into feature/rewriteKenneth Reitzbefore adoption95336a0
line 104why, one step back104 community/out-there.rstMerge branch 'develop'Kenneth Reitzbefore adoption81d5997
lines 105–107why, one step back105 community/support106 community/updates107Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
lines 108–129why, one step back108API Documentation109-----------------110111If you are looking for information on a specific function, class or method,112this part of the documentation is for you.113114.. toctree::115 :maxdepth: 2116117 api118119120Developer Guide121---------------122123If you want to contribute to the project, this part of the documentation is for124you.125126.. toctree::127 :maxdepth: 2128129 dev/internalsMerge branch 'release/0.5.1'Kenneth Reitzbefore adoption95ba6fc
line 130why, one step back130 dev/todoMerge branch 'develop'Kenneth Reitzbefore adoption81d5997
line 131why, one step back131 dev/authors