You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should then embrace this convention in the documentation and examples as well.
In #214, it was argued that with this structure, from toponetx import * will clutter the global namespace. I argue that such a statement is discouraged and shouldn't be used by the user in the first place. We can further prevent this misuse by placing an appropriate __all__ variable in the root __init__.py file (see e.g. NumPy).
The text was updated successfully, but these errors were encountered:
Since #215, classes and functions are only available with explicit imports, e.g.:
Following other popular libraries, a structure supporting the following code would be easier, I think:
We should then embrace this convention in the documentation and examples as well.
In #214, it was argued that with this structure,
from toponetx import *
will clutter the global namespace. I argue that such a statement is discouraged and shouldn't be used by the user in the first place. We can further prevent this misuse by placing an appropriate__all__
variable in the root__init__.py
file (see e.g. NumPy).The text was updated successfully, but these errors were encountered: