Repository navigation
Baby Tracker Application
Overview
The Baby Tracker Application is a comprehensive tool designed to assist parents in monitoring and managing the feeding schedules of their twins. This application is built using Python and Flask, featuring a keyboard listener (TallyCode.py) that captures feeding events and a web interface (app.py) for easy tracking and visualization.
Features
- Event Logging: Utilizes a keyboard listener to log feeding events for each twin, allowing for real-time data capture.
- Web Interface: A Flask-based web application that provides a dashboard to view feeding schedules, durations, and intervals.
- Twin Management: Separate tracking for each twin to monitor their feeding patterns individually.
- Data Visualization: Charts and graphs to visualize feeding patterns over time, helping identify routines and anomalies.
- Data Persistence: Stores event data in a SQLite database, ensuring that feeding history is maintained securely and can be accessed at any time.
Installation
To set up the Baby Tracker Application on your system, follow these steps:
-
Clone the Repository
git clone https://github.com/csw1nk/TallyProject.git cd TallyProject -
Install Dependencies
Make sure Python 3.x is installed on your system. Then, install the required Python packages:
pip install -r requirements.txt
-
Configure the Application
- Edit
TallyCode.pyto match your keyboard setup for logging feeding events. - Adjust
app.pysettings if necessary, including the database path and Flask app configuration.
- Edit
-
Run the Application
Start the keyboard listener:
python TallyCode.py
In a separate terminal, launch the Flask app:
flask run
Usage
- Logging Feeding Events: Use designated keys to log feeding events for each twin. The events are immediately recorded in the database.
- Viewing Data: Access the web interface at
http://localhost:5000to view feeding schedules, statistics, and more.
Contributing
Contributions to the Baby Tracker Application are welcome. Please feel free to fork the repository, make changes, and submit pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.