# 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()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/chaitu-ycr/py_canoe.git",
"name": "py_canoe",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "Vector, CANoe, py_canoe",
"author": "chaitu-ycr",
"author_email": "chaitu.ycr@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d4/18/1be14e4ef4b38975692fee62898d32fa884f3db451e59b9980dd80cc1aee/py_canoe-3.0.1.tar.gz",
"platform": null,
"description": "# About [py_canoe](https://github.com/chaitu-ycr/py_canoe)\n\nPython \ud83d\udc0d Package for controlling Vector CANoe \ud83d\udef6 Tool\n\nfork [this repo](https://github.com/chaitu-ycr/py_canoe/fork) and create pull request to contribute back to this project.\n\nfor ideas/discussions please create new discussion [here](https://github.com/chaitu-ycr/py_canoe/discussions)\n\ncreate issue or request feature [here](https://github.com/chaitu-ycr/py_canoe/issues/new/choose)\n\n## GitHub Releases \ud83d\udc49 [link](https://github.com/chaitu-ycr/py_canoe/releases)\n\n## PyPi Package \ud83d\udc49 [link](https://pypi.org/project/py_canoe/)\n\n## Prerequisites [link](https://chaitu-ycr.github.io/py_canoe/002_prerequisites/)\n\n## Python environment setup instructions [link](https://chaitu-ycr.github.io/py_canoe/003_environment_setup/)\n\n## Install [py_canoe](https://pypi.org/project/py_canoe/) package\n\n```bat\npip install py_canoe --upgrade\n```\n\n## Documentation Links\n\n### example use cases \ud83d\udc49 [link](https://chaitu-ycr.github.io/py_canoe/004_usage/)\n\n### package reference doc \ud83d\udc49 [link](https://chaitu-ycr.github.io/py_canoe/999_reference/)\n\n## Sample Example\n\n```python\n# Import CANoe module\nfrom py_canoe import CANoe\n\n# create CANoe object\ncanoe_inst = CANoe()\n\n# open CANoe configuration. Replace canoe_cfg with yours.\ncanoe_inst.open(canoe_cfg=r'tests\\demo_cfg\\demo.cfg')\n\n# print installed CANoe application version\ncanoe_inst.get_canoe_version_info()\n\n# Start CANoe measurement\ncanoe_inst.start_measurement()\n\n# get signal value. Replace arguments with your message and signal data.\nsig_val = canoe_inst.get_signal_value('CAN', 1, 'LightState', 'FlashLight')\nprint(sig_val)\n\n# Stop CANoe Measurement\ncanoe_inst.stop_measurement()\n\n# Quit / Close CANoe configuration\ncanoe_inst.quit()\n```\n",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "Python CANoe Package",
"version": "3.0.1",
"project_urls": {
"Documentation": "https://chaitu-ycr.github.io/py_canoe/",
"Homepage": "https://github.com/chaitu-ycr/py_canoe.git",
"Repository": "https://github.com/chaitu-ycr/py_canoe.git"
},
"split_keywords": [
"vector",
" canoe",
" py_canoe"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "baf6eddbc567ab4654da0b59ff6be1af6db955e8d25c5e44bbc9927ee758bf6b",
"md5": "125cbc3cd396b5fa1999ccf0e52ab489",
"sha256": "9417101661968842726dada775d6d650755a7b51750ef636cf314e24ce79c586"
},
"downloads": -1,
"filename": "py_canoe-3.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "125cbc3cd396b5fa1999ccf0e52ab489",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 19661,
"upload_time": "2024-12-11T02:02:18",
"upload_time_iso_8601": "2024-12-11T02:02:18.442271Z",
"url": "https://files.pythonhosted.org/packages/ba/f6/eddbc567ab4654da0b59ff6be1af6db955e8d25c5e44bbc9927ee758bf6b/py_canoe-3.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d4181be14e4ef4b38975692fee62898d32fa884f3db451e59b9980dd80cc1aee",
"md5": "f49a952020af2c101ccb8900b12fdb30",
"sha256": "9e00c72391ee6324fc24d3b4438e0fcb038f7ac286159feadb4fcd72798ce40a"
},
"downloads": -1,
"filename": "py_canoe-3.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f49a952020af2c101ccb8900b12fdb30",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 19220,
"upload_time": "2024-12-11T02:02:21",
"upload_time_iso_8601": "2024-12-11T02:02:21.177026Z",
"url": "https://files.pythonhosted.org/packages/d4/18/1be14e4ef4b38975692fee62898d32fa884f3db451e59b9980dd80cc1aee/py_canoe-3.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-11 02:02:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "chaitu-ycr",
"github_project": "py_canoe",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "py_canoe"
}