Example python project with testing.
To use the package, first make a new conda environment and activate it
conda create -n exampleenv python=3
source activate exampleenv
then run
conda install --yes --file requirements.txt
to install all the dependencies in requirements.txt
. Then the package's
main function (located in example/__main__.py
) can be run as follows
python -m example
Testing is as simple as running
python -m pytest
from the root directory of this project.
Code to plot runtime, variable assignment, and conditional checks can be found in quantifyRuntime.py