python-requests
Port variant v12
Summary Python HTTP for Humans (3.12)
BROKEN
Package version 2.32.3
Homepage https://requests.readthedocs.io
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 11 NOV 2024, 23:28:05 UTC
Port created 21 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.8+. ## 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)
PY312 ON Build using Python 3.12 PY313 OFF Build using Python 3.13
Package Dependencies by Type
Build (only) python312:dev:std
python-pip:single:v12
autoselect-python:single:std
Build and Runtime python312:primary:std
Runtime (only) python-charset-normalizer:single:v12
python-idna:single:v12
python-urllib3:single:v12
python-certifi:single:v12
Download groups
main mirror://PYPIWHL/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54
Distribution File Information
70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6 64928 requests-2.32.3-py3-none-any.whl
Ports that require python-requests:v12
python-Sphinx:v12 Python documentation generator (3.12)
python-coreapi:v12 Python client library for Core API (3.12)
python-django-downloadview:v12 Serve files with Django and reverse-proxies (3.12)
python-e3-core:v12 Adacore testing and building tools (3.12)
python-flex:v12 Swagger Schema validation (3.12)
python-google-i18n-address:v12 Address validation for Google's i18n DB (3.12)
python-kani-fork-pynetbox:v12 NetBox API client library (3.12)
python-mkdocs-material:v12 Documentation that simply works (3.12)
python-napalm:v12 Vendor-agnostic router interaction libary (3.12)
python-nb2an:v12 Netbox to Ansible config comparison tool (3.12)
python-nornir-netbox:v12 Netbox plugin for Nornir (3.12)
python-patchman:v12 Django based patch status monitoring tool (3.12)
python-premailer:v12 Turns CSS blocks into style attributes (3.12)
python-pynetbox:v12 NetBox API client library (3.12)
python-python-netbox:v12 Python NetBox Client (3.12)
python-pywikibot:v12 Python MediaWiki Bot Framework (3.12)
python-requests-cache:v12 Persistent cache for python requests (3.12)
python-requests-oauthlib:v12 Authentication support for Requests (3.12)
python-requests-toolbelt:v12 Utilities collection for Requests (3.12)
python-salt:v12 Remote execution and config mgmt system (3.12)
python-social-auth-core2:v12 Social authentication/registration (3.12)
python-social-auth-core:v12 Python social authentication made simple (3.12)
python-vdirsyncer:v12 Synchronize calendars and contacts (3.12)
python-xml2rfc:v12 Request For Comment authoring with XML (3.12)