Book: Hexagonal Architecture in Python
Companion code: hexagonal-python-examples — every listing from the book, free on GitHub
My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools
Me: xgabriel.com | GitHub
Your FastAPI service boots faster than it ever has. The readiness probe goes green and the deploy finishes quietly. Ten minutes later the first customer tries to pay, and the payment endpoint returns a 500. The cause is an ImportError for a package that fell out of the lockfile two commits ago. The boot never noticed, because the boot never loaded it.
That is the trade you sign up for with lazy import . PEP 810 shipped in Python 3.15 , released on 9 October 2026 . A lazy import binds a proxy and loads the real module the first time you touch the name. Any load error surfaces at that touch, too. You get the faster startup.…