Skip to content
Myr

index.rst

This file

Path

docs/index.rst

140 lines · 3.4 KiB

Last changed by

Merge pull request #6642 from nateprewitt/drop_python_37Nate Prewittbefore adoption7a13c04

History of this file

Take it

The walk stopped after 200 commits: lines older than 8c211a9 point at it.

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 1–11why, 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.56Requests: HTTP for Humans™7==========================89Release v\ |version|. (:ref:`Installation <install>`)1011

Fix documentation monthly download badge (#6508)13steinjbefore adoption2ee5b0b

line 12why, one step back
12.. image:: https://static.pepy.tech/badge/requests/month

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

line 13why, one step back
13 :target: https://pepy.tech/project/requests

General doc updates (#5923)Nate Prewittbefore adoption9572d6a

line 14why, one step back
14 :alt: Requests Downloads Per Month Badge

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 15–17why, one step back
15
16.. image:: https://img.shields.io/pypi/l/requests.svg17 :target: https://pypi.org/project/requests/

General doc updates (#5923)Nate Prewittbefore adoption9572d6a

line 18why, one step back
18 :alt: License Badge

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 19–21why, one step back
19
20.. image:: https://img.shields.io/pypi/wheel/requests.svg21 :target: https://pypi.org/project/requests/

General doc updates (#5923)Nate Prewittbefore adoption9572d6a

line 22why, one step back
22 :alt: Wheel Support Badge

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 23–25why, one step back
23
24.. image:: https://img.shields.io/pypi/pyversions/requests.svg25 :target: https://pypi.org/project/requests/

General doc updates (#5923)Nate Prewittbefore adoption9572d6a

line 26why, one step back
26 :alt: Python Version Support Badge

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 27–74why, one step back
27
28**Requests** is an elegant and simple HTTP library for Python, built for human beings.2930-------------------3132**Behold, the power of Requests**::3334 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))35 >>> r.status_code36 20037 >>> r.headers['content-type']38 'application/json; charset=utf8'39 >>> r.encoding40 'utf-8'41 >>> r.text42 '{"type":"User"...'43 >>> r.json()44 {'private_gists': 419, 'total_private_repos': 77, ...}4546See `similar code, sans Requests <https://gist.github.com/973705>`_.474849**Requests** allows you to send HTTP/1.1 requests extremely easily. 50There's no need to manually add query strings to your51URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling52are 100% automatic, thanks to `urllib3 <https://github.com/urllib3/urllib3>`_.5354Beloved Features55----------------5657Requests is ready for today's web.5859- Keep-Alive & Connection Pooling60- International Domains and URLs61- Sessions with Cookie Persistence62- Browser-style SSL Verification63- Automatic Content Decoding64- Basic/Digest Authentication65- Elegant Key/Value Cookies66- Automatic Decompression67- Unicode Response Bodies68- HTTP(S) Proxy Support69- Multipart File Uploads70- Streaming Downloads71- Connection Timeouts72- Chunked Requests73- ``.netrc`` Support74

Merge pull request #6642 from nateprewitt/drop_python_37Nate Prewittbefore adoption7a13c04

line 75why, one step back
75Requests officially supports Python 3.8+, and runs great on PyPy.

Merge pull request #5681 from mateusduboli/5677Ian Stapleton Cordascobefore adoption8c211a9

lines 76–140why, one step back
76
7778The User Guide79--------------8081This 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.8485.. toctree::86 :maxdepth: 28788 user/install89 user/quickstart90 user/advanced91 user/authentication929394The Community Guide95-------------------9697This part of the documentation, which is mostly prose, details the98Requests ecosystem and community.99100.. toctree::101 :maxdepth: 2102103 community/recommended104 community/faq105 community/out-there106 community/support107 community/vulnerabilities108 community/release-process109110.. toctree::111 :maxdepth: 1112113 community/updates114115The API Documentation / Guide116-----------------------------117118If you are looking for information on a specific function, class, or method,119this part of the documentation is for you.120121.. toctree::122 :maxdepth: 2123124 api125126127The Contributor Guide128---------------------129130If you want to contribute to the project, this part of the documentation is for131you.132133.. toctree::134 :maxdepth: 3135136 dev/contributing137 dev/authors138139There are no more guides. You are now guideless.140Good luck.