|
Let us walk on the 3-isogeny graph
|
Namespaces | |
| namespace | __version__ |
| namespace | _internal_utils |
| namespace | adapters |
| namespace | api |
| namespace | auth |
| namespace | certs |
| namespace | compat |
| namespace | cookies |
| namespace | exceptions |
| namespace | help |
| namespace | hooks |
| namespace | models |
| namespace | packages |
| namespace | sessions |
| namespace | status_codes |
| namespace | structures |
| namespace | utils |
Functions | |
| check_compatibility (urllib3_version, chardet_version, charset_normalizer_version) | |
| _check_cryptography (cryptography_version) | |
Variables | |
| charset_normalizer_version = None | |
| chardet_version = None | |
| ssl = None | |
| FileModeWarning | |
| append | |
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~
Requests is an HTTP library, written in Python, for human beings.
Basic GET usage:
>>> import requests
>>> r = requests.get('https://www.python.org')
>>> r.status_code
200
>>> b'Python is a programming language' in r.content
True
... or POST:
>>> payload = dict(key1='value1', key2='value2')
>>> r = requests.post('https://httpbin.org/post', data=payload)
>>> print(r.text)
{
...
"form": {
"key1": "value1",
"key2": "value2"
},
...
}
The other HTTP methods are supported - see `requests.api`. Full documentation
is at <https://requests.readthedocs.io>.
:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
|
protected |
Definition at line 86 of file __init__.py.
References pip._vendor.requests.check_compatibility(), and i.

| check_compatibility | ( | urllib3_version, | |
| chardet_version, | |||
| charset_normalizer_version | |||
| ) |
Definition at line 55 of file __init__.py.
References i.
Referenced by pip._vendor.requests._check_cryptography().

| append |
Definition at line 182 of file __init__.py.
Referenced by RequestHooksMixin.register_hook().
| chardet_version = None |
Definition at line 52 of file __init__.py.
| charset_normalizer_version = None |
Definition at line 47 of file __init__.py.
Definition at line 182 of file __init__.py.
| ssl = None |
Definition at line 126 of file __init__.py.