Skip to content

lu899/Python-library-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System

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.

Features

  • 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 the members.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

    Folder Structure

    • main.py - Entry point and main menu logic
    • libray.py - Library management logic
    • book.py - Book model
    • member.py - User model

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages