DEV Community

Cover image for πŸš€ Student Management System - A Python & MySQL-Based Solution
Mohamed
Mohamed

Posted on

πŸš€ Student Management System - A Python & MySQL-Based Solution

πŸ“Œ IntroductionManaging student data efficiently is crucial for educational institutions. Student Management System is a powerful Python-based solution that integrates MySQL for seamless database operations. This open-source project allows users to perform CRUD operations, search student records, and even export data to CSV files.

πŸ”Ή Features

βœ… Add Student – Easily add new student records to the database.βœ… Delete Student – Remove students by ID.βœ… Update Student – Modify student information effortlessly.βœ… Search Student – Find students using ID or name.βœ… Display All Students – View all stored records.βœ… Export to CSV – Download student records for external use.

πŸ› οΈ Getting Started

πŸ”Ή Prerequisites

Ensure you have the following installed:

Python 3.x – Download Here

MySQL – Install MySQL

πŸ”Ή Database Setup

1️⃣ Open MySQL and create a new database:

mysql -u root -p
CREATE DATABASE student_management;
USE student_management;

2️⃣ Create the students table:

CREATE TABLE students (
id VARCHAR(10) PRIMARY KEY,
name VARCHAR(50),
surname VARCHAR(50),
dob DATE,
address VARCHAR(100),
nationality VARCHAR(50),
faculty VARCHAR(50),
department VARCHAR(50),
specialization VARCHAR(50),
year VARCHAR(10)
);

πŸ“₯ Installation

Clone the repository and install dependencies:

git clone https://github.com/medjahdi/student-management-system.git
cd student-management-system
pip install mysql-connector-python termcolor

πŸš€ Running the Application

Launch the program with:

python start.py

πŸ“‚ Project Structure

πŸ“Œ start.py – Main script to run the application.πŸ“Œ login.py – Handles authentication with hashed passwords.πŸ“Œ app.py – Contains CRUD operations & export functionality.πŸ“Œ README.md – Project overview.

πŸ”’ Login Security
The application uses SHA-256 hashed passwords for authentication. The default password is "nova".

πŸ–ΌοΈ Screenshots

πŸ’» Login Screen
Image description

πŸ“Š Main Program Interface

Image description

πŸ› οΈ Contributing

We welcome contributions! Follow these steps:
1️⃣ Fork the repo.2️⃣ Create a feature branch: git checkout -b feature/YourFeatureName.3️⃣ Commit changes: git commit -m 'Add feature XYZ'.4️⃣ Push: git push origin feature/YourFeatureName.5️⃣ Open a pull request.

πŸ“œ License

πŸ”’ This project does not have a license. All rights reserved by @medjahdi.

πŸ“© Contact & More

πŸ’» GitHub: Student Management System🌐 Portfolio: medjahdi.github.ioπŸ“§ Email: medjahdi.mohamed@outlook.com

πŸ“Œ Let me know what you think about this project in the comments! πŸš€

AWS Q Developer image

Your AI Code Assistant

Implement features, document your code, or refactor your projects.
Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

πŸ‘‹ Kindness is contagious

If you found this post useful, consider leaving a ❀️ or a nice comment!

Got it