- Hands-On Reactive Programming with Python
- Romain Picard
- 100字
- 2025-04-04 16:05:20
aiohttp
The AsyncIO library does not contain an HTTP stack. In this example, as well as throughout this whole book, the aiohttp package will be used. The aiohttp package is a complete implementation of the HTTP 1.x protocol with the support of web sockets. It can be used to implement clients and servers. This is a great package to implement HTTP microservices. Its installation is very easy with pip:
(venv-rx)$ pip3 install aiohttp
Ensure that the package installation is done within virtualenv. Read Chapter 1, An Introduction to Reactive Programming, for more information on how to use virtualenv.