Skip to main content

Automatic aiohttp ClientSession management

Project description

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

1.0.0 (2018-04-09)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiohttp_client_manager-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

aiohttp_client_manager-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file aiohttp_client_manager-1.0.0.tar.gz.

File metadata

File hashes

Hashes for aiohttp_client_manager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b79aab0dfac7e8e01cc72dc4a7157e40e3552fd21b2908bff6dd1c2419626645
MD5 53e8482d745d048406009a46be7e684b
BLAKE2b-256 717a9d9581522be28812ef6353dc9afdd2dc85fcc51d4249c72983f9282e82b8

See more details on using hashes here.

File details

Details for the file aiohttp_client_manager-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiohttp_client_manager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3908b1fd00d5fa689eaf83a727a02881886c67cf024bf159ce5f787cdb5ed134
MD5 986ab1d495db7e2a67b18fbc8ae7044b
BLAKE2b-256 83da4f3ce9adc53b36a34856d121c4fd90d42f7357a5a6bd03fb5aa491883500

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page