{"id":42557471,"url":"https://github.com/TeamSpen210/srctools","last_synced_at":"2026-02-20T03:00:28.419Z","repository":{"id":42417625,"uuid":"60130807","full_name":"TeamSpen210/srctools","owner":"TeamSpen210","description":"Modules for working with Valve's Source Engine file formats.","archived":false,"fork":false,"pushed_at":"2026-01-30T23:03:49.000Z","size":18950,"stargazers_count":80,"open_issues_count":8,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-31T14:57:11.933Z","etag":null,"topics":["file-formats","python","source-engine"],"latest_commit_sha":null,"homepage":"https://srctools.readthedocs.io/en/stable/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TeamSpen210.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,"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":"2016-05-31T23:36:26.000Z","updated_at":"2026-01-30T23:03:52.000Z","dependencies_parsed_at":"2023-10-14T19:22:16.562Z","dependency_job_id":"c6909ec9-dbd9-42e4-a869-4ff6842afff4","html_url":"https://github.com/TeamSpen210/srctools","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/TeamSpen210/srctools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamSpen210%2Fsrctools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamSpen210%2Fsrctools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamSpen210%2Fsrctools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamSpen210%2Fsrctools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeamSpen210","download_url":"https://codeload.github.com/TeamSpen210/srctools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamSpen210%2Fsrctools/sbom","scorecard":{"id":138438,"data":{"date":"2025-08-11","repo":{"name":"github.com/TeamSpen210/srctools","commit":"1382a42659a93d046298ea201fe95b54c17becd2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"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":10,"reason":"30 commit(s) and 2 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":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/build-wheels.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-wheels.yml:15","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/run-tests.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/run-tests.yml:12","Info: topLevel 'contents' permission set to 'read': .github/workflows/run-tools.yml:12","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/run-tools.yml:13","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":"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":"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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":"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/build-wheels.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-wheels.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/build-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/run-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/run-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tools.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/run-tools.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tools.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/TeamSpen210/srctools/run-tools.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/run-tests.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/run-tests.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/run-tools.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/run-tools.yml:40","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand 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":"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":"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":"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":"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"}}]},"last_synced_at":"2025-08-16T07:17:18.171Z","repository_id":42417625,"created_at":"2025-08-16T07:17:18.171Z","updated_at":"2025-08-16T07:17:18.171Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29639808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"online","status_checked_at":"2026-02-20T02:00:07.535Z","response_time":59,"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":["file-formats","python","source-engine"],"created_at":"2026-01-28T20:00:26.599Z","updated_at":"2026-02-20T03:00:28.412Z","avatar_url":"https://github.com/TeamSpen210.png","language":"Python","funding_links":[],"categories":["⚙️ Engines"],"sub_categories":["Source (Valve)"],"readme":"# `srctools`\n\n[![Documentation Status](https://readthedocs.org/projects/srctools/badge/?version=latest)](https://srctools.readthedocs.io/en/latest/?badge=latest)\n\nModules for working with Valve's Source Engine file formats, as well as a \nvariety of tools using these.\n\n## Installation\nSimply `pip install srctools`, you'll need Python 3.8+.\n\n## Core Modules:\n\n* `math`: Core vector, angles and matrix classes, with Cython accelerated versions.\n* `cmdseq`: Reads and writes Hammer's expert compile command list format.\n* `filesys`: Allows accessing VPKs, zips, folders etc using a unified interface, \nas well as a prioritised chain like the engine's game folder system.\n* `logger`: Wrappers around the `logging` module allowing `str.format` interpolation support, among others.\n* `const`: Various shared constants and enums.\n* `tokenizer`: Cython-accelerated tokenizer for parsing the various text files.\n* `binformat`: Some tools for handling binary file formats.\n\n## File formats:\n* `keyvalues`: Reads and writes KeyValues1 property trees.\n* `dmx`: Reads and writes DMX / KeyValues2 format files.\n* `vmf`: Reads and writes VMF map files.\n* `bsp`: Reads and writes compiled BSP maps files. \n* `fgd`: Reads and writes FGD entity definitions. \nA compressed database of definitions from most games is also included, from [HammerAddons]. \nNote that this parses a superset of the FGD format, including \"tags\" to allow specifying which entities and keyvalues are supported for different engine branches.\n* `mdl`: Reads some parts of compiled MDL/VTX/VVD/PHY models.\n* `smd`: Reads and writes SMD geometry data.\n* `sndscript`: Reads and writes soundscripts.\n* `vmt`: Reads and writes VMT material files.\n* `vpk`: Reads and writes VPK packages.\n* `vtf`: Reads and writes VTF images, including DXT compression.\n* `particles`: Reads and writes PCF particle systems.\n\n## Tools:\n* `game`: Parses `gameinfo.txt` files, and handles accessing the searchpaths.\n* `instancing`: Implements logic for collapsing `func_instance` into maps.\n* `packlist`: Stores a list of files of various types, then computes dependencies recursively. \nThis also includes a database of resources required by game code for different entity classes.\n* `run`: Code to run a compiler, logging the output as it executes while still storing it.\n\n[HammerAddons]: https://github.com/TeamSpen/HammerAddons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTeamSpen210%2Fsrctools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTeamSpen210%2Fsrctools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTeamSpen210%2Fsrctools/lists"}