Postgre & pgadmin
SQLAlchemy
TO be able to discuss between the api and the database, we use SQLAlchemy, which is a widely used python libarary to do it. Whatever database you will use, you will almost always to create these 3 things in SQLAchemy :
- The Engine,
- the Metadata.
- the Databse,
The Engine
The start of any SQLAlchemy application is an object called the Engine. This object acts as a central source of connections to a particular database, providing both a factory as well as a holding space called a connection pool for these database connections.