{"id":34038872,"url":"https://github.com/cpetrich/zs2decode","last_synced_at":"2026-04-08T13:31:47.552Z","repository":{"id":41209184,"uuid":"47536799","full_name":"cpetrich/zs2decode","owner":"cpetrich","description":"zs2decode decodes Zwick zs2 files","archived":false,"fork":false,"pushed_at":"2025-04-02T21:32:59.000Z","size":193,"stargazers_count":13,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-15T13:19:46.322Z","etag":null,"topics":["file-conversion","file-format","python","xml"],"latest_commit_sha":null,"homepage":null,"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/cpetrich.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.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}},"created_at":"2015-12-07T07:37:24.000Z","updated_at":"2025-04-02T21:33:03.000Z","dependencies_parsed_at":"2025-03-18T23:35:59.131Z","dependency_job_id":null,"html_url":"https://github.com/cpetrich/zs2decode","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cpetrich/zs2decode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpetrich%2Fzs2decode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpetrich%2Fzs2decode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpetrich%2Fzs2decode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpetrich%2Fzs2decode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpetrich","download_url":"https://codeload.github.com/cpetrich/zs2decode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpetrich%2Fzs2decode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"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":["file-conversion","file-format","python","xml"],"created_at":"2025-12-13T21:10:00.165Z","updated_at":"2026-04-08T13:31:47.543Z","avatar_url":"https://github.com/cpetrich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"zs2decode\n#########\n\nzs2decode is a Python (2.7, 3.4 - current) implementation of a\ndecoder for Zwick ``zs2`` files.\n\n``zs2`` files contain measurements and meta data. zs2decode is able to\nparse these files. It contains support functions to output the result as\ntext file or XML for further processing.\nThe following script converts a ``zs2`` file into XML::\n\n    import zs2decode.parser\n    import zs2decode.util\n\n    zs2_file_name = 'my_data_file.zs2'\n    xml_output_file = 'my_data_file.xml'\n\n    # load and decompress file\n    data_stream = zs2decode.parser.load(zs2_file_name)\n    # separate binary data stream into chunks\n    raw_chunks = zs2decode.parser.data_stream_to_chunks(data_stream)\n    # convert binary chunk data into lists of Python objects\n    chunks = zs2decode.parser.parse_chunks(raw_chunks)\n    # output as text file\n    with open(xml_output_file, 'wb') as f:\n        f.write( zs2decode.util.chunks_to_XML(chunks) )\n\n\nAn example script to extract measurement time series from the XML is\nprovided in the ``examples`` folder.\n\nDocumentation is available at `\u003chttp://zs2decode.readthedocs.org/\u003e`_\nand source code at `\u003chttps://github.com/cpetrich/zs2decode.git\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpetrich%2Fzs2decode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpetrich%2Fzs2decode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpetrich%2Fzs2decode/lists"}