{"id":34082611,"url":"https://github.com/divad1196/rundb","last_synced_at":"2026-05-08T03:15:11.439Z","repository":{"id":57463190,"uuid":"284317019","full_name":"divad1196/RunDB","owner":"divad1196","description":"Pseudo NoSQL Database. It is meant to help using configuration that could be edited by hand and gited","archived":false,"fork":false,"pushed_at":"2020-10-10T19:46:24.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-29T12:26:53.512Z","etag":null,"topics":["database","easy","easy-to-use","file","filesystem","json","nosql","python","python3","readable","tinydb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divad1196.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":"2020-08-01T18:30:56.000Z","updated_at":"2020-10-10T19:46:26.000Z","dependencies_parsed_at":"2022-09-10T23:02:07.812Z","dependency_job_id":null,"html_url":"https://github.com/divad1196/RunDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divad1196/RunDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divad1196%2FRunDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divad1196%2FRunDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divad1196%2FRunDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divad1196%2FRunDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divad1196","download_url":"https://codeload.github.com/divad1196/RunDB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divad1196%2FRunDB/sbom","scorecard":{"id":345144,"data":{"date":"2025-08-11","repo":{"name":"github.com/divad1196/RunDB","commit":"b0c3e90389f04e2fbb3e480d3625526612163b91"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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: GNU Affero General Public License v3.0: 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T06:52:47.545Z","repository_id":57463190,"created_at":"2025-08-18T06:52:47.545Z","updated_at":"2025-08-18T06:52:47.545Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27728261,"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","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"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":["database","easy","easy-to-use","file","filesystem","json","nosql","python","python3","readable","tinydb"],"created_at":"2025-12-14T12:21:57.384Z","updated_at":"2025-12-14T12:22:00.388Z","avatar_url":"https://github.com/divad1196.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RunDB\n\nRunDb is not exactly a database.\nIt is similar to [TinyDB](https://tinydb.readthedocs.io/en/stable/) on storing files as json.\n\nThe main point of this library is to help the user on storing and loading data.\n\n\n\n## Installation\n\n[Pypi Package](https://pypi.org/project/rundb/)\n\n```bash\npip3 install rundb\n```\n\n\n\n## Philosophy\n\n* NoSql with tools to simulate relational\n* Table are all fully loaded when declared\n* Query are done using python\n* Data are dict, they all have a unique key as a string\n\n\n\n### Quick Overview\n\n```python\nimport RunDB\nfrom pathlib import Path\nfrom RunDB.tools.serialization import call_kwargs\n\n# Path to DB folder\ndb_path = Path(\"testRunDB\")\n# Create the Database instance\ndb = RunDB.Database(db_path)\n\n# Get or Create User table, specifying the key as login (default is \"id\")\n# The key is used to find, if not explicitly given, the database id\nUser = db.table(\"user\", key=\"login\")\n\n# Same for Group table\nGroup = db.table(\n    \"group\",\n    key=\"name\",\n    one2many={\"users\": \"user\"}\n)\n\n# Create User 1\nu1 = User.append({\"login\": \"paul\"})  # With values\n\n# without values, \nu2 = User[\"Matthieu\"]\nu3 = User[\"Thomas\"]\n\nu1.age = 18\nu2.age = 20\nu3.age = 18\n\nres = User.filter(lambda user: user.age == 20)\n\nlist(User.records())\n\n\ntest= Group[\"test\"]\ntest.users.append(u1)\n\n\nadminGroup = Group.append({\n    \"name\": \"admin\",  # as the table key is \"name\", name will be poped\n})\n\n\ndb[\"test\"][\"new\"] = {\"name\": \"new data\"}  # Quick insert\n\n# Check if record has attribute age\n\"age\" in u1  # True\n\n# Get a dict\ndata = dict(u1.items())\n\ndb.dump_all()\n```\n\nNb: Database are simply Group of Table, We can register Tables from somewhere else or simply use a Table without Database object\n\n\n\n## Future\n\n* improve relational","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivad1196%2Frundb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivad1196%2Frundb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivad1196%2Frundb/lists"}