{"id":25406617,"url":"https://github.com/nivindulakshitha/console-lis","last_synced_at":"2026-02-06T01:44:03.318Z","repository":{"id":271127760,"uuid":"910407675","full_name":"nivindulakshitha/Console-LIS","owner":"nivindulakshitha","description":"GCE AL Python console based Library Management App","archived":false,"fork":false,"pushed_at":"2025-01-05T17:12:04.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Master","last_synced_at":"2025-04-07T02:27:30.761Z","etag":null,"topics":["csv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nivindulakshitha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T07:31:45.000Z","updated_at":"2025-01-05T17:12:07.000Z","dependencies_parsed_at":"2025-01-05T18:31:50.462Z","dependency_job_id":null,"html_url":"https://github.com/nivindulakshitha/Console-LIS","commit_stats":null,"previous_names":["nivindulakshitha/console-lis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nivindulakshitha/Console-LIS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FConsole-LIS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FConsole-LIS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FConsole-LIS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FConsole-LIS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nivindulakshitha","download_url":"https://codeload.github.com/nivindulakshitha/Console-LIS/tar.gz/refs/heads/Master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FConsole-LIS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29144172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T01:13:33.096Z","status":"ssl_error","status_checked_at":"2026-02-06T01:11:47.313Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","python"],"created_at":"2025-02-16T05:36:33.176Z","updated_at":"2026-02-06T01:44:03.295Z","avatar_url":"https://github.com/nivindulakshitha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ABC Engineering Library System\n\nThis is a Python-based library management system designed to handle the addition, borrowing, returning, and searching of books. It also keeps track of borrowed books and updates records in a CSV file.\n\n---\n\n## Features\n\n1. **Add New Book**  \n   Add a new book to the library collection.\n\n2. **Borrow Book**  \n   Borrow a book by providing its ID and a student ID.\n\n3. **Return Book**  \n   Return a borrowed book to the library.\n\n4. **Search Books**  \n   Search for books in the library by name.\n\n5. **View Borrowed Books**  \n   Display a list of all books currently borrowed.\n\n6. **Exit**  \n   Save the updated records to a CSV file and exit the program.\n\n---\n\n## Prerequisites\n\n- Python 3.x\n- A `books.csv` file to store book data. This file should contain data in the following format:\n  ```\n  LB0001,book_name,author_name,True|False,borrower_id\n  ```\n  Example:\n  ```\n  LB0001,python programming,john doe,True,\n  LB0002,data structures,jane smith,False,ST00123\n  ```\n\n---\n\n## How to Run\n\n1. Save the code in a `.py` file (e.g., `main.py`).\n2. Create a `books.csv` file in the same directory to store book records.\n3. Open a terminal or command prompt.\n4. Navigate to the directory containing `main.py`.\n5. Run the script using the command:\n   ```bash\n   python main.py\n   ```\n\n---\n\n## Usage\n\n### Main Menu\nWhen the program starts, you'll see the following menu:\n```\n+=================================+\n|    ABC ENGINEERING LIBRARY      |\n+=================================+\n|  1. Add New Book                |\n|  2. Borrow Book                 |\n|  3. Return Book                 |\n|  4. Search Books                |\n|  5. View Borrowed Books         |\n|  6. Exit                        |\n+=================================+\n```\n\nSelect an option by entering the corresponding number.\n\n### Examples\n\n#### Adding a New Book\n1. Select **1** from the menu.\n2. Enter the book's name and author when prompted.\n3. The system will automatically generate a unique Book ID (e.g., `LB0001`).\n\n#### Borrowing a Book\n1. Select **2** from the menu.\n2. Enter the Book ID of the book you want to borrow.\n3. Provide the student ID of the borrower.\n4. The book's availability will be updated to `False`, and the borrower's ID will be recorded.\n\n#### Returning a Book\n1. Select **3** from the menu.\n2. Enter the Book ID of the book being returned.\n3. The system will mark the book as available and remove the borrower ID.\n\n#### Searching for Books\n1. Select **4** from the menu.\n2. Enter the book name or partial name to search.\n3. The system will display matching books with their details.\n\n#### Viewing Borrowed Books\n1. Select **5** from the menu.\n2. View a list of all books currently borrowed, along with their borrower's ID.\n\n#### Exiting the Program\n1. Select **6** from the menu.\n2. The program will save all changes to the `books.csv` file and exit.\n\n---\n\n## Notes\n\n- The system uses a `books.csv` file for persistent storage.\n- Book IDs are automatically generated (e.g., `LB0001`).\n- The program clears the console for a better user experience (may not work on some terminals).\n\n---\n\n## License\n\nThis project is licensed under the MIT License. Feel free to use and modify it as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnivindulakshitha%2Fconsole-lis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnivindulakshitha%2Fconsole-lis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnivindulakshitha%2Fconsole-lis/lists"}