Files
blog/content/data/works/fastapi.md
2023-10-29 18:15:26 +01:00

988 B

FastAPI implementation under last Python 3.12 with Poetry as package manager.

It's based on pydantic, an essential component that allows proper OpenAPI generation and data validations while bringing advanced type hints.

Main packages involved :

  • Pydantic 2, for any data validation
  • SQLAlchemy 2 with Alembic for schema migration
  • python-jose as JWT implementation
  • Faker as dummy data generator
  • Ruff as extremely fast linter and code formatter written in rust, a perfect drop-in replacement for flake8, isort and black
  • mypy as advanced static analyzer
  • pytest as main test framework