Technical requirements
In this chapter we will use a number of external packages in addition to the standard Python library to explore database engines, including database connection drivers and a simple object-relational mapper. As usual the source code is available in the relevant chapter folder of the Github repo (https://github.com/PacktPublishing/Asynchronous-Programming-in-Python).
In addition, to run the code for the external database examples you will need to install PostgreSQL (https://podman-desktop.io/tutorial/interacting-with-a-database-server) that runs PostgreSQL and gives you access to it using port 5432. Remember to generate a virtual environment exclusively for the chapter, so that the additional packages do not interfere with other requirements:
$ python3 -m venv .env
$ pip install -r requirements.txt...