Skip to content

Add aiosonic - #3371

Closed
sonic182 wants to merge 1 commit into
vinta:masterfrom
sonic182:add-aiosonic
Closed

sonic182 wants to merge 1 commit into
vinta:masterfrom
sonic182:add-aiosonic

Conversation

@sonic182

@sonic182 sonic182 commented Oct 10, 2026 •

Copy link
Copy Markdown

Project

aiosonic

Checklist

  • I read CONTRIBUTING.md - awesome-python is a shortlist, not a catalog
  • One project per PR
  • PR title format: Add project-name
  • Entry format: - [pypi-name](https://github.com/owner/repo) - Description ending with period.
  • Display name is the PyPI package name
  • Placed in an existing use case (new sections and subcategories are maintainer-only)
  • Meets all Quality Requirements: active, stable, documented, at least 1 month old

Which Tier

  • Obvious choice
  • Challenger

Explain:

aiosonic is a pure-asyncio HTTP client that covers HTTP/1.1, HTTP/2 and WebSocket in a single package, with connection pooling, proxy support, multipart uploads and full type annotations. It has been developed since 2019, released 1.2.0 on 2026-10-10, and is documented at https://aiosonic.readthedocs.io.

It is the HTTP backend of Datadog's official Python API client: datadog-api-client (~18M downloads/month) declares aiosonic>=0.24.0 for its async extra and builds its async REST client on aiosonic.HTTPClient (rest.py).

Disclosure: I am the author. Adoption is modest compared with the current entries (~740k downloads/month on pypistats, 170 GitHub stars), so I'm submitting it as a challenger and leaving the judgment to the maintainer.

Displacement

HTTP Clients → General is at its cap of 5. The section currently lists both httpx and its fork httpx2, which do the same job with the same API. Consolidating those two into one slot would free a place for an async-first alternative; aiosonic is proposed for that slot.

@JinyangWang27

Copy link
Copy Markdown
Collaborator

@sonic182 Thanks for the PR. HTTP Clients › General is at its cap, and a Displacement argument needs to name one entry that aiosonic replaces and does better. Consolidating httpx/httpx2 is a structure decision for the maintainer, not a slot an entry PR can claim. At ~0.7M downloads/month vs. aiohttp's ~469M for the same async-first job, aiosonic isn't an obvious choice here yet. See CONTRIBUTING.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants