{"id":37070049,"url":"https://github.com/thepmsquare/square_database","last_synced_at":"2026-01-14T08:04:05.476Z","repository":{"id":318842320,"uuid":"847886591","full_name":"thepmsquare/square_database","owner":"thepmsquare","description":"a database layer for my personal server. this service exposes database operations as a fastapi application, powered by pluggable orm models (by default from square_database_structure, but you can swap in your own).","archived":false,"fork":false,"pushed_at":"2025-12-21T18:34:21.000Z","size":193,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-23T07:35:12.463Z","etag":null,"topics":["database"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/square-database/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thepmsquare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-26T18:26:00.000Z","updated_at":"2025-12-21T18:32:56.000Z","dependencies_parsed_at":"2025-10-16T17:11:52.594Z","dependency_job_id":"0f36ae66-6ffb-48a9-a31f-b0d92933b14b","html_url":"https://github.com/thepmsquare/square_database","commit_stats":null,"previous_names":["thepmsquare/square_database"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/thepmsquare/square_database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepmsquare%2Fsquare_database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepmsquare%2Fsquare_database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepmsquare%2Fsquare_database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepmsquare%2Fsquare_database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepmsquare","download_url":"https://codeload.github.com/thepmsquare/square_database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepmsquare%2Fsquare_database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["database"],"created_at":"2026-01-14T08:04:04.806Z","updated_at":"2026-01-14T08:04:05.469Z","avatar_url":"https://github.com/thepmsquare.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# square_database\n\n\u003e 📌 versioning: see [CHANGELOG.md](./CHANGELOG.md).\n\n## about\n\na database layer for my personal server. this service exposes database operations as a fastapi application, powered by\npluggable orm models (by default from square_database_structure, but you can swap in your own).\n\n## goals\n\n- centralized database api\n- pluggable orm models\n- simple crud operations\n- stored procedure support\n- realtime via websockets\n\n## installation\n\n```shell\npip install square_database[all]\n```\n\n## usage\n\n### configuration\n\nupdate the settings in `config.ini` and `config.testing.ini` to match your environment (database url, logging, etc).\n\n### models\n\nthis service requires orm models from a pluggable module. the default is [\n`square_database_structure`](https://github.com/thepmsquare/square_database_structure), but you can provide your own\nmodule if needed.\n\n### running the service\n\n```shell\npython square_database/main.py\n```\n\n## env\n\n- python\u003e=3.12.0\n\n\u003e feedback is appreciated. thank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepmsquare%2Fsquare_database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepmsquare%2Fsquare_database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepmsquare%2Fsquare_database/lists"}