Skip to content

EconForge/dyno.py

Repository files navigation

dyno.py

Setup

Using pixi (production environment)

pixi can be installed on a *nix system using the following command:

curl -fsSL https://pixi.sh/install.sh | sh

We can then run Dyno's web server using:

pixi run solara run t_dyno.py

Using poetry (development environment)

In order to run the development environment (including but not limited to documentation and unit tests), one must first install poetry with the following command:

curl -sSL https://install.python-poetry.org | python3 -

The installation script creates a poetry binary which must be added to PATH as shown in the script output.

We can then install Dyno's dependencies using:

poetry install

Our poetry configuration doesn't allow us to run Dyno's web server as before, but we can run mkdocs:

poetry run mkdocs serve

as well as unit and coverage tests:

poetry run pytest --cov=dyno tests/

Finally, types can be checked with mypy:

poetry run mypy dyno --ignore-missing-imports

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages