Skip to main content

Canmatrix is a python package to read and write several CAN (Controller Area Network) database formats.

PyPI PyPI - Python Version Coverall GitHub issues

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 dump of the python object
.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 (dump of the python object)
.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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Metadata

Release files for testpypi-canmatrix 1.2.0

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

Source distribution (sdist)

Source distribution for testpypi-canmatrix 1.2.0
File Size Uploaded
testpypi_canmatrix-1.2.0.tar.gz 205.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for testpypi-canmatrix 1.2.0
File Interpreter ABI Platform
testpypi_canmatrix-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 406.0 kB

Release files / testpypi_canmatrix-1.2.0.tar.gz

Download URL testpypi_canmatrix-1.2.0.tar.gz
Size 205.0 kB
Tags Source
SHA-256 checksum
How to use checksums
da7c01e7b8adf862cb4b9c3c0dc0cbd174965a79330c98d3bd00d85e7b35fde6
BLAKE2b-256 checksum
How to use checksums
dc80563583a702632e1d23abe0f6cae78eb910d55162c06271773f76be1964e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 2, 2025.

Transparency log

Release files / testpypi_canmatrix-1.2.0-py3-none-any.whl

Download URL testpypi_canmatrix-1.2.0-py3-none-any.whl
Size 200.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
236938ce64ffcd7de08ae77ca96d752e8c5b6e61ab7182b941d9e93555088382
BLAKE2b-256 checksum
How to use checksums
ad21a9f291758b4e86a4cc3e851cc55f73c906b6246edb119a970eefab635a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

0.2.0

2 release files

0.0.0

2 release files

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