A partly cythonized version of the python-can VectorBus
Project description
python-can-cvector
Table of Contents
Description
This package provides a Cython based version of the 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
pip install python-can-cvector
Usage
The class can be used either through the python-can API
from can import Bus
bus = Bus(interface="cvector", serial=100, channel=0)
or instantiated directly
from can_cvector import CVectorBus
bus = CVectorBus(serial=100, channel=0)
Read the python-can documentation to learn more.
Test
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:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\bin).
pip install build
python -m build .
License
python-can-cvector
is distributed under the terms of the LGPL-3.0-or-later 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.2.0-pp39-pypy39_pp73-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-pp39-pypy39_pp73-win_amd64.whl
- Upload date:
- Size: 77.7 kB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fa168ce8abf816a7e36f5262295675c8bcc85c0ff91593a9489c8020b1d8b02 |
|
MD5 | ce6d7d3dd23f50e935c1963f3da2fa64 |
|
BLAKE2b-256 | ed123b52aeb0e11a8b637eaa4bd2f4113840db6baa8e05356d6c6de7b207521c |
File details
Details for the file python_can_cvector-1.2.0-pp38-pypy38_pp73-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-pp38-pypy38_pp73-win_amd64.whl
- Upload date:
- Size: 77.8 kB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e376dc86de1e5dc830af5be63a55f774ec821c16e03d39ec66c48068a1d3634a |
|
MD5 | d1ffd5ed21bd6cedc62614cb946fab12 |
|
BLAKE2b-256 | a592ab1242a8336b245bfe5b97bf34a4c488a336051faebbac9ac426b46649f2 |
File details
Details for the file python_can_cvector-1.2.0-pp37-pypy37_pp73-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-pp37-pypy37_pp73-win_amd64.whl
- Upload date:
- Size: 77.8 kB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60e5cb4fb01816757569b4e54e2010ffef1467ef03f78eae1c37b1a232fd491 |
|
MD5 | 821db44c2aedca5aa571fb3a9082b7a6 |
|
BLAKE2b-256 | 03a0bc0fed62a0d625cf9a087efca2e1a05ceee6f4e3270b5f124d9f4081c5a2 |
File details
Details for the file python_can_cvector-1.2.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 81.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b26aa3398a623eb50f3880683fe543e5ba0d934ac87b12af4ebd3c3ac9ea6c |
|
MD5 | 64ffed2a260b57546f94323c7f51d563 |
|
BLAKE2b-256 | 318e077aedab4208f8bb67e1f54a70d336eb625d0be0b6e77508f3894acd1770 |
File details
Details for the file python_can_cvector-1.2.0-cp312-cp312-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp312-cp312-win32.whl
- Upload date:
- Size: 78.8 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935d46ce44a213abaecb80cb3459e37803fc4b213e6a99bd01426edeabfdeeb4 |
|
MD5 | 9a615ee707104fddc2933e15fa608146 |
|
BLAKE2b-256 | 8474f989bb8abd5df5536e15936c4ee6f44a3dc9efeda8a4524511eb9507b5ea |
File details
Details for the file python_can_cvector-1.2.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 80.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a27f03db3928fda64ae065511379cbecb3dd62da3c849fde0c95ffdb5b416ed1 |
|
MD5 | 08d7db7ab8a2874077ae563253b5897d |
|
BLAKE2b-256 | f76a214f4e5079c74cac7117b78369df92d5b0449ca4b257d7a71fa975ead6df |
File details
Details for the file python_can_cvector-1.2.0-cp311-cp311-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp311-cp311-win32.whl
- Upload date:
- Size: 79.2 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e414f920d0de9c2b1886ae4d49408c26bf50c87b7628c8971b274e1d6bcdf9 |
|
MD5 | 6f9d6fc9cd590f70bd34a5a337981ae4 |
|
BLAKE2b-256 | 0054f2319f63e64ba043da13ed8140141d56ece6a00fdca350d9a884aec7d25f |
File details
Details for the file python_can_cvector-1.2.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 80.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe069c18676abe6608b041addd15db9afcb17413c36f7a55e7d83e77e3df1a1b |
|
MD5 | 2e69c4755f40432a800de31cca6dbddf |
|
BLAKE2b-256 | 3d27bf55b22ca9174d1472e28852a437bb656498f68b561b4224189436dade4f |
File details
Details for the file python_can_cvector-1.2.0-cp310-cp310-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp310-cp310-win32.whl
- Upload date:
- Size: 78.9 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 849c299c484a157248728f2ae8e68d73075838d0da44a2ef11c64f0bc270b096 |
|
MD5 | f5b4f3af43275fce3a55083a249d0e30 |
|
BLAKE2b-256 | 702c298ea1cc1be08571d2aed47170d94d4d9ed19e24d08d73cdfefd22b36a77 |
File details
Details for the file python_can_cvector-1.2.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 82.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b94b6b334c0080854519632eab83f8dc4af5e9284eabfd96e290d3aec30aa48 |
|
MD5 | 1fcdc1586074026b7f8016a8722ddf7d |
|
BLAKE2b-256 | 44f5bcad864fbf6442308df3037bc1388bb52534c5a3666344de93fc9ee27d1f |
File details
Details for the file python_can_cvector-1.2.0-cp39-cp39-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp39-cp39-win32.whl
- Upload date:
- Size: 80.2 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b7f04e01fbd6920184c6c5b61197f7cecb3578c2250b583c2a5cd982b35f15 |
|
MD5 | 22f8e0a72c2be25daed8bfd1c2dcec78 |
|
BLAKE2b-256 | 7d7ef79e4cb9f69ac7f870d82241c62de95c5b5822ed67b3ba88b3a66787e8d5 |
File details
Details for the file python_can_cvector-1.2.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 82.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f68d723321e5dcff11085935cf9477dc1f97d3153f4256aa110822622d480d |
|
MD5 | 451fdffaad1330dd7467a71a4856e2df |
|
BLAKE2b-256 | 0f802ca295bc4037541f4e58935f75fa86d6d7bb2efd073951afae700a5c1782 |
File details
Details for the file python_can_cvector-1.2.0-cp38-cp38-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp38-cp38-win32.whl
- Upload date:
- Size: 80.2 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56cf1d6f8316e279f1671d24a962f78a7399f93051455a3edf841d1ab6c6235 |
|
MD5 | a4858f4da34f6ffccd95ba56b494d2b4 |
|
BLAKE2b-256 | d547b335d648e25e424cc084b8f10e283766f3733d7dde72861399768d5b2909 |
File details
Details for the file python_can_cvector-1.2.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 81.6 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3b61adf9260208fd774dca50d5600e3cd50071bdf7ad37e80aa6b4b9baeb07a |
|
MD5 | ccb8049b158f2aa1652b8b9076ee5d7d |
|
BLAKE2b-256 | 604efa4d5eab3eac61ef2641766486b718044fc77d686a322528c703e525efcb |
File details
Details for the file python_can_cvector-1.2.0-cp37-cp37m-win32.whl
.
File metadata
- Download URL: python_can_cvector-1.2.0-cp37-cp37m-win32.whl
- Upload date:
- Size: 79.5 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f537a38f7e4b5badbe40266b5c72edcdc25cd0dd852bfbc60529a3a691e9c7dd |
|
MD5 | bb9d5f44f3bca02bb45467a81c817d8e |
|
BLAKE2b-256 | bcf320be069b2720e9365865527115029e000d5a063e8139b58bb517960e88c1 |