As the person who has been called being “famous for advocating for the src layout” I endorse this message.

Occasionally I get that suggested by Copilot and I weep for who taught it that.

The whole point of the src directory is to NOT be importable.

https://hachyderm.io/@nedbat/112232430503600269

Ned Batchelder (@[email protected])

Quick #Python packaging tip: if you ever find yourself wanting to type `import src.anything` or `from src import anything`, turn back. `src` should never be part of an import.

Hachyderm.io
@hynek TBH, I never really understood the benefits of the src-based structure... 🤔🤷‍♂️