The current design puts all top-level functions in __init__.py. It isn't clear from the wiki how these should be accessed by a user. How about setting up a main.py (or something with a more specific name) that can be run as a script?
python main.py
I'm also bringing this up because everything in the __init__.py is run whenever any functions are imported. Since commit 58cb1785be0230fd5132416dc315a331f6f14316 added the import of model_name to the top of init it has become a little harder to build and test individual functions (need to comment the line out or set set_model_name_with_stdin = False).
The current design puts all top-level functions in
__init__.py
. It isn't clear from the wiki how these should be accessed by a user. How about setting up amain.py
(or something with a more specific name) that can be run as a script?I'm also bringing this up because everything in the
__init__.py
is run whenever any functions are imported. Since commit 58cb1785be0230fd5132416dc315a331f6f14316 added the import ofmodel_name
to the top of init it has become a little harder to build and test individual functions (need to comment the line out or setset_model_name_with_stdin = False
).