{"id":44613790,"url":"https://github.com/msg555/dustmaker","last_synced_at":"2026-02-14T12:09:39.065Z","repository":{"id":1617380,"uuid":"43264082","full_name":"msg555/dustmaker","owner":"msg555","description":"A library for reading and manipulating Dustforce level files","archived":false,"fork":false,"pushed_at":"2024-05-19T20:46:57.000Z","size":956,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-29T07:36:32.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msg555.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2015-09-27T20:40:05.000Z","updated_at":"2025-02-23T20:33:45.000Z","dependencies_parsed_at":"2024-05-19T21:27:04.805Z","dependency_job_id":"d909d595-dbb2-449d-b5b8-3f606084ebbe","html_url":"https://github.com/msg555/dustmaker","commit_stats":{"total_commits":63,"total_committers":3,"mean_commits":21.0,"dds":0.06349206349206349,"last_synced_commit":"fcbcf1a5e2afe70be8a57eca08bb957cff54c420"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/msg555/dustmaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msg555%2Fdustmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msg555%2Fdustmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msg555%2Fdustmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msg555%2Fdustmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msg555","download_url":"https://codeload.github.com/msg555/dustmaker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msg555%2Fdustmaker/sbom","scorecard":{"id":665592,"data":{"date":"2025-08-11","repo":{"name":"github.com/msg555/dustmaker","commit":"23305e8f6657fb6213e2f41e2b1140b2efeb25d2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"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":"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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"internal error: internal error: invalid Dockerfile","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dustmaker.yml:1","Warn: no topLevel permission defined: .github/workflows/tag.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":"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.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt: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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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 1 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-21T17:55:00.737Z","repository_id":1617380,"created_at":"2025-08-21T17:55:00.737Z","updated_at":"2025-08-21T17:55:00.737Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29443468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T10:51:12.367Z","status":"ssl_error","status_checked_at":"2026-02-14T10:50:52.088Z","response_time":53,"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":[],"created_at":"2026-02-14T12:09:38.349Z","updated_at":"2026-02-14T12:09:39.060Z","avatar_url":"https://github.com/msg555.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dustmaker\n=========\n\nDustmaker is a Python library for reading, manipulation, and writing\nbinary files used by Dustforce, primarily level files.\n\nDocumentation\n-------------\n\nDocumentation can be found at\n[https://dustmaker.readthedocs.io/en/latest/](https://dustmaker.readthedocs.io/en/latest/).\n\nInstallation\n------------\n\nInstall with pip through PyPi using\n\n    python -m pip install dustmaker\n\nor clone this repository and install using\n\n    ./setup.py install\n\nCommand Line Tool\n---------------------------\n\nDustmaker comes with a few command line tools that can be accessed through\nrunning the dustmaker module.\n\n```bash\n$ python -m dustmaker --help\n... listing of available utilities\n$ python -m dustmaker transform --upscale 2 downhill big_downhill\n... creates upscaled version of downhill and saves to \"big_downhill\"\n```\n\nExample: Creating a new level from scratch\n---------------------------\n\n```python\nfrom dustmaker.level import Level\nfrom dustmaker.tile import Tile, TileShape\nfrom dustmaker.dfwriter import DFWriter\n\n# Create a new empty level and add some tiles.\nlevel = Level()\nlevel.name = b\"my level!\"\nlevel.virtual_character = True\nfor i, shape in enumerate(TileShape):\n    level.tiles[(19, 2 * i, i)] = Tile(shape)\n\n# Automatically figure out edge solidity and connectivity flags\nlevel.calculate_edge_visibility()\nlevel.calculate_edge_caps()\n\n# Write level to a file\nwith DFWriter(open(\"mylevel.dflevel\", \"wb\")) as writer:\n    writer.write_level(level)\n```\n\nExample: Counting how many apples are in a level\n--------------------------\n\n```python\nfrom dustmaker.dfreader import DFReader\nfrom dustmaker.entity import Apple\n\nwith DFReader(open(\"mylevel.dflevel\", \"rb\")) as reader:\n    level = reader.read_level()\n\napples = 0\nfor x, y, entity in level.entities.values():\n    if isinstance(entity, Apple):\n        apples += 1\n\nprint(f\"Level has {apples} apples\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsg555%2Fdustmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsg555%2Fdustmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsg555%2Fdustmaker/lists"}