Skip to main content

async-mgun

https://badge.fury.io/py/async-mgun.svg https://travis-ci.org/maximdanilchenko/async-mgun.svg https://codecov.io/gh/maximdanilchenko/async-mgun/branch/master/graph/badge.svg

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)

Table of built distributions (wheels) for async-mgun 0.1.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page