An embedded Python DSL for specifying and simulating numerical algorithms.
Important links:
- PyPI package: fpy2
- Documentation: fpy.readthedocs.io
- GitHub: fpy
The recommended way to install FPy is through pip.
FPy can also be installed from source for development.
The following instructions assume a bash-like shell.
Requirements:
- Python 3.11 or later
To install the latest stable release of FPy, run:
pip install fpy2Requirements:
- Python 3.11 or later
make
If you do not have a Python virtual environment, create one using
python3 -m venv .env/and activate it using using
source .env/bin/activateTo install an instance of FPy for development, run:
pip install -e .[dev]or with make, run
make install-devTo uninstall FPy, run:
pip uninstall fpy2There are a number of tests that can be run through
the Makefile including
make lintto ensure formatting and type safety;
make unittestto run the unit tests;
make infratestto run the infrastructure tests.