- Make sure python env is
3.7
- For Develop and test
- run
pip install requirements-dev.txt
- run
- For Run only
- run
pip install requirements.txt
- run
- To Run:
- execute
python main.py --file example.csv
- enter origin value
eg. What station are you getting on the train?:A
- enter destination value
eg. What station are you getting off the train?:B
- then you get the result
eg. Your trip from A to B include 0 stopsand will take 5 minutes.
- execute
- To Test:
- execute
pytest
- then you get the result
eg. 6 passed in 0.05s
- execute