Skip to main content

can-db-model

Shared Pydantic model + KCD/YAML loaders and serializers for CAN databases. Consumed by can-api-generator and kcd-merger.

Signal start and byte order

Signal.start of a little-endian signal is the bit number (byte*8 + bit, bit 0 = LSB of the byte) of its least significant bit. For a big-endian (Motorola) signal it is the bit number of its most significant bit, as cantools defines the start bit; the signal runs from there downwards and on to bit 7 of the next byte. YAML start means the same. In a KCD the big-endian offset is the Kayak one: start = 8*(offset//8) + 7 - offset%8 (the mapping is its own inverse), so a 32-bit serial sent MSB first in bytes 4..7 is offset="32" length="32" endianess="big", start = 39. occupied_bits() gives the bits a signal occupies; length and overlap checks use it.

Metadata

Release files for can-db-model 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for can-db-model 0.1.2
File Size Uploaded Provenance Actions
can_db_model-0.1.2.tar.gz 12.6 kB Without provenance Details for can_db_model-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for can-db-model 0.1.2
File Interpreter ABI Platform Actions
can_db_model-0.1.2-py3-none-any.whl Python 3 none any Details for can_db_model-0.1.2-py3-none-any.whl

Total release size: 24.0 kB

Release files / can_db_model-0.1.2.tar.gz

Download URL can_db_model-0.1.2.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2bcb0c5341539128c57e77f2bb137e5d320a9d4f8380498985c6a7ff122e25e9
BLAKE2b-256 checksum
How to use checksums
5f897846a31938c4eb07fc847a95b3e1d4dfa29aa8cf5867af946bd344e09d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"libc":{"lib":"glibc","version":"2.43"},"name":"Fedora Linux","version":"44"},"implementation":{"name":"CPython","version":"3.14.10"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.9 29 Sep 2026","python":"3.14.10","system":{"name":"Linux","release":"7.3.3-200.fc44.x86_64"}} HTTPX2/2.16.0

Release files / can_db_model-0.1.2-py3-none-any.whl

Download URL can_db_model-0.1.2-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6b7f712187bd6716468cfb02b4afba00ddf19e6d024e82dbb0e6a0d9d6db3d5
BLAKE2b-256 checksum
How to use checksums
7d18bdb4c355a8c76222648759baba2cf084ba4d692841e8e66133bc7151293f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"libc":{"lib":"glibc","version":"2.43"},"name":"Fedora Linux","version":"44"},"implementation":{"name":"CPython","version":"3.14.10"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.9 29 Sep 2026","python":"3.14.10","system":{"name":"Linux","release":"7.3.3-200.fc44.x86_64"}} HTTPX2/2.16.0

Security for can-db-model 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page