Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/peterding/mugen
- Owner: PeterDing
- License: other
- Created: 2016-10-03T15:17:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-11T13:56:21.000Z (11 months ago)
- Last Synced: 2024-10-14T03:18:43.865Z (about 1 month ago)
- Topics: asynchronous, http, library, requests
- Language: Python
- Size: 123 KB
- Stars: 19
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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 mugenasync 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