A partly cythonized version of the python-can VectorBus
Project description
# python-can-cvector
[![PyPI - Version](https://img.shields.io/pypi/v/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector)
Table of Contents
[Description](#description)
[Installation](#installation)
[Usage](#usage)
[Test](#test)
[Build](#build)
[License](#license)
## Description
This package provides a Cython based version of the [python-can](https://github.com/hardbyte/python-can) VectorBus. can_cvector.CVectorBus is a subclass of can.interfaces.vector.VectorBus which reimplements the send() and recv() methods for improved performance.
## Installation
`console pip install python-can-cvector `
## Usage
The class can be used either through the python-can API `python3 from can import Bus bus = Bus(interface="cvector", serial=100, channel=0) `
or instantiated directly `python3 from can_cvector import CVectorBus bus = CVectorBus(serial=100, channel=0) `
Read the [python-can documentation](https://python-can.readthedocs.io/en/master/) to learn more.
## Test
`console pip install pytest pytest ./tests `
## Build
To build python-can-cvector from source you need to set the environment variable VXLAPI_DIR which points to the directory which Vector XL Driver Library (e.g. C:UsersPublicDocumentsVectorXL Driver Library 20.30.14bin). `console pip install build python -m build . `
## License
python-can-cvector is distributed under the terms of the [LGPL-3.0-or-later](https://spdx.org/licenses/LGPL-3.0-or-later.html) license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file python_can_cvector-1.0.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 29.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c264326e5617cd6cbf2894034618f048ebad0b1f5ac7a0fb47cf788fec8ca0 |
|
MD5 | 34dd897f33d50fd00991a0e4264b71a5 |
|
BLAKE2b-256 | 6e6f8a02289a5b9810add035cb358111c57b3515c4cd279ea2b57e805f7702ea |
File details
Details for the file python_can_cvector-1.0.1-cp310-cp310-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp310-cp310-win32.whl
- Upload date:
- Size: 27.2 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e94de13f6926ac5fc664011368f2413df776e34dd57807d5e31f30f94becdf99 |
|
MD5 | 70d434b51e513c3a7a77ce8a5dea906a |
|
BLAKE2b-256 | 65d1771b1e473d523100a9fb42b941e9497c96623d96729fd2a3731ba0be16ce |
File details
Details for the file python_can_cvector-1.0.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 30.6 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edba22f099d7d9e94f9b870851454679a7569df9def52702af1f3adbcb130f4b |
|
MD5 | 299246d408ea8b6f148b8d9fccba76c5 |
|
BLAKE2b-256 | e77d8dab223427d06873235004f8bdb20c55a0694f081028aa8050bf2a386f3b |
File details
Details for the file python_can_cvector-1.0.1-cp39-cp39-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp39-cp39-win32.whl
- Upload date:
- Size: 28.2 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4625af1f3e61e4936656f6932ad7863a2504080f16bad2f913692ab9a7d2969b |
|
MD5 | b5917a1081ab325d04fde3c80adef2b4 |
|
BLAKE2b-256 | ee6be2cb76fbc9c1ff13a4a8f3c542355f9c5f339f0b1081f8875dbad929a5b3 |
File details
Details for the file python_can_cvector-1.0.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 30.6 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d0a0592aa913b613dfe36fb20530bc525486aa7db57042b65ac3d76092b437 |
|
MD5 | cae9a92efb03c4208d83590cd3ec8e3c |
|
BLAKE2b-256 | 44a0a1ca0db05acda8047167a39d74547d2a916f697f1a4c79969f11fc0d776e |
File details
Details for the file python_can_cvector-1.0.1-cp38-cp38-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp38-cp38-win32.whl
- Upload date:
- Size: 28.2 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d988beef555f73481c7148c1ecf8456c873cb8da048aec898c8bbf84883da27 |
|
MD5 | f0447186cd7e10e173dda94b03fd8f96 |
|
BLAKE2b-256 | 2912d10e711cbba8837ebf689be44e24ce829abbf4bac026ad680dbdba26038c |
File details
Details for the file python_can_cvector-1.0.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 29.9 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ded53b4b993fee5aea4d88fdc17f977bf82cfc185b243c1a0a7b87c04c152b |
|
MD5 | 47d8957feaf7782bb18a03f18fcd3e5d |
|
BLAKE2b-256 | 98db30025ce9d048348872293e0298f6754ef8c73f7d426e587ade03b2a3d65b |
File details
Details for the file python_can_cvector-1.0.1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.0.1-cp37-cp37m-win32.whl
- Upload date:
- Size: 27.8 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc5c9fd6196976585d50f98bb47de127fb0a98e6ec9dd644b669ca4d2bb90e37 |
|
MD5 | 0217c647fb6b48d97e8a5452ed195da3 |
|
BLAKE2b-256 | 1424fddbda7b242574e6dd1c2aa5e5ceefe2b3edd2327d62989511cd112d45a5 |