{"id":20443517,"url":"https://github.com/farhaduneci/bookreader","last_synced_at":"2026-06-07T11:31:08.556Z","repository":{"id":110261515,"uuid":"500736738","full_name":"farhaduneci/BookReader","owner":"farhaduneci","description":"Book study tracking program.","archived":false,"fork":false,"pushed_at":"2022-06-07T12:42:48.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T08:19:54.624Z","etag":null,"topics":["oop","python3","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/farhaduneci.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":"2022-06-07T07:34:44.000Z","updated_at":"2022-06-07T08:06:06.000Z","dependencies_parsed_at":"2023-04-16T03:16:22.524Z","dependency_job_id":null,"html_url":"https://github.com/farhaduneci/BookReader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/farhaduneci/BookReader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhaduneci%2FBookReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhaduneci%2FBookReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhaduneci%2FBookReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhaduneci%2FBookReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farhaduneci","download_url":"https://codeload.github.com/farhaduneci/BookReader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhaduneci%2FBookReader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":["oop","python3","sqlite3"],"created_at":"2024-11-15T09:48:01.177Z","updated_at":"2026-06-07T11:31:08.536Z","avatar_url":"https://github.com/farhaduneci.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book study tracking program\n\nBuilt with Python and SQLite SQL database engine.\n\n## Description\n\nIn this program, each book contains several chapters.\nEach chapter has one percent required to complete.\n\nIf the reading percentage of the chapter is greater than or equal to\nthis percentage, it means that the chapter has been completed.\n\nEach chapter can also depend on one or more other chapters.\nIn this case, to study a chapter, you must complete the required chapters.\n\nAccording to the above description,\nthe following commands were implemented in the program:\n\n1. Adding a new chapter:\n   `add_chapter book_name chapter_name required_percent`\n1. Adding prerequisite chapter:\n   `add_prerequisite_chapter book_name chapter_name prerequisite_chapter_name`\n2. Deleting prerequisite chapter:\n   `remove_prerequisite_chapter book_name chapter_name prerequisite_chapter_name`\n3. Reading a chapter:\n   `read book_name chapter_name percent`\n4. Getting a reading status of a book:\n   `stats book_name`\n\n   This command prints the number of chapters read and the total\n   number of chapters in a book in the following format:\n\n   `completed_chapters_count of all_chapters_count`\n\n5. Exit the application:\n   `end`\n\n## Demo\n\nRunning following commands:\n\n```shell\nadd_chapter DesignPatterns Intro 100\nread NotAvailable Intro 100\nread DesignPatterns NotAvailable 100\nstats DesignPatterns\nadd_chapter DesignPatterns CreationalDesignPatterns 80\nadd_prerequisite_chapter DesignPatterns CreationalDesignPatterns Intro\nread DesignPatterns CreationalDesignPatterns 85\nstats DesignPatterns\nread DesignPatterns Intro 99\nstats DesignPatterns\nread DesignPatterns Intro 100\nstats DesignPatterns\nread DesignPatterns CreationalDesignPatterns 85\nstats DesignPatterns\nend\n```\n\nwill produce the expected output:\n\n```shell\n0 of 1\n0 of 2\n0 of 2\n1 of 2\n2 of 2\n```\n\n## Database schema\n\n![Database schema](./Images/DB.png)\n\n\u003e Note: pre_req_id is the id of the prerequisite chapter.\n\n## License\n\nLicensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhaduneci%2Fbookreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhaduneci%2Fbookreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhaduneci%2Fbookreader/lists"}