Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than 2cc8015 point at it.

Readme update.Kenneth Reitzbefore adoption2cc8015

lines 1–5why, one step back
1.. Requests documentation master file, created by
2 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.5

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 6–7why, one step back
6Requests: HTTP for Humans
7=========================

Readme update.Kenneth Reitzbefore adoption2cc8015

line 8why, one step back
8

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

line 9why, one step back
9Release v\ |version|. (:ref:`Installation <install>`)

Readme update.Kenneth Reitzbefore adoption2cc8015

line 10why, one step back
10

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 11–12why, one step back
11Requests is an :ref:`ISC Licensed <isc>` HTTP library, written in Python, for human beings.
12

homepage updateKenneth Reitzbefore adoption76dacaf

lines 13–15why, one step back
13Python's standard **urllib2** module provides most of
14the 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 back
16
17Things shouldn’t be this way. Not in Python.1819::2021 >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))22 >>> r.status_code

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

line 23why, one step back
23 204

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 24–25why, one step back
24 >>> r.headers['content-type']
25 'application/json'

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 26–27why, one step back
26 >>> r.content
27 ...

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 28–30why, one step back
28
29See `the same code, without Requests <https://gist.github.com/973705>`_.30

homepage updateKenneth Reitzbefore adoption76dacaf

line 31why, one step back
31Requests 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 back
32

homepage updateKenneth Reitzbefore adoption76dacaf

line 33why, one step back
33

Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef

lines 34–35why, one step back
34Testimonials
35------------

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

line 36why, one step back
36

homepage updateKenneth Reitzbefore adoption76dacaf

lines 37–38why, one step back
37`The Washington Post <http://www.washingtonpost.com/>`_,
38`Twitter, Inc <http://twitter.com>`_,

Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef

line 39why, one step back
39`Readability <http://readability.com>`_, and

homepage updateKenneth Reitzbefore adoption76dacaf

lines 40–41why, one step back
40Federal US Institutions
41use 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 back
42

Migrate new docs over.Kenneth Reitzbefore adoption4a7fdef

lines 43–46why, one step back
43**Armin Ronacher**
44 Requests is the perfect example how beautiful an API can be with the45 right level of abstraction.46

best testimonial everKenneth Reitzbefore adoption3ea9c53

line 47why, one step back
47**Matt DeBoard**

Update docs/index.rstKenneth Reitzbefore adoption04ee583

line 48why, one step back
48 I'm going to get @kennethreitz's Python requests module tattooed

best testimonial everKenneth Reitzbefore adoption3ea9c53

lines 49–50why, one step back
49 on my body, somehow. The whole thing.
50

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

line 51why, one step back
51**Daniel Greenfeld**

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 52–53why, one step back
52 Nuked a 1200 LOC spaghetti code library with 10 lines of code thanks to
53 @kennethreitz's request library. Today has been AWESOME.

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 54–55why, one step back
54
55**Kenny Meyers**

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 56–57why, one step back
56 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 back
58
5960Feature 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 Dependencies75

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 76–80why, one step back
76
7778User Guide79----------80

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 81–83why, one step back
81This part of the documentation, which is mostly prose, begins with some
82background 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 back
84

Readme update.Kenneth Reitzbefore adoption2cc8015

lines 85–87why, one step back
85.. toctree::
86 :maxdepth: 287

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 88–89why, one step back
88 user/intro
89 user/install

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

line 90why, one step back
90 user/quickstart

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

line 91why, one step back
91 user/advanced

Readme update.Kenneth Reitzbefore adoption2cc8015

lines 92–93why, one step back
92
93

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 94–103why, one step back
94Community Guide
95-----------------9697This part of the documentation, which is mostly prose, details the98Requests ecosystem and community.99100.. toctree::101 :maxdepth: 2102103 community/faq

Merge branch 'develop' into feature/rewriteKenneth Reitzbefore adoption95336a0

line 104why, one step back
104 community/out-there.rst

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

lines 105–107why, one step back
105 community/support
106 community/updates107

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

lines 108–129why, one step back
108API Documentation
109-----------------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/internals

Merge branch 'release/0.5.1'Kenneth Reitzbefore adoption95ba6fc

line 130why, one step back
130 dev/todo

Merge branch 'develop'Kenneth Reitzbefore adoption81d5997

line 131why, one step back
131 dev/authors