{"id":25721626,"url":"https://github.com/rafaybbx/library-management-system","last_synced_at":"2026-05-02T10:39:06.057Z","repository":{"id":267421607,"uuid":"448594867","full_name":"rafaybbx/library-management-system","owner":"rafaybbx","description":"Command Line Library Management System in Python and MySQL","archived":false,"fork":false,"pushed_at":"2025-02-04T02:34:16.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T02:42:41.379Z","etag":null,"topics":["mysql-database","python"],"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/rafaybbx.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":"2022-01-16T15:32:10.000Z","updated_at":"2025-02-04T02:34:20.000Z","dependencies_parsed_at":"2024-12-10T09:19:12.081Z","dependency_job_id":"00328a3e-f4ce-4207-843f-d4b4fc9c10c8","html_url":"https://github.com/rafaybbx/library-management-system","commit_stats":null,"previous_names":["rafaybbx/library-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafaybbx/library-management-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Flibrary-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Flibrary-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Flibrary-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Flibrary-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaybbx","download_url":"https://codeload.github.com/rafaybbx/library-management-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Flibrary-management-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32531742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["mysql-database","python"],"created_at":"2025-02-25T18:50:02.859Z","updated_at":"2026-05-02T10:39:06.028Z","avatar_url":"https://github.com/rafaybbx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library Management System\n\nThis project is a Library Management System that allows users to manage books, users, and lending records. The project uses a **MySQL database** managed with **phpMyAdmin** and **XAMPP**, and the main code is written in **Python**.\n\n\n\n## Prerequisites\n- **XAMPP** (for Apache and MySQL)\n- **Python 3.x**\n- **MySQL Connector for Python**\n\n\n\n## Setup Instructions\n\n### Step 1: Install XAMPP\n1. Download and install XAMPP from [Apache Friends](https://www.apachefriends.org/).\n2. Start the **Apache** and **MySQL** services from the XAMPP Control Panel.\n\n### Step 2: Setup the Database\n1. Open **phpMyAdmin** by navigating to [http://localhost/phpmyadmin](http://localhost/phpmyadmin) in your web browser.\n2. Create a new database named `library`.\n3. Import the SQL dump file (`library.sql`) into the `library` database:\n   - Click on the `library` database.\n   - Go to the **Import** tab.\n   - Choose the `library.sql` file and click **Go**.\n\n### Step 3: Install MySQL Connector for Python\nInstall the MySQL Connector for Python using pip:\n```bash\npip install mysql-connector-python\n```\n### Step 4: Configure the Python Script\n1. Open the `lbm.py` file.\n2. Ensure the database connection details are correct:\n```python\nhost = \"localhost\"\nuser = \"root\"\npassword = \"\"\n```\n### Step 5: Run the Python Script\nRun the `lbm.py` script:\n```\npython lbm.py\n```\n## Usage\n### Admin Menu\n1. Register New Student\n2. Delete Existing Student\n3. Register New Manager\n4. Delete Existing Manager\n### Logout\n1. Manager Menu\n2. Add New Book\n3. Remove Existing Book\n4. Logout\n### Student Menu\n1. Search Books\n2. Lend Book\n3. Return Book\n4. Logout\n## License\nThis project is licensed under the MIT License.\n## Acknowledgements\n- [phpMyAdmin](https://www.phpmyadmin.net/)\n- [XAMPP](https://www.apachefriends.org/index.html)\n- [MySQL Connector for Python](https://dev.mysql.com/doc/connector-python/en/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaybbx%2Flibrary-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaybbx%2Flibrary-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaybbx%2Flibrary-management-system/lists"}