You can also make a single file Python package that achieves the same API.<p><a href="https://www.stefaanlippens.net/single-python-module-packaging-hatch.html" rel="nofollow noreferrer">https://www.stefaanlippens.net/single-python-module-packagin...</a> has info on how to do this (not my page, but seems clear)
Funny enough, i'm a new pythonista and I have found this SO frustrating, this solves a lot of problems for me. But i'm wondering, could this be an anti-pattern for large code bases?