Простая библиотека для создания HTTP запросов. Скачать можно по ссылке: https://pypi.python.org/pypi/requests/
Requests is a simple, yet elegant, HTTP library.
>>> import requests >>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['content-type'] 'application/json; charset=utf8' >>> r.encoding 'utf-8' >>> r.text '{"authenticated": true, ...' >>> r.json() {'authenticated': True, ...}
Requests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your PUT & POST data — but nowadays, just use the json method!
Requests is one of the most downloaded Python packages today, pulling in around 300M downloads / week — according to GitHub, Requests is currently depended upon by 4,000,000+ repositories.
Requests is available on PyPI:
$ python -m pip install requests
Requests officially supports Python 3.10+.
Supported Features & Best–PracticesRequests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.
dict–like Cookies.netrcWhen cloning the Requests repository, you may need to add the -c fetch.fsck.badTimezone=ignore flag to avoid an error about a bad commit timestamp (see
this issue for more background):
git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git
You can also apply this setting to your global Git config:
git config --global fetch.fsck.badTimezone ignore
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution Built DistributionFilter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Details for the file requests-2.34.2.tar.gz.
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
|
|
| MD5 |
611e438d0803e962500225f9807a475e
|
|
| BLAKE2b-256 |
acc3e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf
|
The following attestation bundles were made for requests-2.34.2.tar.gz:
Details for the file requests-2.34.2-py3-none-any.whl.
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0
|
|
| MD5 |
cc4287951c320ff794e5e183c7a91f85
|
|
| BLAKE2b-256 |
a0f4c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a
|
The following attestation bundles were made for requests-2.34.2-py3-none-any.whl:
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | requests - 2.34.0 | 0 | 16.67 | 11-05-2026 |
| 2 | requests - 2.34.1 | 0 | 16.67 | 13-05-2026 |
| 3 | requests - 2.34.0.dev1 | 0 | 10 | 03-05-2026 |
| 4 | requests - 2.33.1 | 0 | 16.67 | 30-03-2026 |
| 5 | requests - 2.33.0 | 0 | 16.67 | 26-03-2026 |
| 6 | aiohttp - 3.14.3 | 0 | 17.69 | 23-07-2026 |
| 7 | aiohttp - 3.14.0 | 0 | 17.69 | 01-06-2026 |
| 8 | aiohttp - 3.13.4 | 0 | 17.69 | 28-03-2026 |
| 9 | pika - 1.4.2 | 0 | 17.69 | 23-07-2026 |
| 10 | aiohttp - 3.14.1 | 0 | 17.69 | 07-06-2026 |