$npx skillfedfor your agent

aiohttp-asgi-connector

AIOHTTP Connector for running ASGI applications

With conditionsPyPI TestingReleased Jun 2025120.8K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiohttp_asgi_connector-1.1.2-py3-none-any.whl
v1.1.2 · released 2025-06-22 · Python >=3.8 · 1 runtime deps: aiohttp

Yes, if you're already using AIOHTTP and testing ASGI applications. It's a low-friction, permissive-licensed tool that solves a specific problem well. The aging maintenance status (418 days since last release) is a minor concern for a stable, narrow-scope library, but monitor the repository for responsiveness if you encounter issues.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8+; aiohttp 3.1+ must be installed.
  • ASGI lifespan events are not handled—use asgi-lifespan if you need them.
  • Low friction: pure Python wheel, single runtime dependency on aiohttp.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD 3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restriction, provided you retain the license notice.

last release 2025-06-22 (418 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 120,850 downloads/mo, #12,007 on PyPI

Verify before relying

from aiohttp_asgi_connector import ASGIApplicationConnector
from aiohttp import ClientSession

connector = ASGIApplicationConnector(app)
async with ClientSession(connector=connector) as session:
    resp = await session.get("/")
    data = await resp.json()
  • Whether chunked uploads or compression on the ClientSession are transparently handled or require manual decompression in the ASGI app.
  • Current maintenance responsiveness given the 418-day gap since last release.
Same gist for agents: .md · .json

What it is and what it does

aiohttp-asgi-connector is a custom connector for AIOHTTP's ClientSession that routes HTTP requests directly into ASGI applications without requiring a running web server. It's designed to close the gap between AIOHTTP and HTTPX's testing capabilities, letting you test ASGI apps by making async HTTP calls that bypass the network stack entirely.

The connector replaces AIOHTTP's entire connection and transport layer. You instantiate it with your ASGI app, pass it to ClientSession, and then use the session normally—requests are serialized by AIOHTTP and fed directly to the app. Exceptions raised in the app propagate back to your test code. The main limitation is that if you enable chunking or compression on the ClientSession, your ASGI app must handle decompression itself, since the connector transmits requests exactly as AIOHTTP serializes them.

Use it for

  • Unit testing ASGI endpoints without spinning up a test server.
  • Integration testing ASGI applications in test suites where you want to avoid network overhead.
  • Verifying request/response handling in ASGI middleware without HTTP transport.
  • Debugging ASGI app behavior by inspecting requests and responses in-process during tests.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you're already using AIOHTTP and testing ASGI applications.

It's a low-friction, permissive-licensed tool that solves a specific problem well. The aging maintenance status (418 days since last release) is a minor concern for a stable, narrow-scope library, but monitor the repository for responsiveness if you encounter issues.

Install

aiohttp-asgi-connector on PyPI

Before you install

Low friction: pure Python wheel, single runtime dependency on aiohttp. Maintenance status is aging—last release was 418 days ago—so expect slower response to issues, though the package remains functional for its narrow use case.

Requires Python 3.8+; aiohttp 3.1+ must be installed. ASGI lifespan events are not handled—use asgi-lifespan if you need them.

License in practice

BSD 3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restriction, provided you retain the license notice.

Quickstart

from aiohttp_asgi_connector import ASGIApplicationConnector
from aiohttp import ClientSession

connector = ASGIApplicationConnector(app)
async with ClientSession(connector=connector) as session:
    resp = await session.get("/")
    data = await resp.json()

Verify before relying

  • Whether chunked uploads or compression on the ClientSession are transparently handled or require manual decompression in the ASGI app.
  • Current maintenance responsiveness given the 418-day gap since last release.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
aiohttp
MaintenanceAging 418 days since the last release
First released
Downloads120,850 / month, #12,007 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: aiohttp_asgi_connector-1.1.2-py3-none-any.whl

Tags

Capabilities
aiohttp asgi connectortest asgi apps with aiohttpaiohttp direct asgi testingasgi application connectoraiohttp clientsession asgiasgi testing without serveraiohttp connector testing
Topics
asgi-testingaiohttp-connector
PyPI keywords
fastapiaiohttpasgitestingstarlettehttpxasyncio

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 › “aiohttp asgi connector”

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also asgi-lifespan · starlette-testclient · httpx-aiohttp · async-asgi-testclient · aioresponses · opentelemetry-instrumentation-asgi · hishel · aioprometheus · aiohttp_socks · aiointercept