A simple Python-based Library Management System for managing books, and the library members. This project allows members to borrow and return books, and manage the library's collection and users. Data is persisted using JSON files.
-
Members Functions:
- View all available books
- Borrow books
- Return borrowed books
- Add new books to the library
- View all books
- Register new members
-
Data Persistence:
- All books and memberss are stored in JSON files (
library.json
,members.json
). The members borrowed books as stored in a list in themembers.json
file e.g.{ "name": "Lucy Kung'u", "id": 72, "borrowed_books": [ { "isbn": 7683256, "title": "Honey & Spice", "author": "Bobu Babalola" } ] },
- Data is loaded at startup and saved after any changes
main.py
- Entry point and main menu logiclibray.py
- Library management logicbook.py
- Book modelmember.py
- User model
- All books and memberss are stored in JSON files (