A library management system made using Python, MySQL and PyQt5
PyQt5
mysqlclient
xlxswriter
xlrd
Run
index.py
to open the application.
- Download/Clone this repository.
To Clone the repository, if you have git installed, run the following command in a Terminal/CMD:
git clone https://github.com/IAmOZRules/Library-Management-System.git
- Create a new database named
librarysys
in MySQL.
------- OR -------
- Open the
index.py
file, replace'librarysys'
everywhere in the code with whatever your DB is named.
For example: If you named your DB to 'library'
replace 'librarysys'
with 'library'
everywhere in the index.py
file.
- In the
index.py
file, changepassword = '2187'
to whatever your MySQL Server password is!
For example: If your MySQL Server password 'helloworld'
replace password = '2187'
with password = 'helloworld'
everywhere in the index.py
file.
- Run the
database.sql
file in MySQL workbench in the new created schema. - Make sure all the required python packages are installed!
- Navigate to the folder in which all the files are present.
- Run the
index.py
file. - For first time login, use username =
system
and password =system
. - Make sure to create a user for you after opening.
- Figure out the extra stuff yourself!
Do NOT skip any step, or the app won't run.
So much for an easy install smh.