Habit Tracker is a simple Python application designed to help you track your daily and weekly habits. With this tool, you can create new habits, mark them as completed, view your habits, and monitor your longest streaks.
- Create and manage daily or weekly habits
- Track completion status and dates
- View and analyze habit data in tabular form
- Calculate and display longest streaks
- When entering habit names, ensure they are spelled correctly
- Viewing by periodicities, ensure the habit has the correct periodicity otherwise solution outputs "'habit_name' not found"
- Clone the repository:
git clone https://github.com/JediPriAmo/Habit_tracker_Portfolio.git
- Navigate to the project directory:
cd Habit_tracker_Portfolio
- Install dependencies:
pip install -r requirements.txt
- Open the Anaconda environment.
- Launch the CMD.exe Prompt.
- In the prompt, execute 'jupyter lab'.
- In jupyter lab, select 'New launher' with the blue "+" icon in the toolbar.
- Open the main Jupyter notebook and copy & paste code from "Habit_tracker_script.py" file (Alternatively, you can just drag the file and drop it on the file browser section in jupyter lab).
- Write the directory/ path to the "2new_habit_tracker.db" file in establishing connection to the database at the beginning of the script.
- Run the code cells or execute the script.
- Follow the main menu options.
- Select "View longest streak for ALL habits" for a quick summary of all the predefined habits.
- In anaconda environment, open jupyter lab.
- If you have not done it previously, drag "Habit_tracker_script.py" & "Habittracker_Analytics_unittest.py" to the file browser in jupyter lab.
- Open a new notebook.
- You can copy & paste entire code from "Habittracker_Analytics_unittest.py" and run it in the new notebook or...
- ...you can only input the following in the cell of the new notebook:
%run -i Habittracker_Analytics_unittest.py
If you'd like to contribute to the project, please follow these steps:
- Clone the repisitory:
git clone https://github.com/JediPriAmo/Habit_tracker_Portfolio.git
- Create a new branch:
git checkout -b feature-name
- Make your changes and tests
- Submit Pull Request with comprehensive description of changes
Make sure to update any additional details specific to your project.
This project is licensed under the MIT License.