Your Cookiecutter Is Wrong - Python Project Structure Best Practices
EuroPython Conference via YouTube
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn to make informed decisions about Python project structure in this 32-minute conference talk from EuroPython 2025. Explore critical architectural choices including flat versus src layout, test organization, packaging strategies, application entry points, single versus multi-package structures, installation methods, and tool integration with pip, uv, or Poetry. Discover common mistakes in popular Cookiecutter templates and understand why copying existing company projects may not be optimal. Examine the flexibility offered by modern Python tools like uv's multiple project types, pytest's various test layouts and import modes, and mypy's unique import mechanisms. Gain practical guidance for weighing the benefits and drawbacks of different structural approaches to ensure your project choices work harmoniously together, whether you're building libraries or proprietary applications.
Syllabus
Your Cookiecutter Is Wrong — Miloslav Pojman
Taught by
EuroPython Conference