<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>aio-libs - aiohttp</title><link href="/" rel="alternate"/><link href="https://aio-libs.org/feeds/aiohttp.atom.xml" rel="self"/><id>/</id><updated>2026-05-18T00:00:00+00:00</updated><entry><title>Introducing aiohttp</title><link href="/news/2026/introducing-aiohttp/" rel="alternate"/><published>2026-05-18T00:00:00+00:00</published><updated>2026-05-18T00:00:00+00:00</updated><author><name/></author><id>tag:None,2026-05-18:/news/2026/introducing-aiohttp/</id><summary type="html">&lt;p&gt;Most of you reading this already know &lt;a href="/projects/aiohttp/"&gt;aiohttp&lt;/a&gt; as the longest-running asynchronous HTTP client for Python&amp;rsquo;s &lt;a class="external" href="https://docs.python.org/3/library/asyncio.html"&gt;asyncio&lt;/a&gt;.
What is less widely known is that the same package also ships a full-featured web server and framework, available under &lt;code&gt;aiohttp.web&lt;/code&gt;.&lt;/p&gt;</summary><content type="html">&lt;p&gt;Most of you reading this already know &lt;a href="/projects/aiohttp/"&gt;aiohttp&lt;/a&gt; as the longest-running asynchronous HTTP client for Python&amp;rsquo;s &lt;a class="external" href="https://docs.python.org/3/library/asyncio.html"&gt;asyncio&lt;/a&gt;.
What is less widely known is that the same package also ships a full-featured web server and framework, available under &lt;code&gt;aiohttp.web&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;As a &lt;a class="external" href="https://docs.aiohttp.org/en/stable/client.html"&gt;client&lt;/a&gt;, aiohttp offers an ergonomic API for concurrent HTTP and WebSocket traffic, with &lt;a class="external" href="https://docs.aiohttp.org/en/stable/client_advanced.html#client-middleware"&gt;middlewares&lt;/a&gt; to customise request and response processing and &lt;a class="external" href="https://docs.aiohttp.org/en/stable/tracing_reference.html"&gt;tracing hooks&lt;/a&gt; for observability.&lt;/p&gt;
&lt;p&gt;As a &lt;a class="external" href="https://docs.aiohttp.org/en/stable/web.html"&gt;web server and framework&lt;/a&gt;, &lt;code&gt;aiohttp.web&lt;/code&gt; covers what you&amp;rsquo;d expect from a modern framework - WebSockets, middlewares, and an extensive ecosystem of &lt;a class="external" href="https://docs.aiohttp.org/en/stable/third_party.html"&gt;first and third party libraries&lt;/a&gt; extending the core functionality.
Rarer is its optional &lt;a class="external" href="https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation"&gt;handler cancellation&lt;/a&gt; when a client disconnects, sparing long-running handlers from finishing work no one is waiting for.
It has been quietly powering production services for years and is the backbone of Home Assistant.&lt;/p&gt;
&lt;p&gt;Sharing client and server in a single, well-tested dependency keeps things simple when you&amp;rsquo;re building services that both consume and serve HTTP, and aiohttp&amp;rsquo;s focus on performance means you rarely have to reach for something else as traffic grows.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ll be posting more about aiohttp here over time - new releases, deep dives, and behind-the-scenes notes from the maintainers.
If you&amp;rsquo;d like to follow along, subscribe to the &lt;a class="external" href="https://aio-libs.org/feeds/aiohttp.atom.xml"&gt;aiohttp tag feed&lt;/a&gt;.&lt;/p&gt;</content><category term="aio-libs"/><category term="aiohttp"/></entry></feed>