async-mgun
HTTP REST Client based on aiohttp with dynamic url building. Useful for microservices non-blocking communication
Quickstart
from mgun import HttpClient
import asyncio
client = HttpClient('https://httpbin.org')
async def request():
resp = await client.anything.api.users[23].address.get({'q': '12'})
print(resp.status) # 200
print(resp.data['url']) # https://httpbin.org/anything/api/users/23/address?q=12
loop = asyncio.get_event_loop()
loop.run_until_complete(asyncio.wait([request()]))
Metadata
Release files for async-mgun 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_mgun-0.1.3-py2-none-any.whl | Python 2 | none | any | Details |
Release files / async_mgun-0.1.3-py2-none-any.whl
| Download URL | async_mgun-0.1.3-py2-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
519f8445cb99c47a08ab409fb7ab903a4681fab7a21592447b38c627ee6a7943
|
|
BLAKE2b-256 checksum How to use checksums |
d74bb9d1076d9f1d5f08929ffb16344fe0a597dac1a39cd7a3fb64fe13aec641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |