Mugen is library for http asynchronous requests
Project description
### Mugen: HTTP for Asynchronous Requests
Mugen is library for http asynchronous requests.
Only run on python 3.4.0+
ok, code demo:
```python
import asyncio
import mugen
@asyncio.coroutine
def task():
url = 'http://www.google.com'
resp = yield from mugen.get(url)
print(resp.text)
if __name__ == '__main__':
loop = asyncio.get_event_loop()
loop.run_until_complete(task())
```
> Mugen is a name from *Samurai Champloo* (サムライチャンプル, 混沌武士)
## Feature Support
- Keep-Alive & Connection Pooling
- Sessions with Cookie Persistence
- Automatic Decompression
- Automatic Content Decoding
- HTTP Proxy Support
Mugen is library for http asynchronous requests.
Only run on python 3.4.0+
ok, code demo:
```python
import asyncio
import mugen
@asyncio.coroutine
def task():
url = 'http://www.google.com'
resp = yield from mugen.get(url)
print(resp.text)
if __name__ == '__main__':
loop = asyncio.get_event_loop()
loop.run_until_complete(task())
```
> Mugen is a name from *Samurai Champloo* (サムライチャンプル, 混沌武士)
## Feature Support
- Keep-Alive & Connection Pooling
- Sessions with Cookie Persistence
- Automatic Decompression
- Automatic Content Decoding
- HTTP Proxy Support
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
mugen-0.1.0.tar.gz
(8.0 kB
view hashes)