CompanyManagementDB
1.0.0
使用 Python、Streamlit 和 MySQL 建構的綜合薪資管理系統。該系統管理員工記錄、部門、專案和薪資詳細資料。
emp_no : INT(主鍵)first_name :VARCHARlast_name :VARCHARjob_title :VARCHARbasic_salary :十進制department_id : INT(外鍵)department_id : INT(主鍵)department_name :VARCHARmanager_id : INT(員工的外鍵)project_id :INT(主鍵)project_name :VARCHARstart_date :日期end_date :日期department_id : INT(部門的外鍵)emp_no : INT(員工的外鍵)project_id :INT(專案的外鍵)hours_worked :小數emp_no : INT(員工的外鍵)salary_date :日期basic_salary :十進制da : 十進制hra : 十進制gross_salary :小數tax :十進制net_salary :小數CompanyManagementDB資料庫進行操作。employees 、 departments 、 projects 、 employee_project 、 salaries )。將資料插入表中
employees 、 departments 、 projects 、 employee_project和salaries等表中。更新表中的數據
employees 、 departments 、 projects 、 employee_project和salaries等表中現有記錄的功能。從表中刪除數據
employees 、 departments 、 projects 、 employee_project和salaries 。emp_no 、 department_id 、 project_id等)進行標識。tabulate庫在格式化表格中計算並顯示基本工資、DA、HRA、工資總額、稅金和淨工資等元件。克隆儲存庫:
git clone https://github.com/PhenomSG/Payroll-Management-System.git導航到專案目錄:
cd Payroll-Management-System安裝所需的軟體包:
pip install -r requirements.txt在腳本中設定MySQL資料庫連線。
運行 Streamlit 應用程式:
streamlit run streamlit_app.py開啟 Web 瀏覽器並轉到提供的 URL 與應用程式互動。
該專案根據 MIT 許可證獲得許可。