Installing alembic in FastAPI ; Creating user Model and its migration files with the help of alembic

Using Alembic with SQLAlchemy (which is often used under the hood, even with ORMs like SQLModel) is the standard approach for migrations. Here is a step-by-step guide to installing Alembic, configuring it, defining a User model, and creating your first migration. 1. Project Setup & Installation First, ensure you have a basic FastAPI project structure …

Poetry- Dependency Management Tool

Poetry is a comprehensive dependency management and packaging tool for python projects. It aims to simplify the entire workflow of managing project dependencies, creating virtual environments, and packaging for distribution. Key features and functionalitites of Poetry: Dependency Management: Poetry allows users to declare project dependencies within a pyproject.toml file. It then manages the installation, updating, …