PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
Swagger and OpenAPI in FastAPI
FastAPI builds documentation from routes, types, and Pydantic models. /docs is therefore a visual representation of your API contract, not...
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.
Pydantic v2 in FastAPI
FastAPI uses Pydantic for data validation and serialization.
Multi-stage Builds: Shrinking Your Docker Image
A large image means slow downloads, more disk usage, and a bigger attack surface. Multi-stage builds solve all three.
Docker Compose: Advanced Features
A basic docker-compose.yml is just the starting point. Production workloads need healthchecks, profiles, override files, and resource management.
Docker Networking: How Containers Communicate
Containers are isolated, but they often need to talk to each other and to the outside world. Docker handles this...
Environment Variables in Docker
Environment variables are the standard way to configure containers. They let you use a single image across different environments (dev,...
Search in Django
You can start with simple Django ORM filters and move to PostgreSQL features when you need ranked, full-text search.
Swagger Documentation with drf-spectacular
drf-spectacular generates an OpenAPI 3.0 schema and Swagger UI for DRF.
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