Comparison
aiohttp-asgi-connector vs async-asgi-testclient vs starlette-testclient
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
AIOHTTP Connector for running ASGI applications
Actively maintained. Last release 2 months ago. A safe choice.
$
pip install aiohttp-asgi-connectorAsync client for testing ASGI web applications
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install async-asgi-testclientA backport of Starlette TestClient using requests! ⏪️
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project. It brings a standard-library module to older Pythons: on current versions, use the built-in one.
$
pip install starlette-testclientIn short
- async-asgi-testclient looks abandoned: avoid it for new projects.
- starlette-testclient is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- aiohttp-asgi-connector is the most used: 158.8K downloads a month.
- aiohttp-asgi-connector also has the best Pythie’s Index (72).
- Safe default for a new project: aiohttp-asgi-connector.
Side by side
| Metric | aiohttp-asgi-connector | async-asgi-testclient | starlette-testclient |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | 18 |