Canmatrix is a python package to read and write several CAN (Controller Area Network) database formats.
About
Canmatrix implements a "Python Can Matrix Object" which describes the can-communication and the needed objects (Boardunits, Frames, Signals, Values, ...) Canmatrix also includes two Tools (canconvert and cancompare) for converting and comparing CAN databases.
- Multiple formats automotive related communication matrix file parsing.
- CAN message encoding and decoding.
Supported file formats for import:
.dbc candb / Vector
.dbf Busmaster (open source!)
.kcd kayak (open source!)
.arxml autosar system description
.yaml structured export/import (same structure as json)
.xls(x) excel xls-import, works with .xls-file generated by this lib
.sym peak pcan can description
.xml (fibex or CANopen eds)
.ldf (lin bus)
.odx (diagnostic file)
.eds
Supported file formats for export:
.dbc
.dbf
.kcd
.xls(x)
.json Canard (open source!)
.arxml (very basic implementation)
.yaml structured export/import (same structure as json)
.sym
.xml (fibex)
.lua (wireshark script)
.scapy
Project Homepage: https://github.com/ebroecker/canmatrix
Documentation: https://canmatrix.readthedocs.io
Installation
https://canmatrix.readthedocs.io/en/latest/installation.html
Chinese Translation / 安装中文方法解释及注意事项
Contributing
Source Code, Documentation, Examples, Report issues and Any other contributions are extremely appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Metadata
Release files for canmatrix 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| canmatrix-1.3.3.tar.gz | 227.0 kB | With provenance | Details for canmatrix-1.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| canmatrix-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for canmatrix-1.3.3-py3-none-any.whl |
Total release size: 457.9 kB
Release files / canmatrix-1.3.3.tar.gz
| Download URL | canmatrix-1.3.3.tar.gz |
|---|---|
| Size | 227.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9af8f0a655277402c1fe2a5e2a8e8d5021e5c19e86f647f47b0c2aa209597ebb
|
|
BLAKE2b-256 checksum How to use checksums |
51a1d1ce5b1bcb24669b0c2916996ad81dd2116e37e0ab9142821da77a986767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / canmatrix-1.3.3-py3-none-any.whl
| Download URL | canmatrix-1.3.3-py3-none-any.whl |
|---|---|
| Size | 230.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a67ba771f37445c9af481dd14c662cd65ee11b212cf19e37a795396d1d373011
|
|
BLAKE2b-256 checksum How to use checksums |
6e498e51b4632d93dd7b79fb1b4173f0118977c5da21e2c9d05dee11ae4d3ab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for canmatrix 1.3.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for canmatrix-1.3.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA 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.