{"id":25485733,"url":"https://github.com/jere-eee/phase3-project-librarysystem","last_synced_at":"2026-05-14T22:32:42.032Z","repository":{"id":268356362,"uuid":"904071099","full_name":"jere-eee/phase3-project-librarysystem","owner":"jere-eee","description":"A simple library system cli","archived":false,"fork":false,"pushed_at":"2024-12-19T19:23:15.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T14:43:01.371Z","etag":null,"topics":["bycrypt","cli","python","shell","sqlite3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jere-eee.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,"zenodo":null}},"created_at":"2024-12-16T07:44:29.000Z","updated_at":"2024-12-19T19:24:26.000Z","dependencies_parsed_at":"2024-12-16T09:27:43.951Z","dependency_job_id":"84028995-2fcd-4382-b4f6-b78fc2f09245","html_url":"https://github.com/jere-eee/phase3-project-librarysystem","commit_stats":null,"previous_names":["jere-eee/phase3-project-librarysystem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jere-eee/phase3-project-librarysystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jere-eee%2Fphase3-project-librarysystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jere-eee%2Fphase3-project-librarysystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jere-eee%2Fphase3-project-librarysystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jere-eee%2Fphase3-project-librarysystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jere-eee","download_url":"https://codeload.github.com/jere-eee/phase3-project-librarysystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jere-eee%2Fphase3-project-librarysystem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259553132,"owners_count":22875609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bycrypt","cli","python","shell","sqlite3"],"created_at":"2025-02-18T18:38:45.489Z","updated_at":"2025-10-07T16:56:14.833Z","avatar_url":"https://github.com/jere-eee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library Management System (SQLite) By Akanle Jeremy\n\nThis is a simple command-line library management system built using Python and the `sqlite3` module for database management. It allows librarians to manage books and users, and members to browse, borrow, and return books.\n\n## Features\n\n*   **User Management:**\n    *   User registration with email validation.\n    *   User login with password hashing (using bcrypt).\n    *   Role-based access control (Librarian/Member).\n    *   User account deletion.\n    *   Email update functionality.\n*   **Book Management:**\n    *   Add new books to the collection.\n    *   View all books.\n    *   Search books by title.\n    *   Search books by ID.\n    *   Delete books.\n    *   Borrow and return books (tracks copies available).\n*   **Data Persistence:** Uses SQLite for local data storage using the `sqlite3` module.\n*   **Clean Interface:** Simple and intuitive command-line interface.\n\n## Technologies Used\n\n*   Python 3.x\n*   SQLite (Database)\n*   bcrypt (Password hashing)\n\n## Setup and Installation\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone [https://github.com/](https://github.com/)\u003cyour_username\u003e/\u003cyour_repo_name\u003e.git\n    cd \u003cyour_repo_name\u003e\n    ```\n\n2.  **Create a virtual environment (recommended):**\n\n    ```bash\n    python3 -m venv venv\n    source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n    ```\n\n3.  **Install dependencies:**\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n    If you don't have a `requirements.txt` file, create one with `pip freeze \u003e requirements.txt` after installing the necessary packages (`pip install bcrypt`).\n\n4.  **Database:**\n\n    The SQLite database file (`library.db`) is *already included* in the `database` folder. You *do not* need to create it manually.\n\n## How to Run\n\n```bash\npython main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjere-eee%2Fphase3-project-librarysystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjere-eee%2Fphase3-project-librarysystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjere-eee%2Fphase3-project-librarysystem/lists"}