Usage of __all__ in __init__.py

IIRC, exports in Javascript are necessary so that imports work. That’s different in Python, of course.

I also never use wildcard imports.
Still, I find the idea appealing to define my public API in __all__.

So, my question becomes:
Is it safe to assume that __all__ can be used to declare the public API of a package?

I read @steven.daprano 's answer as a yes.