Port variant py310
Summary Python HTTP for Humans (3.10)
Package version 2.31.0
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 26 MAY 2023, 03:56:48 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('', 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 ``` 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)
PY310 ON Build using Python 3.10 PY311 OFF Build using Python 3.11
Package Dependencies by Type
Build (only) python-pip:single:py310
Build and Runtime python310:single:standard
Runtime (only) python-charset-normalizer:single:py310
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:py310
python-Sphinx:py310 Python documentation generator (3.10)
python-coreapi:py310 Python client library for Core API (3.10)
python-django-downloadview:py310 Serve files with Django and reverse-proxies (3.10)
python-e3-core:py310 E3 core. Tools and library for building and (3.10)
python-flex:py310 Swagger Schema validation (3.10)
python-google-i18n-address:py310 Address validation for Google's i18n DB (3.10)
python-kani-fork-pynetbox:py310 NetBox API client library (3.10)
python-mkdocs-material:py310 Documentation that simply works (3.10)
python-napalm:py310 Vendor-agnostic router interaction libary (3.10)
python-nb2an:py310 Netbox to Ansible config comparison tool (3.10)
python-nornir-netbox:py310 Netbox plugin for Nornir (3.10)
python-premailer:py310 Turns CSS blocks into style attributes (3.10)
python-pynetbox:py310 NetBox API client library (3.10)
python-python-netbox:py310 Python NetBox Client (3.10)
python-requests-oauthlib:py310 Authentication support for Requests (3.10)
python-requests-toolbelt:py310 Utilities collection for Requests (3.10)
python-salt:py310 Remote execution and config mgmt system (3.10)
python-social-auth-core2:py310 Social authentication/registration (3.10)
python-social-auth-core:py310 Python social authentication made simple (3.10)
python-vdirsyncer:py310 Synchronize calendars and contacts (3.10)
python-xml2rfc:py310 Request For Comment authoring with XML (3.10)