A Python-based GUI desktop application for managing employee records. This system allows users to add, update, delete, and display employee details, all while connecting to a MySQL database for persistent data storage. It’s an intuitive and efficient tool for small businesses or HR management.
- Employee Record Management:
- Add new employee details, such as ID, Name, Mobile, and Salary.
- Update existing records with ease.
- Delete employee entries.
- Interactive GUI:
- Built using the Tkinter library for an intuitive and responsive graphical user interface.
- Dynamic Data Table:
- Display employee records dynamically using the
Treeviewwidget.
- Display employee records dynamically using the
- Database Integration:
- Connects to a MySQL database for secure and reliable data handling.
To use the application, run the Python script, and interact with the GUI to manage employee records.
# Launch the application
root = Tk()
root.geometry("800x500")
root.mainloop()- Use the input fields to enter details such as Employee ID, Name, Mobile, and Salary.
- Click on the Add, Update, or Delete buttons to perform the respective actions.
- Double-click an entry in the table to load its details into the input fields for editing.
- Clone the repository:
git clone https://github.com/ramcharan118/employee_management_system.git- Navigate to the project directory:
cd employee_management_system-
Install dependencies:
- Ensure Python 3.x is installed.
- Install the
mysql-connector-pythonlibrary:pip install mysql-connector-python
-
Set up the MySQL database:
- Create a database named
abc_123. - Create a table named
registationwith the following structure:CREATE TABLE registation ( id INT PRIMARY KEY, empname VARCHAR(100), mobile VARCHAR(15), salary FLOAT );
- Create a database named
-
Configure the database connection:
- Update the connection credentials (
host,user,password,database) in the script as per your local setup.
- Update the connection credentials (
-
Run the script:
python employee_management_sys.pyContributions are welcome! If you’d like to contribute:
- Fork the repository.
- Create a branch for your feature or fix.
- Submit a pull request with a clear explanation of your changes.
- Search Functionality: Add a search bar to filter employee records.
- Data Export: Include the ability to export data as CSV or Excel files.
- Enhanced Security: Implement authentication for secured access.
This project is licensed under the MIT License. See the LICENSE file for details.