Simple wrapper for AIOHTTP client session, request and response
Project description
aiocapsule
This is a minimal, single-function package containing an AIOHTTP wrapper designed for high-throughput asynchronous HTTP requests, possibly using HTTP proxy and basic authentication.
Install
pip install aiocapsule
How to use
A simple call returning a JSON as a dictionary:
await send_http_request('GET', 'https://api.coingecko.com/api/v3/ping')
{'gecko_says': '(V3) To the Moon!'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiocapsule-0.0.1.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for aiocapsule-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4013460a3bf31705ee6abe4f2ed0c11099fc68e8ac468b1aa87e794e1ac6d817 |
|
MD5 | 6b6a42bf3859ff6ce9ad636073d5baf7 |
|
BLAKE2b-256 | 6a3fa34adc55eed15a7744701f2aa2e6c6d56877df683af1d9d4d151decb6b87 |