Source: ScienceDirect Article
git clone https://github.com/geometric-intelligence/pirnns.git
cd pirnnsThis project uses Poetry to manage dependencies.
- Install Poetry (if you don't have it already):
curl -sSL https://install.python-poetry.org | python3 -- Make sure that Poetry is accessible in your PATH. For example, add the following to your
.zshrcfile:
export PATH="~/.local/bin:$PATH"- Check that Poetry is installed correctly:
poetry --version- Install dependencies
poetry install- Install the poetry shell plugin
poetry self add poetry-plugin-shell- Activate the virtual environment
poetry shellpython my_script.pyblack .
ruff check --fix .
mypy .
pytest .