Introduction
A module to automatically manage aiohttp.ClientSession objects for you to improve performance.
The package manages a global cache of aiohttp.ClientSession objects based on the host a particular request is connecting to so connections can be reused between requests.
It also simplifies the API.
Usage
The usage is similar to the python requests library:
import aiohttp_client
async with aiohttp_client.get('http://www.google.com') as resp:
# do something here
Configuration
Uses env variables to configure max number of reqeusts/sessions to manage:
AIOHTTP_SESSION_SIZE: max number of sessions to keep in cache(default 200)
AIOHTTP_SESSION_DNS_CACHE: number of seconds to keep dns lookup in cache(default 20)
AIOHTTP_SESSION_LIMIT: number of simultaneous connections to have per session(default 500)
1.1.2 (2022-10-20)
Change to bsd license
1.1.1 (2020-04-15)
better session connector defaults
1.1.0 (2019-06-06)
update max requests and sessions
Updated setup.py to point to aihttp_client.py
1.0.0 (2018-04-09)
initial release
Metadata
Release files for aiohttp-client-manager 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiohttp_client_manager-1.1.2.tar.gz | 3.7 kB | Without provenance | Details for aiohttp_client_manager-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiohttp_client_manager-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for aiohttp_client_manager-1.1.2-py3-none-any.whl |
Total release size: 7.4 kB
Release files / aiohttp_client_manager-1.1.2.tar.gz
| Download URL | aiohttp_client_manager-1.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42d9ac92b336869faaadf12d62a6fccc55518812261a085d7a4b8aa8e5ba7e9c
|
|
BLAKE2b-256 checksum How to use checksums |
9d7470413826cdd6f06d6db32d2b517e962bf7be68166005fcccbf763ee30451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
|
Release files / aiohttp_client_manager-1.1.2-py3-none-any.whl
| Download URL | aiohttp_client_manager-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f6bad6d44e62e73b241173ec7f3af5f72e7d87c1f74550ee80fd1290051e6a0
|
|
BLAKE2b-256 checksum How to use checksums |
52bc1ed29bf07363354fb73e0a8623b3a77ecd15868611e880b8170f2b40e8ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
|
Security for aiohttp-client-manager 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.