Generic Modules

This package contains generic components like exceptions or shared components like common CRCs.

CRC Submodule

This modules contains generic CRC support.

Exception Submodule

exception spacepackets.exceptions.BytesTooShortError(expected_len: int, bytes_len: int)

Bases: ValueError

When unpacking something from raw bytes, the length of the bytearray was too short.

spacepackets.exceptions.InvalidCrcCcitt16(data: bytes)

Deprecated since version 0.29.0: Use InvalidCrcCcitt16Error instead.

exception spacepackets.exceptions.InvalidCrcCcitt16Error(data: bytes)

Bases: Exception

Version Submodule

spacepackets.version.get_version() str

Retrieve the package version using the importlib.metadata API.