Metadata-Version: 2.5
Name: python-can-csscan-txt
Version: 2026.11.20
Summary: Read TXT log files from the CSS Electronics CLX000 CAN loggers through python-can
Project-URL: Homepage, https://csselectronics.com/
Project-URL: Source, https://github.com/CSS-Electronics/python-can-csscan-txt
Author: CSS Electronics
Author-email: contact@csselectronics.com
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Requires-Dist: python-can>=4.6.0
Provides-Extra: test
Requires-Dist: pytest>=8.0; extra == 'test'
Description-Content-Type: text/markdown

# python-can-csscan-txt

Read TXT log files from the [CSS Electronics](https://www.csselectronics.com/) CLX000 CAN loggers through [python-can](https://python-can.readthedocs.io/).

```
pip install python-can-csscan-txt
```

```python
import can

with can.LogReader("00000001.TXT") as reader:
    for msg in reader:
        print(msg)
```

The logger information from the file header is available through `LogFile`:

```python
from python_can_csscan_txt import LogFile

with LogFile("00000001.TXT") as reader:
    print(reader.get_metadata())  # id, hardware/firmware revision, session, split, bitrate
    for msg in reader:
        print(msg)
```
