Skip to main content

A partly cythonized version of the python-can VectorBus

Project description

python-can-cvector

PyPI - Version PyPI - Python Version


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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

python_can_cvector-1.3.0-pp310-pypy310_pp73-win_amd64.whl (78.4 kB view hashes)

Uploaded PyPy Windows x86-64

python_can_cvector-1.3.0-pp39-pypy39_pp73-win_amd64.whl (78.4 kB view hashes)

Uploaded PyPy Windows x86-64

python_can_cvector-1.3.0-pp38-pypy38_pp73-win_amd64.whl (77.9 kB view hashes)

Uploaded PyPy Windows x86-64

python_can_cvector-1.3.0-pp37-pypy37_pp73-win_amd64.whl (77.8 kB view hashes)

Uploaded PyPy Windows x86-64

python_can_cvector-1.3.0-cp312-cp312-win_amd64.whl (81.1 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

python_can_cvector-1.3.0-cp312-cp312-win32.whl (78.8 kB view hashes)

Uploaded CPython 3.12 Windows x86

python_can_cvector-1.3.0-cp311-cp311-win_amd64.whl (81.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

python_can_cvector-1.3.0-cp311-cp311-win32.whl (79.3 kB view hashes)

Uploaded CPython 3.11 Windows x86

python_can_cvector-1.3.0-cp310-cp310-win_amd64.whl (81.0 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

python_can_cvector-1.3.0-cp310-cp310-win32.whl (79.0 kB view hashes)

Uploaded CPython 3.10 Windows x86

python_can_cvector-1.3.0-cp39-cp39-win_amd64.whl (82.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

python_can_cvector-1.3.0-cp39-cp39-win32.whl (80.3 kB view hashes)

Uploaded CPython 3.9 Windows x86

python_can_cvector-1.3.0-cp38-cp38-win_amd64.whl (82.4 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

python_can_cvector-1.3.0-cp38-cp38-win32.whl (80.3 kB view hashes)

Uploaded CPython 3.8 Windows x86

python_can_cvector-1.3.0-cp37-cp37m-win_amd64.whl (81.7 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

python_can_cvector-1.3.0-cp37-cp37m-win32.whl (79.6 kB view hashes)

Uploaded CPython 3.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page