- Purpose
- Installation
- Usage
- Tests
- Contribution
This application supports tracking personal habits on a regular basis and helps
to keep an overview about habits. Also, it comes with some analysis
of the defined habits, It is a simple solution to create, track and analyse personal habits.
This application was created due as a part of a university project (Data Science) and
focuses on the backend processes in Python.
##Requirements & Installation
###Requirements
- Python 3.8 or higher
- questionary module
- pytest module
###Installation
- Install Python (at least Python 3.8) on your computer (Find the latest version here).
- Install the module
questionary
by typingpip install questionary
into the console. - Install the module
pytest
by enteringpip install pytest
into the console.
The Program is ready to run now
- Download all the documents in folder habit tracker and save in a folder on your computer.
- Start the document
main.py
. - Type in your Terminal
python main.py
. - Follow the instruction on your screen.
- When the program starts, a list of all currently created habits is displayed.
- In the main menu, habits can be created, deleted, changed and incremented.
- In the analysis tool, current streaks and a list of created habits can be viewed.
- The program is not case-sensitive.
- To check a habit, it has to be incremented in the respective time interval (daily / weekly).
- If you forgot to submit a check, it can also be done retrospectively.
The test module pytest
is used to test the most relevant functions of the habit tracker.
Therefore, test cases can be tested typing pytest .
in the Terminal.
For proofing the functionality of the application,
the basic functionalities including the counting
of the current streak are presented in the test_project.py file.
##Contribution
This was my first Python Project. Any improvements or remarks from your side can help me.
Feel free to help me to improve the application or reporting any detected bug. Thank you :)