aiosonic
Async HTTP/WebSocket client
Decision gist · record as of 2026-08-14
Yes. aiosonic is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with low friction. It is well-suited for asyncio applications requiring HTTP or WebSocket communication. Install it if you need a lightweight, type-annotated async HTTP client with HTTP/2 and WebSocket support; skip it if you are not using asyncio or prefer a synchronous HTTP library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 or PyPy 3.11+; designed for asyncio-based applications only.
- Low friction: pure Python wheel with only three runtime dependencies (charset-normalizer, h2, onecache).
- Actively maintained with a release 3 days ago and last commit on 2026-08-11.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 172 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 750,111 downloads/mo, #5,159 on PyPI
Alternatives
Verify before relying
import asyncio
import aiosonic
async def main():
client = aiosonic.HTTPClient()
response = await client.get('https://www.google.com/')
print(response.status_code)
asyncio.run(main())- Performance comparison methodology and conditions for the benchmark results shown in the description.
- Whether HTTP/2 server push silence (ignoring push promise frames) affects real-world use cases.
- Cookie persistence behavior and session management details beyond what the description states.
What it is and what it does
aiosonic is an asyncio-based HTTP and WebSocket client designed for high-performance, low-overhead network communication. It supports HTTP/1.1, HTTP/2 (over HTTPS), and WebSocket protocols, with built-in features like connection pooling, keepalive, automatic decompression, redirect following, and cookie persistence. The library is fully type-annotated and includes multipart file upload support, chunked request/response handling, and per-request timeout configuration.
The package is intended for developers building async Python applications that need efficient HTTP communication without the overhead of heavier frameworks. It can be used directly via HTTPClient for simple requests or extended via BaseClient for wrapping APIs. With three minimal runtime dependencies and a pure Python wheel, it installs with low friction and integrates cleanly into modern asyncio codebases.
Use it for
- Building async web scrapers or API clients that need fast, concurrent HTTP requests with connection reuse.
- Creating WebSocket-based real-time applications requiring bidirectional communication over asyncio.
- Wrapping third-party REST APIs (e.g., GitHub, custom services) with custom response handling via BaseClient.
- Handling large file uploads via multipart forms in async workflows without blocking.
- Implementing HTTP/2 clients for services that require or benefit from multiplexed connections over TLS.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
aiosonic is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with low friction. It is well-suited for asyncio applications requiring HTTP or WebSocket communication. Install it if you need a lightweight, type-annotated async HTTP client with HTTP/2 and WebSocket support; skip it if you are not using asyncio or prefer a synchronous HTTP library.
Install
aiosonic on PyPI
Before you install
Low friction: pure Python wheel with only three runtime dependencies (charset-normalizer, h2, onecache). Actively maintained with a release 3 days ago and last commit on 2026-08-11.
Requires Python >= 3.10 or PyPy 3.11+; designed for asyncio-based applications only.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
import asyncio
import aiosonic
async def main():
client = aiosonic.HTTPClient()
response = await client.get('https://www.google.com/')
print(response.status_code)
asyncio.run(main())
Verify before relying
- Performance comparison methodology and conditions for the benchmark results shown in the description.
- Whether HTTP/2 server push silence (ignoring push promise frames) affects real-world use cases.
- Cookie persistence behavior and session management details beyond what the description states.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescharset-normalizerh2onecache |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 750,111 / month, #5,159 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Networking |
Evidence: aiosonic-1.0.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “asyncio http client”
- aiosonicAn asyncio HTTP/1.1, HTTP/2, and WebSocket client library with…
- aiohttpaiohttp is an async HTTP client and server framework built on…
- python-socksProvides SOCKS4(a), SOCKS5(h), and HTTP CONNECT proxy client…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aresponses · aioapns · aiohttp · geventhttpclient · httpx-ws · httpx2 · uvicorn · agentmail · aioresponses · aioambient