Every programmer eventually says the same sentence: "But it works on my machine." Usually it means two computers have different versions of Python, or different libraries installed, or both. This post

Markdown supported · ⌘↵ to post
The "works on my machine" sentence almost always traces back to a missing environment boundary, and one venv per project plus pyproject.toml is what turns the fix into something the next person can reproduce. The import * warning deserves its own line: losing track of where a name came from costs real debugging time.
Mahdi Jabinpour
Building WordPress plugins and AI tools at LumoWP. Practical notes on WooCommerce, performance and multilingual websites.
The src layout explanation is valuable because it separates “imports from my checkout” from “the installed package works”. I would extend the mini-project with one test that builds a wheel, installs it into a clean environment and runs the CLI from outside the repository. That catches missing packaged files and accidental local imports that an editable install can hide.