python-requests
Port variant py39
Summary Python HTTP for Humans (3.9)
Package version 2.28.1
Homepage https://requests.readthedocs.io
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 01 JUL 2022, 21:35:30 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)
PY310 OFF Build using Python 3.10 PY39 ON Build using Python 3.9
Package Dependencies by Type
Build (only) python-pip:single:py39
autoselect-python:single:standard
Build and Runtime python39:single:standard
Runtime (only) python-charset-normalizer:single:py39
python-idna:single:py39
python-urllib3:single:py39
python-certifi:single:py39
Download groups
main mirror://PYPIWHL/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42
Distribution File Information
8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349 62843 requests-2.28.1-py3-none-any.whl
Ports that require python-requests:py39
python-Sphinx:py39 Python documentation generator (3.9)
python-coreapi:py39 Python client library for Core API (3.9)
python-django-downloadview:py39 Serve files with Django and reverse-proxies (3.9)
python-e3-core:py39 E3 core. Tools and library for building and (3.9)
python-flex:py39 Swagger Schema validation (3.9)
python-google-i18n-address:py39 Address validation for Google's i18n DB (3.9)
python-premailer:py39 Turns CSS blocks into style attributes (3.9)
python-requests-oauthlib:py39 Authentication support for Requests (3.9)
python-requests-toolbelt:py39 Utilities collection for Requests (3.9)
python-salt:py39 Remote execution and config mgmt system (3.9)
python-vdirsyncer:py39 Synchronize calendars and contacts (3.9)
python-xml2rfc:py39 Request For Comment authoring with XML (3.9)