HTTP clients for communication between services
Project description
Installation
pip install zimran-http
Usage
from zimran.http import AsyncHttpClient, HttpClient
# async
async with AsyncHttpClient(service='...') as client:
response = await client.get('/endpoint')
# sync
client = HttpClient(service='...')
response = client.get('/endpoint')
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
zimran-http-0.0.1.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for zimran_http-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8410d95cbf38cc806d65fd23a6d66c2810284c25833518c8dc30bffa9b6b851 |
|
MD5 | 5979e2826ea61e011db77c6060e46659 |
|
BLAKE2b-256 | 6b6081bd127eb0dc15f9daac413106d82cca2f32dd2b3734987a04d37a60f06e |