python-requests
Port variant py37
Summary Python HTTP for Humans (PY37)
Package version 2.25.0
Homepage https://requests.readthedocs.io
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py38
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 19 NOV 2020, 01:05:06 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://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['content-type'] 'application/json; charset=utf8' >>> r.encoding 'utf-8' >>> r.text '{"type":"User"...' >>> r.json() {'disk_usage': 368627, 'private_gists': 484, ...} ``` 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 package today, pulling in around `14M downloads / week`— according to GitHub, Requests is currently [depended upon] by `500,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 2.7 & 3.5+. ## 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] --- [Kenneth Reitz] [Python Software Foundation]
Configuration Switches (platform-specific settings discarded)
PY37 ON Build using Python 3.7 PY38 OFF Build using Python 3.8
Package Dependencies by Type
Build and Runtime python-chardet:single:py37
python-idna:single:py37
python-urllib3:single:py37
python-certifi:single:py37
python37:single:standard
python-setuptools:single:py37
Download groups
main mirror://PYPI/r/requests
Distribution File Information
7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8 101897 requests-2.25.0.tar.gz
Ports that require python-requests:py37
python-Sphinx:py37 Python documentation generator (PY37)
python-coreapi:py37 Python client library for Core API (PY37)
python-django-downloadview:py37 Serve files with Django and reverse-proxies (PY37)
python-e3-core:py37 E3 core. Tools and library for building and (PY37)
python-flex:py37 Swagger Schema validation (PY37)
python-google-i18n-address:py37 Address validation for Google's i18n DB (PY37)
python-premailer:py37 Turns CSS blocks into style attributes (PY37)
python-requests-oauthlib:py37 Authentication support for Requests (PY37)
python-requests-toolbelt:py37 Utilities collection for Requests (PY37)
python-salt:py37 Remote execution and config mgmt system (PY 37)
python-vdirsyncer:py37 Synchronize calendars and contacts (PY37)
python-xml2rfc:py37 Request For Comment authoring with XML (PY37)