PowerWatch is a term project for the Database Management Systems course. The main scope of the project is to manage and visualize energy data. It is developed in Python using the PyQt6 library for GUI purposes and the Matplotlib library for displaying graphs.
To install the project, you need to have Python 3.6 or higher. You can install the required packages using the following command:
pip install -r requirements.txt
The project uses MySQL for data storage. The energy.sql
file contains sample data for the term project. To setup the database, you need to have MySQL installed and setup a database named 'energy'. The credentials used in the project are:
- Username: root
- Password: mysql1234
You can change these credentials in the create_connection
function in the src/main.py
file.
You can run the project using the following command:
python src/main.py
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the terms of the MIT license. See the LICENSE file for details.