
aiohttp 3.13.3
Async http client/server framework (asyncio)
The aiohttp Python package is an asynchronous HTTP client/server framework that leverages Python's asyncio library. It supports both client and server sides of the HTTP protocol, as well as client and server websockets. The package provides a web server with middleware support and pluggable routing. This makes it a powerful tool for building efficient, non-blocking web applications in Python. It is highly recommended for projects where concurrent network or HTTP requests are a core requirement, and it is often used in web scraping, API consumption, and web development.
The aio-libs/aiohttp repo was created 12 years ago and the last code push was 8 hours ago.
The project is extremely popular with a mindblowing 16263 github stars!
How to Install aiohttp
You can install aiohttp using pip
pip install aiohttp
or add it to a project with poetry
poetry add aiohttp
Package Details
- Author
- None
- License
- Apache-2.0 AND MIT
- Homepage
- None
- PyPi:
- https://pypi.org/project/aiohttp/
- GitHub Repo:
- https://github.com/aio-libs/aiohttp
Classifiers
- Internet/WWW/HTTP
Related Packages
Errors
A list of common aiohttp errors.
Code Examples
Here are some aiohttp code examples and snippets.
GitHub Issues
The aiohttp package has 278 open issues on GitHub
- Bump setuptools from 80.10.1 to 80.10.2
- Bump multidict from 6.7.0 to 6.7.1
- Bump rich from 14.2.0 to 14.3.1
- Fix flaky import time test for Python 3.12+
- Allow
JSONEncoderto return bytes directly - Allow
dumps: JSONEncodercallable to directly returnbytes - AttributeError: 'NoneType' object has no attribute 'getaddrinfo'
- Bump packaging from 25.0 to 26.0
- Add rate limiting middleware example
- Allow decompression to continue after exceeding max_length
- Bump tomli from 2.3.0 to 2.4.0
- Bump aiodns from 3.6.1 to 4.0.0
- Bump build from 1.3.0 to 1.4.0
- Add benchmark for blocking time reading chunks
- Refactor tests to use create_autospec() for more robust mocking
pythonfix







