The Personal Library Manager is a Python-based terminal application designed to help users organize, track, and manage their personal book collections. It allows users to add, search, remove, and display books while maintaining a structured database using JSON files.
- 📖 Add Books: Store book details including title, author, genre, publication year, and read status.
- 🔍 Search Books: Search by book title or author name.
- ❌ Remove Books: Delete books from the library.
- 📜 Display Books: View the entire collection with formatted output.
- 📊 Statistics: Get insights on your reading progress.
- 🔄 Data Persistence: Saves book records in a JSON file with an automatic backup feature.
- Python 3.8+
- JSON for data storage
- Shutil for file backup
📂 Personal Library Manager
│── library.json # Main storage file
│── library_backup.json # Backup file
│── main.py # Main program script
│── README.md # Project documentation
Ensure you have Python 3.8+ installed. Check with:
python --version
git clone https://github.com/MuhammadAdnan1998/Personal_Library_Manager_Using_Python.git
cd personal-library-manager
python main.py
You can choose from the following options:
- Add a book 📚
- Remove a book ❌
- Search for a book 🔍
- Display all books 📜
- Display statistics 📊
- Exit 🚪
Welcome to your Personal Library Manager!
1. Add a book
2. Remove a book
3. Search for a book
4. Display all books
5. Display statistics
6. Exit
Enter your choice: 1
Enter the book title: The Great Gatsby
Enter the author: F. Scott Fitzgerald
Enter the publication year: 1925
Enter the genre: Fiction
Have you read this book? (yes/no): yes
Book added successfully!
- 📡 GUI Version using Tkinter or PyQt.
- 🔄 Sync with Cloud Storage (Google Drive/Dropbox).
- 📑 Export/Import Library (CSV, XML support).
This project is licensed under the MIT License.
Contributions are welcome! Please follow these steps:
- Fork this repository
- Create a new branch (
feature-branch
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to your branch (
git push origin feature-branch
) - Open a Pull Request
For any queries or suggestions, feel free to reach out:
- 📧 Email: adnanshaikh84482@gmail.com
- 🌐 GitHub: Muhammad Adnan
- 🐦 LinkedIn: @muhammadadnan01
🔖 Tagging: python
, library-management
, book-tracker
, json-storage
, automation
, CLI-tool
Happy Coding! 🚀