Skip to main content

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


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)

Uploaded Source

Built Distribution

aiocapsule-0.0.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

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