By Gaurav Rayat
Managing student and staff data in schools often requires expensive, proprietary software or APIs. This Python-based School Management System offers a free and efficient alternative. It allows administrators to register and manage student and staff records while providing analysis tools for Class 10 and 12 results.
This is a command-line interface (CLI) application built in Python that helps schools manage essential administrative data. Admin users can be created using a secure Secret Code, known only to the head of the institution.
(For demonstration, the secret code is included in the script as a comment.)
table.py
to initialize database tablestable.py
script to create the required tables.table.py
will:user
– stores admin user detailsstudent
– stores student informationstaff
– stores staff recordspython table.py
mysql-connector-python
(for database connection)git clone https://github.com/GAURAV-RAYAT/school_management_system.git
cd school_management_system
Ensure you have Python 3 and pip installed. Then install the required libraries:
pip install -r requirements.txt
Before running the application, make sure your MySQL database is set up.
Then run the table.py
script to create required tables:
python table.py
python main.py