by patrickkidger · 1y ago · 0 comments
C.f. "the intention here is that only names imported using the form X as X will be exported" from PEP484. [1]
I'm generally a fan of the style of putting all the implementation in private modules (whose names start with an underscore) and then using __init__.py files solely to declare the public API.
That said, the documentation on this matter is close to nonexistent.