Async http client
Project description
aiosonic
Async http client
This project is in alpha state.
There is a performance script in tests folder which shows very nice numbers
» python tests/performance.py
doing tests...
{
"aiohttp": "1000 requests in 576.92 ms",
"requests": "1000 requests in 2219.63 ms",
"aiosonic": "1000 requests in 289.28 ms"
}
aiosonic is 0.99 times faster than aiohttp
aiosonic is 6.67 times faster than requests
Requirements:
- Python>=3.6
Features:
- Keepalive and pool of connections
- Multipart File Uploads
- Chunked responses handling
- Connection Timeouts
TODO
In order
- Automatic Decompression
- International Domains and URLs (idna + cache)
- Sessions with Cookie Persistence
- Basic/Digest Authentication
- Elegant Key/Value Cookies
Development
Install packages with pip-tools:
pip install pip-tools
pip-compile
pip-compile test-requirements.in
pip-sync requirements.txt test-requirements.txt
Contribute
- Fork
- create a branch
feature/your_feature
- commit - push - pull request
Thanks :)
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
aiosonic-0.0.2.tar.gz
(8.1 kB
view hashes)