This is a simple library application implemented in Python. The application allows users to manage a library by adding books, removing books, searching for books, and displaying the list of available books. The application utilizes SQLite as the database backend and supports data export in JSON and CSV formats.
- Show Books: Displays the list of books in the library.
- Search Book: Searches for a book by name and displays its details if found.
- Add Book: Adds a new book to the library.
- Remove Book: Removes a book from the library.
- Data Storage: The application uses SQLite to store book data.
- Python 3.x
- SQLite
-
Clone the repository:
git clone https://github.com/aligultan/LibraryDatabase.git
-
Change into the project directory:
cd LibraryDatabase
-
Install the required dependencies:
pip install -r requirements.txt
-
Make sure you have SQLite installed on your system.
-
Run the library.py file to start the library application:
python library.py
-
Follow the on-screen instructions to perform various operations:
- Enter 1 to show the list of books in the library.
- Enter 2 to search for a book by name.
- Enter 3 to add a new book to the library.
- Enter 4 to remove a book from the library.
- Enter q to quit the application.
Contributions are welcome! If you find any issues or want to enhance the application, feel free to submit a pull request.
This project is licensed under the MIT License.