Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

requests - 2.34.2

Дата публикации: 14-05-2026 21:35:38

Простая библиотека для создания HTTP запросов. Скачать можно по ссылке: https://pypi.python.org/pypi/requests/

Основное содержимое страницы с новостью.

Version Supported Versions Downloads Contributors Documentation

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.

Installing Requests and Supported Versions

Requests is available on PyPI:

$ python -m pip install requests

Requests officially supports Python 3.10+.

Supported Features & Best–Practices

Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.

  • Keep-Alive & Connection Pooling
  • International Domains and URLs
  • Sessions with Cookie Persistence
  • Browser-style TLS/SSL Verification
  • Basic & Digest Authentication
  • Familiar dict–like Cookies
  • Automatic Content Decompression and Decoding
  • Multi-part File Uploads
  • SOCKS Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • Automatic honoring of .netrc
  • Chunked HTTP Requests
Cloning the repository

When 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

Kenneth Reitz Python Software Foundation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more about wheel file names.

Copy a direct link to the current filters

File details

Details for the file requests-2.34.2.tar.gz.

File metadata
  • Download URL: requests-2.34.2.tar.gz
  • Upload date: May 14, 2026
  • Size: 142.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
Hashes for requests-2.34.2.tar.gz
Algorithm Hash digest
SHA256 f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
MD5 611e438d0803e962500225f9807a475e
BLAKE2b-256 acc3e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for requests-2.34.2.tar.gz:

File details

Details for the file requests-2.34.2-py3-none-any.whl.

File metadata
  • Download URL: requests-2.34.2-py3-none-any.whl
  • Upload date: May 14, 2026
  • Size: 73.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
Hashes for requests-2.34.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0
MD5 cc4287951c320ff794e5e183c7a91f85
BLAKE2b-256 a0f4c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a

See more details on using hashes here.

Provenance

The following attestation bundles were made for requests-2.34.2-py3-none-any.whl:

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1requests - 2.34.0016.6711-05-2026
2requests - 2.34.1016.6713-05-2026
3requests - 2.34.0.dev101003-05-2026
4requests - 2.33.1016.6730-03-2026
5requests - 2.33.0016.6726-03-2026
6aiohttp - 3.14.3017.6923-07-2026
7aiohttp - 3.14.0017.6901-06-2026
8aiohttp - 3.13.4017.6928-03-2026
9pika - 1.4.2017.6923-07-2026
10aiohttp - 3.14.1017.6907-06-2026

Классификация: Наука. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 16.67. Источник: pythondigest.ru.