Home / Python API / Chapter 2

Chapter 2: Dependencies

Jan 19, 2025
2 of 11

For this project, we’ll need just a few dependencies:

uv add sqlmodel "fastapi[standard]" psycopg2-binary

The standard extra includes the FastAPI CLI and Uvicorn for our async HTTP server, while psycopg2-binary handles PostgreSQL connections through SQLModel.