Skip to content

WhereisHussain/Library-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Personal Library Manager

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!

πŸ“œ Features

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.

Display Statistics:

Total number of books

Percentage of books read

Save and Load Library: Automatically save to and load from a library.txt file.

πŸ›  Installation and Setup

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.

πŸš€ How to Run

Open your terminal.

Navigate to the folder containing library_manager.py:

python library_manager.py

πŸ“‚ File Structure

library_manager.py # Main Python script library.txt # (Auto-created) File storing your library data README.md # Project description and instructions

πŸ“ˆ Example Usage

Menu 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

πŸ‘¨β€πŸ’» Author

Developed by: Muhammad Hussain

LinkedIn: www.linkedin.com/in/where-is-hussain

About

Personal Library Manager created on Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages