{"id":20603449,"url":"https://github.com/danpoynor/python-book-database","last_synced_at":"2026-04-22T07:33:22.478Z","repository":{"id":116654852,"uuid":"516036656","full_name":"danpoynor/python-book-database","owner":"danpoynor","description":"Exercise creating an SQL database including model creation and CRUD using SQLAlchemy","archived":false,"fork":false,"pushed_at":"2023-11-14T20:43:33.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T02:11:47.093Z","etag":null,"topics":["console-app","crud","demo-app","python","sqlalchemy-orm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danpoynor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-20T15:29:21.000Z","updated_at":"2024-05-08T17:07:19.000Z","dependencies_parsed_at":"2023-11-14T21:45:42.234Z","dependency_job_id":null,"html_url":"https://github.com/danpoynor/python-book-database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danpoynor%2Fpython-book-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danpoynor%2Fpython-book-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danpoynor%2Fpython-book-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danpoynor%2Fpython-book-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danpoynor","download_url":"https://codeload.github.com/danpoynor/python-book-database/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242249004,"owners_count":20096773,"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":["console-app","crud","demo-app","python","sqlalchemy-orm"],"created_at":"2024-11-16T09:17:19.200Z","updated_at":"2026-04-22T07:33:17.446Z","avatar_url":"https://github.com/danpoynor.png","language":"Python","readme":"# Python Book Database\n\nExercise creating an SQLite database including model creation and CRUD using [SQLAlchemy](https://www.sqlalchemy.org/) (a Python Object Relational Mapper).\n\n- Create a Book database model\n- Interact with a database using CRUD (create, read, update, and delete)\n- Use `session.query()` to access specific information and analyze data\n\n---\n\n## How To Run\n\n`cd python-book-database/`\n\nand\n\n`pip install -r requirements.txt`\n\nthen\n\n`python app.py`\n\n---\n\n## Screenshot\n\n\u003cimg width=\"611\" alt=\"Screen Shot 2023-11-14 at 2 40 37 PM\" src=\"https://github.com/danpoynor/python-book-database/assets/764270/ba6ec095-4d1d-4eba-9260-a6c0ab4e8326\"\u003e\n\n---\n\n## Potential TODOs\n\n- [ ] Dive into [SQLAlchemy tutorials](https://docs.sqlalchemy.org/en/14/) and integrate more features\n- [ ] Add [docstrings](https://teamtreehouse.com/library/docstrings) to each function\n- [ ] Add [type hinting](https://teamtreehouse.com/library/python-type-hinting)\n- [ ] Try creating pagination for the books so you only see 5 books at a time when viewing them\n- [ ] Try giving the user options for searching for a book (besides searching by id)\n- [ ] Try adding other columns to your database like topic area, difficulty level, number of pages, etc.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanpoynor%2Fpython-book-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanpoynor%2Fpython-book-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanpoynor%2Fpython-book-database/lists"}