Skip to content

Latest commit

Β 

History

History
95 lines (72 loc) Β· 2.3 KB

File metadata and controls

95 lines (72 loc) Β· 2.3 KB

EMS_database_mysql_python

πŸ§‘β€πŸ’Ό EMS_database_mysql_python is a desktop-based Employee Management System built with Python, CustomTkinter, and MySQL.
It provides a user-friendly interface to manage employee records, including adding, updating, deleting, and searching employee data.


πŸš€ Features

βœ… Login System

  • Secure login with MySQL root password validation.

βœ… Employee Data Management

  • Add new employees with details:
    • ID
    • Name
    • Phone
    • Role
    • Gender
    • Salary
  • Update existing records.
  • Delete individual or all records.
  • View all employees in a modern Treeview table.

βœ… Search Functionality

  • Search employees by:
    • ID
    • Name
    • Phone
    • Role
    • Gender
    • Salary

βœ… Modern GUI

  • Built with CustomTkinter for a sleek, modern look.
  • Image banners for a professional touch.

πŸ“‚ Project Structure

EMS_database_mysql_python/
β”‚
β”œβ”€β”€ banner.png # Banner image for login screen
β”œβ”€β”€ empbanner.jpg # Banner image for main EMS screen
β”œβ”€β”€ login.py # Login screen logic and UI
β”œβ”€β”€ ems.py # Main EMS GUI and functionality
β”œβ”€β”€ database.py # MySQL database connection and operations
└── README.md # Project documentation


πŸ’» Requirements

  • Python 3.x
  • MySQL Server
  • Python Libraries:
    • customtkinter
    • pillow
    • pymysql

Install the required libraries:

pip install customtkinter pillow pymysql

βš™οΈ How to Run

.Start your MySQL server.
.Clone this repo:

https://github.com/qasim032/EMS_database_mysql_python.git

.Run the login page:

python login.py

Enter:
Username: root
Password: your MySQL root password
image.

image.

image.

image.


πŸ‘¨β€πŸ’» Author

Syed Muhammad Qasim
Feel free to connect on LinkedIn or explore more projects on GitHub.