{"id":13344393,"url":"https://github.com/kosarev/zx","last_synced_at":"2026-05-30T02:01:14.260Z","repository":{"id":57478632,"uuid":"106082566","full_name":"kosarev/zx","owner":"kosarev","description":"ZX Spectrum emulator in Python and C++","archived":false,"fork":false,"pushed_at":"2026-05-24T14:44:14.000Z","size":4217,"stargazers_count":21,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-24T16:23:32.420Z","etag":null,"topics":["converter","emulator","mit-license","python","rzx","rzx-playback","sinclair","sinclair-zx-spectrum","spectrum","spectrum-emulator","tape","z80","zx-spectrum","zx-spectrum-emulator","zxspectrum"],"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/kosarev.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":"2017-10-07T08:27:45.000Z","updated_at":"2026-05-24T14:44:17.000Z","dependencies_parsed_at":"2025-02-11T19:32:58.867Z","dependency_job_id":"95a97803-59f9-468d-b781-e87acfc682ad","html_url":"https://github.com/kosarev/zx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kosarev/zx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosarev%2Fzx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosarev%2Fzx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosarev%2Fzx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosarev%2Fzx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kosarev","download_url":"https://codeload.github.com/kosarev/zx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosarev%2Fzx/sbom","scorecard":{"id":567977,"data":{"date":"2025-08-11","repo":{"name":"github.com/kosarev/zx","commit":"dafa74bb273799c521709fa39af03e31ca808519"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"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":"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":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":"Maintained","score":10,"reason":"30 commit(s) and 0 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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.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":"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/python-package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/kosarev/zx/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/kosarev/zx/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:34","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:41","Info:   0 out of   2 GitHub-owned 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":"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":"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":"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":"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-20T15:30:08.081Z","repository_id":57478632,"created_at":"2025-08-20T15:30:08.081Z","updated_at":"2025-08-20T15:30:08.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33677261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":["converter","emulator","mit-license","python","rzx","rzx-playback","sinclair","sinclair-zx-spectrum","spectrum","spectrum-emulator","tape","z80","zx-spectrum","zx-spectrum-emulator","zxspectrum"],"created_at":"2024-07-29T19:33:08.642Z","updated_at":"2026-05-30T02:01:14.255Z","avatar_url":"https://github.com/kosarev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zx\nZX Spectrum emulation framework in Python and C++\n\n![Python package CI](https://github.com/kosarev/zx/actions/workflows/python-package.yml/badge.svg)\n\n![Elven](https://raw.githubusercontent.com/kosarev/zx/master/screenshots/elven.png \"Elven Warrior\")\n\n[More screenshots](https://github.com/kosarev/zx/tree/master/screenshots)\n\n\n### Features\n* Designed to be suitable for research and development purposes\n  such as unattended testing of Spectrum software, timing\n  analysis, etc.\n* Meant to be easy to customize and re-use via Python interfaces.\n* Fast and accurate emulation.\n* Based on the fast and flexible\n  [Z80 emulator](https://github.com/kosarev/z80).\n\n\n### Development status\n\n* Platforms: Linux and Windows (via SDL2).\n* General status: working pre-alpha.\n* Supported machines: 48K only for now.\n* Display: multi-colour effects,\n  [accurate timings](https://github.com/kosarev/zx/blob/master/test/screen_timing).\n* Sound: EAR beeper and tape output supported.\n* Tape: TAP and TZX formats supported as well as conversion to WAV.\n* Snapshots: Z80.\n* Playback recordings: RZX.\n* Joystick: D-Pad mapped to cursor keys, supported via SDL.\n\n\n### Installation and running\n\nFor the latest release:\n```shell\n$ pip install --upgrade pip\n$ pip install --upgrade setuptools wheel\n\n$ pip install zx\n```\n\nOr directly from the repository for current development version:\n```shell\n$ pip install --upgrade setuptools wheel\n$ pip install git+https://github.com/kosarev/zx\n```\n\nLocal development setups are also supported:\n```shell\n$ git clone --recursive https://github.com/kosarev/zx\n$ cd zx\n$ pip install --upgrade setuptools wheel\n$ pip install --editable .\n```\n\nRunning:\n```shell\n$ zx\n```\n\n\n### Controls\n\n`F1` displays help.\n\n`F2` is to save snapshot.\n\n`F3` is to load snapshot or tape file.\n\n`F6` pauses/resumes tape.\n\n`F10` quits the emulator.\n\n`F11` and double click switch between fullscreen and windowed mode.\n\n`PAUSE` and mouse click pause/resume emulation or RZX playback.\n\nAny Spectrum key stroke resumes emulation and leaves the RZX\nplayback mode back to the regular emulation mode.\n\n\n### Running snapshots, recordings and tapes\n\n```shell\n$ zx elven.z80\n```\n\n```shell\n$ zx exolon.rzx\n```\n\n```shell\n$ zx https://www.worldofspectrum.org/pub/sinclair/games/e/EricTheFloaters.tzx.zip\n```\n\n\n### Supported formats\n\nSnapshots: `.z80`.\n\nTapes: `.tap`, `.tzx`, `.wav`.\n\nPlaybacks: `.rzx`.\n\nScreenshots: `.scr`.\n\n[ZX Basic compiler](https://github.com/boriel/zxbasic) sources: `.zxb`.\n\nArchives: `.zip`.\n\n\n### Converting files\n\n```shell\n$ zx jack.tzx jack.wav\n```\n\n```shell\n$ zx eric.tap eric.z80\n```\n\n\n### Dumping files\n\n```shell\n$ zx dump rick.z80\nOrderedDict([('id', 'z80_snapshot'), ('a', 213), ('f', 66), ...\n```\n\nOn the `dump` command, **zx** parses the specified file (that can\nbe of any supported format) in the form of raw Python data.\n\n\n### Reference papers\n\n* [Screen timings](https://github.com/kosarev/zx/blob/master/test/screen_timing/SCREEN_TIMING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosarev%2Fzx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkosarev%2Fzx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosarev%2Fzx/lists"}