Skip to main content

python-can-csscan-serial

Adds the USB interface of CSS Electronics CLX000 and CANmod devices to python-can, as the interface csscan_serial.

pip install python-can-csscan-serial

Finding the serial port

The device is listed as a USB virtual serial port. Only one process can open a serial port at a time.

Device USB VID:PID
CLX000 series (e.g. CL2000) 1CBE:021A
CANmod series 04D8:EB18
  • Windows: Device Manager > Ports (COM & LPT), e.g. COM19.
  • Linux: e.g. /dev/ttyACM0. Run journalctl -f while connecting the device to see the assigned port.

python-can can also find the connected devices:

>>> can.detect_available_configs("csscan_serial")
[{'interface': 'csscan_serial', 'channel': '/dev/ttyACM0'}]

Usage

import can

with can.Bus(interface="csscan_serial", channel="/dev/ttyACM0") as bus:
    # Send a message
    bus.send(can.Message(arbitration_id=0x123, is_extended_id=False, data=[0x01, 0x23, 0x45, 0x67]))

    # Receive messages
    for msg in bus:
        print(msg)

The bit rate and other bus settings are set in the device configuration. python-can arguments such as bitrate are ignored.

The interface also works with the python-can command-line tools, e.g.:

can_logger --interface csscan_serial --channel /dev/ttyACM0
can_viewer --interface csscan_serial --channel /dev/ttyACM0
can_player --interface csscan_serial --channel /dev/ttyACM0 dump.log

Metadata

Release files for python-can-csscan-serial 2026.11.20

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

Source distribution (sdist)

Source distribution for python-can-csscan-serial 2026.11.20
File Size Uploaded Provenance Actions
python_can_csscan_serial-2026.11.20.tar.gz 10.4 kB Without provenance Details for python_can_csscan_serial-2026.11.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-can-csscan-serial 2026.11.20
File Interpreter ABI Platform Actions
python_can_csscan_serial-2026.11.20-py3-none-any.whl Python 3 none any Details for python_can_csscan_serial-2026.11.20-py3-none-any.whl

Total release size: 19.1 kB

Release files / python_can_csscan_serial-2026.11.20.tar.gz

Download URL python_can_csscan_serial-2026.11.20.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
997372bcd90bda0dbeac0649f3ab9f091755d368ba98741c3d3b01e8901c3ec4
BLAKE2b-256 checksum
How to use checksums
013803b52a2476a7db265c16ae8435f80d747d54ddc75be7e248639ebb9c5798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / python_can_csscan_serial-2026.11.20-py3-none-any.whl

Download URL python_can_csscan_serial-2026.11.20-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d94f32b41bbecfbeb7e7a3c5f05ab3b02f8907d1dac90d5e9ca6c78064af9001
BLAKE2b-256 checksum
How to use checksums
30202695af9bbef9e36373d022a3e44ef2c40951ff9f2794486d4ca6d346cc8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for python-can-csscan-serial 2026.11.20

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