Skip to main content

Async http client

Project description

Build Status Coverage Status PyPI version

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 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
  • Connection Timeouts
  • Automatic Decompression

TODO

In order

  • 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

  1. Fork
  2. create a branch feature/your_feature
  3. commit - push - pull request

Thanks :)

Project details


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.4.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

aiosonic-0.0.4-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page