Skip to content

Python Cookbooks

Use this section for Python implementation recipes. Each recipe should solve one concrete engineering task.

Available recipes:

Suggested recipe groups:

  • API services with FastAPI
  • Data access patterns with MongoDB and Redis
  • Background jobs with Dramatiq and Celery
  • Testing patterns with pytest
  • Packaging and deployment workflows

Writing pattern for each recipe:

  • Problem statement
  • Constraints and assumptions
  • Step by step implementation
  • Verification checklist
  • Common failure cases