Contents

aiohttp 3.10.10

0

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.

Stars: 15054, Watchers: 15054, Forks: 2007, Open Issues: 271

The aio-libs/aiohttp repo was created 11 years ago and the last code push was 21 hours ago.
The project is extremely popular with a mindblowing 15054 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
Homepage
https://github.com/aio-libs/aiohttp
PyPi:
https://pypi.org/project/aiohttp/
GitHub Repo:
https://github.com/aio-libs/aiohttp

Classifiers

  • Internet/WWW/HTTP
No  aiohttp  pypi packages just yet.

Errors

A list of common aiohttp errors.

Code Examples

Here are some aiohttp code examples and snippets.

GitHub Issues

The aiohttp package has 271 open issues on GitHub

  • Bump multidict from 5.2.0 to 6.0.1
  • Bump multidict from 5.2.0 to 6.0.1
  • Start rechecking types on tests
  • Connectionerror when using manual proxy config
  • Add aioredis for type checking examples
  • Minor fix
  • Cleanup after dropping Python 3.6
  • Remove overlapping slots and fix broken slots inheritance
  • Bump proxy-py from 2.4.0rc6 to 2.4.0rc7
  • Bump proxy-py from 2.4.0rc6 to 2.4.0rc7
  • Added an argument to TraceConfig that can be set to a constant.
  • [PR #6536/21aff1f8 backport][3.8] Fix missing AttributeError
  • [PR #6539/6681a460 backport][3.9] Recover missing import in circular import test
  • [PR #6539/6681a460 backport][3.8] Recover missing import in circular import test
  • Add HTTP method validation

See more issues on GitHub

Related Packages & Articles

starlette 0.39.2

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, ideal for building asynchronous web services in Python. It is production-ready and offers a range of features including HTTP web framework, WebSocket support, in-process background tasks, startup and shutdown events, and a test client built on HTTPX. Starlette also supports CORS, GZIP, static files, streaming responses, and session and cookie support. It is compatible with asyncio and trio backends and boasts great overall performance against independent benchmarks. The package can be used as a complete framework or as an ASGI toolkit, allowing for the use of any of its components independently. It requires Python 3.8+ and an ASGI server such as uvicorn, daphne, or hypercorn for operation.

sniffio 1.3.1

Sniff out which async library your code is running under

idna_ssl 1.1.0

Patch ssl.match_hostname for Unicode(idna) domains support

uvloop 0.20.0

Fast implementation of asyncio event loop on top of libuv