Template
Template
INTERNATIONAL SCHOOL
Polachery Main Road, Sonalur, Chennai - 600 127
PROJECT REPORT
2024 – 2025
Reg. No :
Date: Teacher-in-Charge
1 Objective 6
3 Scope 9
4 Technology Requirements 10
5 Source Code 11
6 Output Screen 14
7 Conclusion 19
8 Bibliography 20
ACKNOWLEDGEMENTS
Database Operations:
Execute SQL queries to perform CRUD (Create,
Read, Update, Delete operations on the fitness tracker
database
Ensure data integrity and prevent SQL injection
attacks.
User Interaction:
Design intuitive buttons and input fields to make the
application easy to navigate.
MODULUES AND FILES USED
Modules:
1. tkinter - Used for creating the graphical user interface (GUI)
2. MySQL. Connector - Used for connecting to the MySQL database
and executing SQL queries.
3. tkinter. message box - Used for displaying message boxes to the
user for alerts and confirmations.
4. tkinter. simple dialog - Used for prompting the user to enter data
through simple dialog boxes.
Files:
1. main.py - This will be the main file that initializes the GUI,
handles user interactions, and integrates all components.
2. db_connection.py - Contains the logic for establishing a
connection with the MySQL database Handles basic CRUD
operations and database interactions.
3. gui.py - Contains the code for the GUI layout and design using
Tkinter. Includes functions for creating and arranging widgets.
4. config.py - Contains configuration details such as database
connection parameters (host, user, password, database name).
SCOPE
User Interface Development:
Design a user-friendly GUI using Tkinter to enable users to interact
with the application.
Provide input fields for activity type, time spent, distance covered, and
calories burned.
Include buttons for adding, deleting, and updating activities.
Core Functionalities:
Implement the functionality to add new fitness activities to the
database.
Provide options to delete existing activities based on their unique
identifiers.
Enable updating of existing activity records with new data.
. User Feedback:
Provide immediate feedback to the user upon successful completion of
database operations.
Display appropriate messages for successful addition, deletion, and
updating of activities.
Code Modularity:
Maintain a clear separation of concerns by dividing the project into
multiple modules (files).
Ensure the code is organized, readable, and maintainable
TECHNOLOGY REQUIREMENTS
OPERATINGSYSTEM: Windows7orAbove
ENVIRONMEN: Visual Studios
LANGUAGE: Python and SQL
FRONTEND: Pythonversion3.10
BACKEND: SQL Workbench
SOURCE CODE
OUTPUT
CONCLUSION
1. User-Friendly Interface: Designed a straightforward and intuitive
GUI that allows users to easily enter, update, and delete fitness activity
data.
2. Efficient Database Management: Utilized MySQL to store,
retrieve, and manage fitness data, ensuring reliable data persistence and
integrity.
3. Comprehensive Functionality: Implemented core functionalities
including adding new activities, updating existing records, and deleting
activities, all while providing real-time feedback to the user.
4. Modular and Maintainable Code: Organized the project into
distinct modules, promoting code readability, maintainability, and
ease of future enhancements.
5. Secure Data Operations: Implemented measures to ensure secure
data operations, protecting the application from common vulnerabilities
like SQL injection.
www.w3school.com
www.youtube.com/techwithtim
www.openai.com
www.blackboxai.com
www.youtube,com/amitthinks
www.greeksforgreeks.org