{"id":20065449,"url":"https://github.com/nens/threedi-modelchecker","last_synced_at":"2026-02-12T10:15:13.225Z","repository":{"id":34925520,"uuid":"177992272","full_name":"nens/threedi-modelchecker","owner":"nens","description":"Tool to verify the correctness of a 3Di model","archived":false,"fork":false,"pushed_at":"2026-02-10T13:22:57.000Z","size":8186,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-02-10T18:15:11.472Z","etag":null,"topics":["library","threedi"],"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/nens.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","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":"2019-03-27T12:41:30.000Z","updated_at":"2026-02-10T13:23:01.000Z","dependencies_parsed_at":"2026-01-28T17:02:04.118Z","dependency_job_id":null,"html_url":"https://github.com/nens/threedi-modelchecker","commit_stats":{"total_commits":494,"total_committers":11,"mean_commits":44.90909090909091,"dds":0.6518218623481782,"last_synced_commit":"8ec5203260021f7ce3997402b01aa7c3ada37261"},"previous_names":[],"tags_count":138,"template":false,"template_full_name":null,"purl":"pkg:github/nens/threedi-modelchecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nens%2Fthreedi-modelchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nens%2Fthreedi-modelchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nens%2Fthreedi-modelchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nens%2Fthreedi-modelchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nens","download_url":"https://codeload.github.com/nens/threedi-modelchecker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nens%2Fthreedi-modelchecker/sbom","scorecard":{"id":650970,"data":{"date":"2025-08-11","repo":{"name":"github.com/nens/threedi-modelchecker","commit":"55c2ca2e270cc6d38197a4020985861f28ab0cb0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/21 approved changesets -- score normalized to 2","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":"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":"Maintained","score":10,"reason":"30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/nens/threedi-modelchecker/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Docker/Dockerfile:1: pin your Docker image by updating python:3.9-slim-bullseye to python:3.9-slim-bullseye@sha256:b9e06687fbfc57f6fe563e94e4c8751e39513dde89afc120dc6f56afe5ffc761","Warn: pipCommand not pinned by hash: Docker/Dockerfile:14","Warn: pipCommand not pinned by hash: Docker/Dockerfile:15","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:34","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:68","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:69","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:70","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:42"],"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":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52"],"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-21T13:30:01.124Z","repository_id":34925520,"created_at":"2025-08-21T13:30:01.124Z","updated_at":"2025-08-21T13:30:01.124Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":["library","threedi"],"created_at":"2024-11-13T13:50:38.863Z","updated_at":"2026-02-12T10:15:13.208Z","avatar_url":"https://github.com/nens.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"threedi-modelchecker\n====================\n\n.. image:: https://img.shields.io/pypi/v/threedi-modelchecker.svg\n        :target: https://pypi.org/project/threedi-modelchecker/\n\n.. image:: https://github.com/nens/threedi-modelchecker/actions/workflows/test.yml/badge.svg\n\t:alt: Github Actions status\n\t:target: https://github.com/nens/threedi-modelchecker/actions/workflows/test.yml\n\n\nA tool to verify the correctness of a 3Di schematisation.\n\nIt asserts the correctness of a 3Di schematisation and provides detailed \ninformation about any potential errors in it.\n\nThis package only work against a specific schematisation version. Use https://pypi.org/project/threedi-schema/ to upgrade\na schematisation version. See also the 3Di documentation at https://docs.3di.lizard.net/en/stable/d_before_you_begin.html#database-overview\n\nNote that the name \"modelchecker\" might be slightly confusing: the thing that is checked is a schematisation, and not\na threedimodel. A schematisation is built interactively by the user and this schematisation will be converted to a\n3Di-Model which can be used in simulations.\n\nInstallation\n------------\n\n    pip install threedi-modelchecker\n\nNote that raster checks will be skipped unless GDAL is available.\n``threedi-modelchecker`` is also integrated into the ThreediToolbox Qgis plugin: https://github.com/nens/ThreeDiToolbox\n\nExample\n-------\n\nThe following code sample shows how you can use the modelchecker to run all configured\nchecks and print an overview of all discovered errors::\n\n    from threedi_modelchecker.exporters import format_check_results\n    from threedi_modelchecker import ThreediModelChecker\n    from threedi_schema import ThreediDatabase\n\n    sqlite_file = \"\u003cPath to your sqlite file\u003e\"\n    database = ThreediDatabase(sqlite_file)\n\n    model_checker = ThreediModelChecker(database)\n    for check, error in model_checker.errors(level=\"WARNING\"):\n        print(format_check_results(check, error))\n\n\nCommand-line interface\n----------------------\n\nUse the modelchecker from the command line as follows::\n\n    threedi_modelchecker check -s path/to/model.sqlite -l warning \n\nBy default, WARNING and INFO checks are ignored. To skip the beta features check,\nadd the --allow-beta flag.\n\n\nDevelopment\n-----------\n\nA docker image has been created for easy development. It contains an postgis \nserver with an empty 3Di database to allow for easy testing.\n\nBuild the image:\n\n    docker-compose build\n\nRun the tests:\n\n    docker-compose run modelchecker pytest\n\nSee `Creating revisions \u003chttps://github.com/nens/threedi-schema/blob/master/threedi_schema/migrations/README.rst\u003e`_ for \ninstructions on how to change the 3Di model schematisation.\n\nRelease\n-------\n\nMake sure you have zestreleaser_ installed.\n\n    fullrelease\n\nWhen you created a tag, make sure to upload it to pypi_.\n\n.. _zestreleaser: https://zestreleaser.readthedocs.io/en/latest/\n.. _pypi: https://pypi.org/project/threedi-modelchecker/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnens%2Fthreedi-modelchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnens%2Fthreedi-modelchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnens%2Fthreedi-modelchecker/lists"}