Ccsdspy

Latest version: v1.4.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.4.1

============================
* Updates the `ccsdspy.utils.validate()` function so that packets are split by APID before primary headers data is parsed. This change allows for more accurate validation of the primary headers and APIDs.
* This removes potentially misleading warnings from `read_primary_headers` for having multiple apids, having missing or out of order sequence counts.

1.4.0

============================
* Enhanced Docstrings to call out `Raises` and `Warns`
* Updated sphinx docs to include descriptions of file and packet checks when loading files.
* Introduced new `utils.validate()` function for high-level validation of CCSDS packet files:

* Checks file integrity (e.g., truncation or extra bytes) and header consistency.
* Returns a list of warnings or exceptions (e.g., "UserWarning: File appears truncated" or "UserWarning: Found unknown APID") encountered during validation.

* Supports optional `valid_apids` parameter to warn about unexpected APIDs.

1.3.3

============================
* Fix bug where `converters.PolyConverter` and `converters.LinearConverter` would raise an exception when the field array was unsigned and coefficient was negative (`Issue 132 <https://github.com/CCSDSPy/ccsdspy/issues/132>`_)

1.3.2

============================
* Add support for NumPy >2.0, while maintining support for <2.0
* Fix link to bluebook and update sequence control field

1.3.1

============================
* Pin NumPy under 2.0 to Dependencies (Support for NumPy 2 will come at a later date)

1.3.0

============================
* Added support for custom byte orderings in `ccsdspy.PacketField` and `ccsdspy.PacketArray`. You can now pass strings like `byte_order="3412"` in addition to `byte_order="big"` and `byte_order="little"`. (Discussion `110 <https://github.com/CCSDSPy/ccsdspy/discussions/110>`_)

* Implement loading variable length packets from CSV (`Issue 115 <https://github.com/CCSDSPy/ccsdspy/issues/115>`_)
* Add documentation page: :doc:`/user-guide/loadfile`
* Accept CCSDS header fields as converter inputs (`PR 118 <https://github.com/CCSDSPy/ccsdspy/pull/118>`_)
* Add support `pkt.load(fh, reset_file_obj=True)` keyword argument which resets file handle to original position before loading (`Issue 111 <https://github.com/CCSDSPy/ccsdspy/issues/111>`_)

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.