{"id":26745463,"url":"https://github.com/nbdy/podb","last_synced_at":"2026-05-03T06:41:32.777Z","repository":{"id":57453839,"uuid":"334271091","full_name":"nbdy/podb","owner":"nbdy","description":"python object database","archived":false,"fork":false,"pushed_at":"2022-07-26T20:43:32.000Z","size":397,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T19:17:38.311Z","etag":null,"topics":["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/nbdy.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}},"created_at":"2021-01-29T21:51:33.000Z","updated_at":"2022-08-31T07:01:40.000Z","dependencies_parsed_at":"2022-08-29T11:11:46.251Z","dependency_job_id":null,"html_url":"https://github.com/nbdy/podb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nbdy/podb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbdy%2Fpodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbdy%2Fpodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbdy%2Fpodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbdy%2Fpodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbdy","download_url":"https://codeload.github.com/nbdy/podb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbdy%2Fpodb/sbom","scorecard":{"id":677002,"data":{"date":"2025-08-11","repo":{"name":"github.com/nbdy/podb","commit":"edbd5235f9f89032b4d024ba0933c374bd9477aa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T21:50:44.818Z","repository_id":57453839,"created_at":"2025-08-21T21:50:44.818Z","updated_at":"2025-08-21T21:50:44.818Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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","python"],"created_at":"2025-03-28T08:17:19.292Z","updated_at":"2026-05-03T06:41:32.749Z","avatar_url":"https://github.com/nbdy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# podb\n\n[![Build Status](https://build.eberlein.io/buildStatus/icon?job=python_podb)](https://build.eberlein.io/view/python/job/python_podb/)\n[![Maintainability](https://api.codeclimate.com/v1/badges/4c7092020ba5916cd90b/maintainability)](https://codeclimate.com/github/nbdy/podb/maintainability)\n\n## (p)ython (o)bject (d)ata(b)ase\n\nthread safe, file based, redis style database for python objects\u003cbr\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003c/summary\u003e\n\nit really just is [shelve](https://docs.python.org/3/library/shelve.html) with a hat on\n\n\u003c/details\u003e\n\n## reasons not to use this\n\n- you want a database cluster\n- you have multiple billions of database entries and limited storage space\n- you need relationships\n\n## reasons to use this\n\n- [X] pure python\n- [X] cross-platform (Tested: Windows \u0026 Linux)\n- [X] [fast](tests/huge.py)\n  - [inserting 200 objects takes](tests/all.py#L74)\n    - ~0.0003 seconds (i7-4702MQ)\n    - ~0.0001 seconds (Ryzen 9 3900xt)\n  - [X] 8-8.3k inserts per second (Ryzen 7 2700X)\n  - [X] 19k inserts per second (Ryzen 9 3900xt)\n- [X] [thread safe](tests/threaded.py)\n- [X] stores python objects\n- [X] filters, see below\n- [X] ~180 loc\n\n## functions\n\n- find\n- find_one\n- find_after\n- find_before\n- find_by_uuid\n- find_contains\n- find_startswith\n- find_endswith\n- insert\n- insert_many\n- update\n- update_many\n- upsert\n- upsert_many\n- size\n- contains\n- columns\n- drop\n- delete\n- delete_by_uuid\n- delete_before\n- get_all\n- get_random\n- get_random_list\n\n## example\n\n```python\nfrom podb import DB, DBEntry\n\n\nclass Company(DBEntry):\n    def __init__(self, name: str):\n        DBEntry.__init__(self)\n        self.name = name\n\nclass Customer(DBEntry):\n    def __init__(self, first_name: str, last_name: str, age: int,\n                 height: float, companies: list[DBEntry]):\n        DBEntry.__init__(self)\n        self.first_name = first_name\n        self.last_name = last_name\n        self.age = age\n        self.height = height\n        self.companies = companies\n\ndb = DB(\"customers\")\n\nc0 = Customer(\"Jeff\", \"Bezoz\", 42, 1.69,\n              [Company(\"Whole Foods\"), Company(\"Zappos\"),\n               Company(\"Ring\"), Company(\"twitch\")])\ndb.insert(c0)\n\nc0 = db.find_one({\n    \"first_name\": \"Jeff\",\n    \"last_name\": \"Bezoz\"\n})\n\nc0.companies.append(Company(\"Audible\"))\n\ndb.update(c0)\n```\n\n## installation\n\n```shell\npip3 install podb\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbdy%2Fpodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbdy%2Fpodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbdy%2Fpodb/lists"}