Metadata-Version: 2.1
Name: candle-bus
Version: 1.1
Summary: Python Can plugin with windows candle driver.
Home-page: UNKNOWN
Author: song
Author-email: zhaosongy@126.com
Maintainer: robottime
Maintainer-email: lab@robottime.cn
License: MIT License
Keywords: candle,python_can,can
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: python-can <4.0,>=3.2.0

# Candle Interface as Python Can plugin

A plugin developed for [python-can](https://python-can.readthedocs.io/en/3.3.4/interfaces/socketcan.html) with [candle-driver](https://github.com/chemicstry/candle_driver)

## Install
`pip install candle-bus`

## Usage
```python
import can
bus = can.interface.Bus(bitrate=1000000, bustype='candle')

# send
msg = can.Message(arbitration_id=0x202, data=[0,1,2,3,4,5,6,7])
bus.send(msg)

#receive
message = bus.recv()
```

