python-can overview

The python-can package has built-in support for CSS Electronics *.MF4 log-files (version 4.5.0 and later with the MF4 feature enabled).

The python-can library provides CAN-bus support for Python. It comes with a range of tools (similar to Linux can-utils) and provides an easy-to-use API for sending and receiving messages over CAN-buses and for working with CAN-bus log-files.

For more information on python-can, see https://python-can.readthedocs.io/en/v4.5.0/. At the time of writing, the current stable version of python-can is 4.5.0.

The python-can project only implements basic CAN-bus support. Several projects extend this functionality, adding support for e.g. J1939, CANopen, ISO-TP, UDS, XCP, and more. For a list of some extensions, see https://python-can.readthedocs.io/en/v4.5.0/other-tools.html.


Installation

The python-can package is installed from PyPi with pip.

$ pip install python-can[mf4]

Note

All script examples are tested with version 4.5.0 of python-can.