{"id":44039532,"url":"https://github.com/pxntus/puslib","last_synced_at":"2026-02-07T20:14:35.382Z","repository":{"id":62578347,"uuid":"350828053","full_name":"pxntus/puslib","owner":"pxntus","description":"ECSS Packet Utilization Standard implementation.","archived":false,"fork":false,"pushed_at":"2025-03-30T17:06:56.000Z","size":176,"stargazers_count":23,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-08T06:28:23.688Z","etag":null,"topics":["aerospace","ccsds","ecss","mission-control","satellite","satellites","space","spacecraft"],"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/pxntus.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}},"created_at":"2021-03-23T19:09:43.000Z","updated_at":"2025-11-07T08:57:15.000Z","dependencies_parsed_at":"2025-03-22T10:22:41.977Z","dependency_job_id":"a00c1ca8-e9b9-4c34-866a-d84de1e363f9","html_url":"https://github.com/pxntus/puslib","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pxntus/puslib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxntus%2Fpuslib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxntus%2Fpuslib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxntus%2Fpuslib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxntus%2Fpuslib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pxntus","download_url":"https://codeload.github.com/pxntus/puslib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxntus%2Fpuslib/sbom","scorecard":{"id":751012,"data":{"date":"2025-08-11","repo":{"name":"github.com/pxntus/puslib","commit":"1e1149dff993eca4a4945fc7e46817709c153f62"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.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":"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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/pxntus/puslib/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/pxntus/puslib/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"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":"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":"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":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":"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"}},{"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 '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"}}]},"last_synced_at":"2025-08-22T20:22:22.632Z","repository_id":62578347,"created_at":"2025-08-22T20:22:22.632Z","updated_at":"2025-08-22T20:22:22.632Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29207441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T20:13:33.422Z","status":"ssl_error","status_checked_at":"2026-02-07T20:13:31.455Z","response_time":63,"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":["aerospace","ccsds","ecss","mission-control","satellite","satellites","space","spacecraft"],"created_at":"2026-02-07T20:14:35.309Z","updated_at":"2026-02-07T20:14:35.372Z","avatar_url":"https://github.com/pxntus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Puslib\n\n**Puslib** is a Python implementation of the telemetry and telecommand packet utilization standard (PUS). It is a standard widely used in the space industry for the purposes of remote monitoring and control of spacecraft subsystems and payloads.\n\nThis package is mainly intended for ground segment tools, e.g.:\n\n* data extraction and post-processing of telemetry.\n* simulators.\n* EGSE SW, and thus enabling the use of mission control systems for controling and monitoring of EGSE equipment.\n* enable Python based commanding for mission control systems and other PUS based systems.\n* mission-specific tools.\n* student projects.\n\n## Install\n\n```Shell\npip install puslib\n```\n\nPython 3.10 or later is required.\n\n## Basic Example\n\n```Python\nfrom datetime import datetime\nfrom functools import partial\n\nfrom puslib import packet\nfrom puslib import time\n\nMyTmPacket = partial(packet.PusTmPacket.deserialize,\n                     has_type_counter_field=False,\n                     has_destination_field=False)\nMyCucTime = partial(time.CucTime, 4, 2, has_preamble=False)\n\nwith open('telemetry.dump', 'rb') as f:\n    content = f.read()\n    data = memoryview(content)\n\n    offset = 0\n    cuc_time = MyCucTime()\n    while offset \u003c len(data):\n        packet_length, packet = MyTmPacket(data[offset:],\n                                           cuc_time,\n                                           validate_fields=False,\n                                           validate_pec=False)\n        offset += packet_length\n        if packet.service == 3 and packet.subservice == 25:\n            print(packet)\n```\n\n## Supported Features\n\n* CCSDS packet handling (telecommands and telemetry packets)\n* CCSDS Unsegmented Time Code (CUC) support\n* Policy handling of mission specific or implementation specific configurations\n* Simple abstraction of application processes\n* Streams for telemetry and telecommand I/O access\n* PUS Services:\n  * PUS 1: Request Verification\n  * PUS 3: Housekeeping (*partial support*)\n  * PUS 5: Event Reporting\n  * PUS 8: Function Management\n  * PUS 17: Test (*partial support*)\n  * PUS 20: On-board Parameter Management (*partial support*)\n\n## Links\n\n* [ECSS-E-ST-70-41C – Telemetry and telecommand packet utilization (15 April 2016)](https://ecss.nl/standard/ecss-e-st-70-41c-space-engineering-telemetry-and-telecommand-packet-utilization-15-april-2016/)\n* [CCSDS 301.0-B-4 – Time Code Formats](https://public.ccsds.org/Pubs/301x0b4e1.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxntus%2Fpuslib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpxntus%2Fpuslib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxntus%2Fpuslib/lists"}