python-requests
Port variant v11
Summary Python HTTP for Humans (3.11)
Package version 2.31.0
Homepage https://requests.readthedocs.io
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 09 OCT 2023, 04:40:21 UTC
Port created 20 APR 2017, 05:12:41 UTC
Subpackage Descriptions
single # Requests **Requests** is a simple, yet elegant, HTTP library. ```python >>> 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 `30M downloads / week`— according to GitHub, Requests is currently [depended upon] by `1,000,000+` repositories. You may certainly put your trust in this code. [Downloads] [Supported Versions] [Contributors] ## Installing Requests and Supported Versions Requests is available on PyPI: ```console $ python -m pip install requests ``` Requests officially supports Python 3.7+. ## 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 ## API Reference and User Guide available on [Read the Docs] [Read the Docs] ## 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 (see [this issue] for more background): ```shell git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git ``` You can also apply this setting to your global Git config: ```shell git config --global fetch.fsck.badTimezone ignore ``` --- [Kenneth Reitz] [Python Software Foundation]
Configuration Switches (platform-specific settings discarded)
PY311 ON Build using Python 3.11 PY312 OFF Build using Python 3.12
Package Dependencies by Type
Build (only) python-pip:single:v11
autoselect-python:single:standard
Build and Runtime python311:single:standard
Runtime (only) python-charset-normalizer:single:v11
python-idna:single:v11
python-urllib3:single:v11
python-certifi:single:v11
Download groups
main mirror://PYPIWHL/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44
Distribution File Information
58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f 62574 requests-2.31.0-py3-none-any.whl
Ports that require python-requests:v11
python-Sphinx:v11 Python documentation generator (3.11)
python-coreapi:v11 Python client library for Core API (3.11)
python-django-downloadview:v11 Serve files with Django and reverse-proxies (3.11)
python-e3-core:v11 E3 core. Tools and library for building and (3.11)
python-flex:v11 Swagger Schema validation (3.11)
python-google-i18n-address:v11 Address validation for Google's i18n DB (3.11)
python-kani-fork-pynetbox:v11 NetBox API client library (3.11)
python-mkdocs-material:v11 Documentation that simply works (3.11)
python-napalm:v11 Vendor-agnostic router interaction libary (3.11)
python-nb2an:v11 Netbox to Ansible config comparison tool (3.11)
python-nornir-netbox:v11 Netbox plugin for Nornir (3.11)
python-patchman:v11 Django based patch status monitoring tool (3.11)
python-premailer:v11 Turns CSS blocks into style attributes (3.11)
python-pynetbox:v11 NetBox API client library (3.11)
python-python-netbox:v11 Python NetBox Client (3.11)
python-pywikibot:v11 Python MediaWiki Bot Framework (3.11)
python-requests-oauthlib:v11 Authentication support for Requests (3.11)
python-requests-toolbelt:v11 Utilities collection for Requests (3.11)
python-salt:v11 Remote execution and config mgmt system (3.11)
python-social-auth-core2:v11 Social authentication/registration (3.11)
python-social-auth-core:v11 Python social authentication made simple (3.11)
python-vdirsyncer:v11 Synchronize calendars and contacts (3.11)
python-xml2rfc:v11 Request For Comment authoring with XML (3.11)