A command-line Python program that allows users to manage their personal book collection easily. You can add, remove, search, display, and track reading progress for your library!
Add a Book: Enter title, author, year, genre, and read status.
Remove a Book: Remove a book by its title.
Search Books: Search by title or author.
Display All Books: View all books in a beautifully formatted table.
Total number of books
Percentage of books read
Save and Load Library: Automatically save to and load from a library.txt file.
Clone the project or Download the library_manager.py file.
Install required package:
pip install tabulate (Optional): Create a library.txt file if you want to pre-load some books.
Open your terminal.
Navigate to the folder containing library_manager.py:
python library_manager.py
library_manager.py # Main Python script library.txt # (Auto-created) File storing your library data README.md # Project description and instructions
Menu Welcome to your Personal Library Manager!
- Add a book
- Remove a book
- Search for a book
- Display all books
- Display statistics
- Exit
Developed by: Muhammad Hussain
LinkedIn: www.linkedin.com/in/where-is-hussain