Metadata-Version: 2.1
Name: py_canoe
Version: 2.1.3
Summary: Python CANoe Package
Home-page: https://github.com/chaitu-ycr/py_canoe.git
License: LICENSE
Keywords: Vector,CANoe,py_canoe
Author: chaitu-ycr
Author-email: chaitu.ycr@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
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
Classifier: Topic :: Software Development :: Embedded Systems
Requires-Dist: pytest-html (>=4.1.1,<5.0.0)
Requires-Dist: pywin32 (>=306,<307)
Project-URL: Documentation, https://chaitu-ycr.github.io/py_canoe/
Project-URL: Repository, https://github.com/chaitu-ycr/py_canoe.git
Description-Content-Type: text/markdown

# About [py_canoe](https://github.com/chaitu-ycr/py_canoe)

Python 🐍 Package for controlling Vector CANoe 🛶 Tool

fork [this repo](https://github.com/chaitu-ycr/py_canoe/fork) and create pull request to contribute back to this project.

for ideas/discussions please create new discussion [here](https://github.com/chaitu-ycr/py_canoe/discussions)

create issue or request feature [here](https://github.com/chaitu-ycr/py_canoe/issues/new/choose)

## GitHub Releases 👉 [link](https://github.com/chaitu-ycr/py_canoe/releases)

## PyPi Package 👉 [link](https://pypi.org/project/py_canoe/)

## Prerequisites [link](https://chaitu-ycr.github.io/py_canoe/002_prerequisites/)

## Python environment setup instructions [link](https://chaitu-ycr.github.io/py_canoe/003_environment_setup/)

## Install [py_canoe](https://pypi.org/project/py_canoe/) package

```bat
pip install py_canoe --upgrade
```

## Documentation Links

### example use cases 👉 [link](https://chaitu-ycr.github.io/py_canoe/004_usage/)

### package reference doc 👉 [link](https://chaitu-ycr.github.io/py_canoe/999_reference/)

## Sample Example

```python
# Import CANoe module
from py_canoe import CANoe

# create CANoe object
canoe_inst = CANoe()

# open CANoe configuration. Replace canoe_cfg with yours.
canoe_inst.open(canoe_cfg=r'tests\demo_cfg\demo.cfg')

# print installed CANoe application version
canoe_inst.get_canoe_version_info()

# Start CANoe measurement
canoe_inst.start_measurement()

# get signal value. Replace arguments with your message and signal data.
sig_val = canoe_inst.get_signal_value('CAN', 1, 'LightState', 'FlashLight')
print(sig_val)

# Stop CANoe Measurement
canoe_inst.stop_measurement()

# Quit / Close CANoe configuration
canoe_inst.quit()
```

