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 details)
Built Distribution
File details
Details for the file zimran-http-0.0.1.tar.gz
.
File metadata
- Download URL: zimran-http-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03d6a6b5d2ae706ef5d146af5fe39bad05ec7004df85b663c334522553b03d1 |
|
MD5 | d2451e7cc2849d89194e8c6f15c7bc8b |
|
BLAKE2b-256 | fc0a02db7577bacce9a3eb2e1e487b0cf798a3e74c4b9bc90bd2a80df69f91d3 |
File details
Details for the file zimran_http-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: zimran_http-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8410d95cbf38cc806d65fd23a6d66c2810284c25833518c8dc30bffa9b6b851 |
|
MD5 | 5979e2826ea61e011db77c6060e46659 |
|
BLAKE2b-256 | 6b6081bd127eb0dc15f9daac413106d82cca2f32dd2b3734987a04d37a60f06e |