Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterding/mugen

Mugen - HTTP for Asynchronous Requests
https://github.com/peterding/mugen

asynchronous http library requests

Last synced: 2 days ago
JSON representation

Mugen - HTTP for Asynchronous Requests

Awesome Lists containing this project

README

        

## Mugen - HTTP for Asynchronous Requests

Mugen is library for http asynchronous requests.

Only running on Python ^3.7

ok, code demo:

```python
import asyncio
import mugen

async def task():
url = 'https://www.google.com'
resp = await mugen.get(url)
print(resp.text)

loop = asyncio.get_event_loop()
loop.run_until_complete(task())
```

See, [Documention](https://peterding.github.io/mugen-docs/).

> Mugen is a name from _Samurai Champloo_ (サムライチャンプル, 混沌武士)

### Feature Support

- Keep-Alive & Connection Pooling
- DNS cache
- Sessions with Cookie Persistence
- Automatic Decompression
- Automatic Content Decoding
- HTTP(S)/SOCKS5 Proxy Support
- Connection Timeouts