Reasonably modern Linux Kernels (2.6.25 or newer) have an implementation
of socketcan. This version of python-can will directly use socketcan
if called with Python 3.3 or greater, otherwise that interface is used
via ctypes.

Note that PCANBasic API timestamps count seconds from system startup. To
convert these to epoch times, the uptime library is used. If it is not
available, the times are returned as number of seconds from system
startup. To install the uptime library, run pipinstalluptime.

This library can take advantage of the Python for Windows Extensions library if installed.
It will be used to get notified of new messages instead of
the CPU intensive polling that will otherwise have be used.

A “development” install of this package allows you to make changes locally
or pull updates from the Mercurial repository and use them without having to
reinstall. Download or clone the source repository then: