PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
Testing FastAPI with pytest
Covered topics: Installation, TestClient (synchronous), Test database, Tests with fixtures.
Lifespan Events in FastAPI
Lifespan β manage application startup and shutdown (DB initialization, ML models, connection pools).
Background Tasks in FastAPI
BackgroundTasks β execute tasks after the response has been sent to the client.
FastAPI: Basics
FastAPI is a modern Python framework for building APIs. Automatic documentation, type hints, high performance.
Alembic: Database Migrations
Alembic is a migration management tool for SQLAlchemy/SQLModel.
SQLModel CRUD in FastAPI
SQLModel combines SQLAlchemy and Pydantic β a single model for both the database and the API.
OAuth2 Bearer in FastAPI
OAuth2PasswordBearer is FastAPI's Bearer token authentication scheme.
Swagger Documentation in FastAPI
FastAPI automatically generates OpenAPI documentation from your code.
Deploying FastAPI with Docker
This guide runs the FastAPI application and PostgreSQL in separate containers and passes sensitive configuration through environment variables.
Path and Query Parameters in FastAPI
Path parameters identify a specific resource, while query parameters commonly control filtering, sorting, and pagination.
JWT Authentication in FastAPI
Covered topics: Installation, Configuration, Password and Token Utilities, Token Endpoint.
SQLModel: the basics
SQLModel is a library for working with databases in FastAPI, combining SQLAlchemy and Pydantic.
Statistics by categories
Author's article distribution by topics
Django
63 articles
Python
54 articles
Git ΠΈ GitHub
32 articles
Html Css
23 articles
LLM ΠΈ AI
21 articles