/Conference
upcoming#python#pep#performance#imports#cli

The Bakery: How PEP810 Sped Up My Bread Operations Business

FOSDEM 2026·Brussels, Belgium··30m

A practical demonstration of how PEP 810's explicit lazy imports can dramatically improve Python application startup times, using a real CLI tool as a case study.

SessionSpeaker Profile

This presentation explores how PEP 810's explicit lazy imports can dramatically improve Python application startup times. Using a real CLI tool case study, it demonstrates practical optimization methods while preserving code safety and readability.

Topics Covered

  • Introduction to PEP 810 lazy imports
  • Real-world CLI tool case study
  • Measuring startup time improvements
  • Practical optimization techniques
  • Maintaining code clarity with lazy imports

Key Takeaways

  • How to identify import-heavy code paths
  • Implementing lazy imports in existing projects
  • Balancing performance gains with code readability
  • Tools and techniques for measuring startup performance