{"id":37072583,"url":"https://github.com/gvx/wurm","last_synced_at":"2026-01-14T08:31:28.946Z","repository":{"id":57477837,"uuid":"328152422","full_name":"gvx/wurm","owner":"gvx","description":"A simple sqlite3-based ORM for Python","archived":false,"fork":false,"pushed_at":"2021-05-26T15:34:14.000Z","size":90,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T11:49:12.950Z","etag":null,"topics":["orm","python3","sql","sqlite3"],"latest_commit_sha":null,"homepage":"https://wurm.readthedocs.io/","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/gvx.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-09T12:41:15.000Z","updated_at":"2021-09-04T21:58:43.000Z","dependencies_parsed_at":"2022-09-10T08:21:47.965Z","dependency_job_id":null,"html_url":"https://github.com/gvx/wurm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gvx/wurm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvx%2Fwurm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvx%2Fwurm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvx%2Fwurm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvx%2Fwurm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvx","download_url":"https://codeload.github.com/gvx/wurm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvx%2Fwurm/sbom","scorecard":{"id":450673,"data":{"date":"2025-08-11","repo":{"name":"github.com/gvx/wurm","commit":"c6702aee03785713035ed75632b3898f4fee1664"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-MIT:0","Info: FSF or OSI recognized license: MIT License: LICENSE-MIT:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}}]},"last_synced_at":"2025-08-19T08:07:47.640Z","repository_id":57477837,"created_at":"2025-08-19T08:07:47.640Z","updated_at":"2025-08-19T08:07:47.640Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:16:59.381Z","status":"ssl_error","status_checked_at":"2026-01-14T08:13:45.490Z","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":["orm","python3","sql","sqlite3"],"created_at":"2026-01-14T08:31:28.383Z","updated_at":"2026-01-14T08:31:28.937Z","avatar_url":"https://github.com/gvx.png","language":"Python","readme":"wurm\n====\n\nWurm is a simple sqlite3-based ORM.\n\n.. contents:: **Table of Contents**\n    :backlinks: none\n\nUsage\n-----\n\n.. code-block:: python\n\n    # create a table:\n\n    @dataclass\n    class Point(wurm.Table):\n        x: int\n        y: int\n\n    # types currently supported: int, str, bytes, bool, float, datetime.time,\n    #     datetime.date, datetime.datetime, pathlib.Path\n\n    # sqlite3 connections cannot be shared, so call setup_connection once per thread\n\n    wurm.setup_connection(sqlite3.connect(\":memory:\"))\n\n    # adding new instances to the database:\n\n    point = Point(1, 0)\n    print(point.rowid) # None\n    point.insert()\n    print(point.rowid) # 1\n\n    # making changes:\n\n    point.x = 2\n    point.commit()\n\n    # simple queries:\n\n    point = Point.query(rowid=1).one() # get by rowid\n    Point.query(rowid=1).delete() # delete by rowid\n    point.delete() # delete from an object\n    all_points = list(Point) # iterate over a table to get instances for all rows\n    number_of_points = len(Point) # get the total number of rows in the table\n\n\n\nInstallation\n------------\n\nwurm is distributed on `PyPI \u003chttps://pypi.org\u003e`_ as a universal\nwheel and is available on Linux/macOS and Windows and supports\nPython 3.7+.\n\n.. code-block:: bash\n\n    $ pip install wurm\n\nChangelog\n---------\n\n0.1.0\n=====\n\n* Add ``wurm.Table.query()`` and ``wurm.Query``.\n* Remove ``wurm.Table[rowid]`` getter and deleter.\n* Add documentation for the public interface.\n\n0.0.2\n=====\n\n* Ensure tables are created, even in edge cases.\n* Add support for ``date``, ``time``, ``datetime`` and ``Path``.\n* Add ``wurm.Unique[T]``.\n\n\nLicense\n-------\n\nwurm is distributed under the terms of the\n`MIT License \u003chttps://choosealicense.com/licenses/mit\u003e`_.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgvx%2Fwurm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgvx%2Fwurm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgvx%2Fwurm/lists"}