I used python 3.8.2 to run my project. I used type hinting within my project so it will only work with python 3 atleast.
-
#1 Clone the project:
git clone https://github.com/WarrenU/datacapture.git -
#2 Change to the directory of the project:
cd datacapture -
#3 Make a python virtual environment
python3 -m venv /venv -
#4 Activate the virtual environment
. /venv/bin/activateNote: when done with looking at the project, remember to deactive your virtual environment:deactive -
#5 In your terminal (in your datacapture directory), run:
python main.pyorpython3 main.py -
#6 Edit
main.pyIf you want to try out other data points, or add to thesrc/tests.pyfile to add more testing criteria. (I have one test case for a dataset of numbers, 1 to 1000.
To run the testing suite, call:
python3 -m unittest src/tests.py
or alternatively:
python3 -m unittest src.tests