Async http client
Project description
aiosonic
Async http client
This project is in alpha state. Here is some documentation.
There is a performance script in tests folder which shows very nice numbers
» python tests/performance.py
doing tests...
{
"aiohttp": "1000 requests in 577.93 ms",
"requests": "1000 requests in 2231.33 ms",
"aiosonic": "1000 requests in 310.97 ms"
}
aiosonic is 85.85% faster than aiohttp
aiosonic is 617.55% faster than requests
Requirements:
- Python>=3.6
Features:
- Keepalive and pool of connections
- Multipart File Uploads
- Chunked responses handling
- Chunked requests
- Connection Timeouts
- Automatic Decompression
TODO
In order
- International Domains and URLs (idna + cache)
- Requests using a http proxy
- 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.1.0.tar.gz
(9.3 kB
view hashes)
Built Distribution
aiosonic-0.1.0-py3-none-any.whl
(10.9 kB
view hashes)