The Library Management System is a comprehensive tool designed to manage books and users in a library. The system allows you to add, update, view, search, and remove books and users, as well as fetch book data from the Google Books API and save it to the database.
- Add, Update, View, Search, and Remove Books
- Add, Update, View, Search, and Remove Users
- Fetch Books from Google Books API and Save to Database
-
Clone the repository:
git clone https://github.com/ozgewebb/Library_Management_System.git cd Library_Management_System
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use
venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Set up your
.env
file with your Google Books API key:GOOGLE_BOOKS_API_KEY=your_google_books_api_key
-
Create the database:
python -m src.functions.db create_database
-
Run the main program:
python src/main.py
-
Follow the menu options to perform various operations on books and users.
To run the tests, use:
python -m unittest discover -s tests
Contributions are welcome! Please open an issue or submit a pull request for any improvements.
This project is developed by Ozge Jess Webb.
This project is licensed under the MIT License. See the LICENSE file for details.
Created on: 2024-08-01