{"id":31225160,"url":"https://github.com/pylhc/sdds","last_synced_at":"2025-09-22T00:41:04.286Z","repository":{"id":34200532,"uuid":"171462489","full_name":"pylhc/sdds","owner":"pylhc","description":"Python 3 package to handle SDDS files","archived":false,"fork":false,"pushed_at":"2025-07-25T10:35:35.000Z","size":7325,"stargazers_count":9,"open_issues_count":3,"forks_count":4,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-08-01T16:37:51.538Z","etag":null,"topics":["python","read-write","sdds","sdds-format"],"latest_commit_sha":null,"homepage":"https://pylhc.github.io/sdds/","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/pylhc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":".zenodo.json"}},"created_at":"2019-02-19T11:33:15.000Z","updated_at":"2025-07-24T10:16:51.000Z","dependencies_parsed_at":"2025-07-24T10:13:12.504Z","dependency_job_id":null,"html_url":"https://github.com/pylhc/sdds","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/pylhc/sdds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2Fsdds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2Fsdds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2Fsdds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2Fsdds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pylhc","download_url":"https://codeload.github.com/pylhc/sdds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2Fsdds/sbom","scorecard":{"id":751548,"data":{"date":"2025-08-11","repo":{"name":"github.com/pylhc/sdds","commit":"0ab5792937990e5a907e5ae7bb4e42a4c95d008d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Maintained","score":0,"reason":"1 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/pylhc/sdds/coverage.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cron.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/pylhc/sdds/cron.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/documentation.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/pylhc/sdds/documentation.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/pylhc/sdds/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/pylhc/sdds/tests.yml/master?enable=pin","Info:   0 out of   5 third-party GitHubAction 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/coverage.yml:1","Warn: no topLevel permission defined: .github/workflows/cron.yml:1","Warn: no topLevel permission defined: .github/workflows/documentation.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.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":"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":-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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-22T20:31:36.339Z","repository_id":34200532,"created_at":"2025-08-22T20:31:36.339Z","updated_at":"2025-08-22T20:31:36.339Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273761409,"owners_count":25163248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":["python","read-write","sdds","sdds-format"],"created_at":"2025-09-22T00:41:03.212Z","updated_at":"2025-09-22T00:41:04.278Z","avatar_url":"https://github.com/pylhc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDDS\n[![Cron Testing](https://github.com/pylhc/sdds/workflows/Cron%20Testing/badge.svg)](https://github.com/pylhc/sdds/actions?query=workflow%3A%22Cron+Testing%22)\n[![Code Climate coverage](https://img.shields.io/codeclimate/coverage/pylhc/sdds.svg?style=popout)](https://codeclimate.com/github/pylhc/sdds)\n[![Code Climate maintainability (percentage)](https://img.shields.io/codeclimate/maintainability-percentage/pylhc/sdds.svg?style=popout)](https://codeclimate.com/github/pylhc/sdds)\n\u003c!-- [![GitHub last commit](https://img.shields.io/github/last-commit/pylhc/sdds.svg?style=popout)](https://github.com/pylhc/sdds/) --\u003e\n[![PyPI Version](https://img.shields.io/pypi/v/sdds?label=PyPI\u0026logo=pypi)](https://pypi.org/project/sdds/)\n[![GitHub release](https://img.shields.io/github/v/release/pylhc/sdds?logo=github)](https://github.com/pylhc/sdds/)\n[![Conda-forge Version](https://img.shields.io/conda/vn/conda-forge/sdds?color=orange\u0026logo=anaconda)](https://anaconda.org/conda-forge/sdds)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5705820.svg)](https://doi.org/10.5281/zenodo.5705820)\n\nThis package provides reading and writing functionality for [**self describing data sets (sdds)**](https://ops.aps.anl.gov/SDDSIntroTalk/slides.html) files.\nOn the python side, the data is stored in a class structure with attributes corresponding to the sdds-format itself (see [sdds-format](https://ops.aps.anl.gov/manuals/SDDStoolkit/SDDStoolkitsu2.html)). \n\nSee the [API documentation](https://pylhc.github.io/sdds/) for details.\n\n## Installing\n\nInstallation is easily done via `pip`:\n```bash\npython -m pip install sdds\n```\n\nOne can also install in a `conda` environment via the `conda-forge` channel with:\n```bash\nconda install -c conda-forge sdds\n```\n\n## Example Usage\n\n```python\nimport sdds\n\nsdds_data = sdds.read(\"path_to_input.sdds\")\nsdds.write(sdds_data, \"path_to_output.sdds\")\n```\n\n### Read files with different endianness\n\nBy default the endianness (byte order) of the file is determined either by\na comment `!# little-endian` or `!# big-endian` in the header of the file.\nIf this comment is not found, the endianness of the running machine is assumed.\n\nOne can force a certain kind of endianness to the reader by supplying it to \nthe read function:\n\n```python\nimport sdds\n\nsdds_data = sdds.read(\"path_to_input_with_big_endian.sdds\", endianness=\"big\")\nsdds_data = sdds.read(\"path_to_input_with_little_endian.sdds\", endianness=\"little\")\n```\n\nBe aware that `sdds.write` will always write the file in big-endian order and \nwill also leave a comment in the file, so that the reader can determine the\nendianness and there is no need to supply it when reading \na file written by this package.\n\n## Known Issues\n\n- Can't read binary columns\n- No support for `\u0026include` tag\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylhc%2Fsdds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpylhc%2Fsdds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylhc%2Fsdds/lists"}