I named the package linmod for "lineage model", but that might be horrible and you might want some other name.
I put some trivial example functions in linmod/__init__.py, example tests in linmod/tests/, and a call to linmod in exploration/linmod_demo.py.
You should be able to access all this with poetry install followed by poetry run pytest. Other handy tools are poetry shell and/or making the virtual environment associated with the project folder in VSCode.
I did this all from scratch by doing poetry init, following the prompts (which makes the toml), then poetry lock (which makes the lockfile), and then making all the function and test files.
linmod
for "lineage model", but that might be horrible and you might want some other name.linmod/__init__.py
, example tests inlinmod/tests/
, and a call tolinmod
inexploration/linmod_demo.py
.poetry install
followed bypoetry run pytest
. Other handy tools arepoetry shell
and/or making the virtual environment associated with the project folder in VSCode.poetry init
, following the prompts (which makes the toml), thenpoetry lock
(which makes the lockfile), and then making all the function and test files.