A library for CBUS / VLCB communication
Project description
PyVLCB Python Software Library for CBUS / VLCB
This is a small software library for CBUS and VLCB using Python.
It's designed for use with the MERG CANUSB4 CBUS adapter.
Install
For most systems including a Raspberry Pi then Python is managed using virtual environment. To setup a virtual environment enter the following commands
mkdir ~/venv
python3 -m venv ~/venv/pyvlcb --system-site-packages
You will then need to run the following command to activate the virtual environment
source ~/venv/pyvlcb/bin/activate
To instally the latest release use
pip install pyvlcb
Development
The latest source code is available from GitHub. PyVLCB on GitHub.
Installing as a git submodule
To install the library, as a submodule in your own git project repository, then enter your project directory and run:
git submodule add https://github.com/penguintutor/pyvlcb.git lib/pyvlcb
pip install lib/pyvlcb
If you subsequently want to get the latest version of the library run a git pull then use the pip install command again.
Important To use as a submodule you must create your own git project first and install within the project folder.
Library Reference
See the link below for the library reference documentation PyVLCB Library Reference Documentation
Demo examples
Example code is stored within the demo folder available from GitHub. Copy these into your project folder to test the library and connectivity. The demos are created for a Raspberry Pi or other Linux computer. The USB port is hard-coded as /dev/ttyACM0 For other computers / USB ports then edit the python file directory and update the port statement.
More Details
For more details see: PenguinTutor PyVLCB library page
For an example of a program using this library see the PenguinTutor Pi SignalBox project page
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyvlcb-0.1.0.tar.gz.
File metadata
- Download URL: pyvlcb-0.1.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1a0d6125c50d562a4e4223b88a316fc83feda39885ef2c151deb270cc8c72d
|
|
| MD5 |
f98a29bc6fc9b4dee7a5129ea0e440af
|
|
| BLAKE2b-256 |
e8b2684ecdeb622a317169fde5754fe963980621d2a3da39c4c8ddc570b10118
|
Provenance
The following attestation bundles were made for pyvlcb-0.1.0.tar.gz:
Publisher:
publish.yml on penguintutor/pyvlcb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyvlcb-0.1.0.tar.gz -
Subject digest:
2c1a0d6125c50d562a4e4223b88a316fc83feda39885ef2c151deb270cc8c72d - Sigstore transparency entry: 908844009
- Sigstore integration time:
-
Permalink:
penguintutor/pyvlcb@4c1d7781533953230e11fb2b27ff1d018407e383 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/penguintutor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c1d7781533953230e11fb2b27ff1d018407e383 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyvlcb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyvlcb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11e83f6a254589346c5b7a2c5d79ac12fe38558a4640403f91182505dbcef5f2
|
|
| MD5 |
f590982a8da7b2ef034b6ad86b8629df
|
|
| BLAKE2b-256 |
daa027f0fffd1c3f7c87058ab071faf0c904eb814ed043b5dca71de07f92369a
|
Provenance
The following attestation bundles were made for pyvlcb-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on penguintutor/pyvlcb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyvlcb-0.1.0-py3-none-any.whl -
Subject digest:
11e83f6a254589346c5b7a2c5d79ac12fe38558a4640403f91182505dbcef5f2 - Sigstore transparency entry: 908844014
- Sigstore integration time:
-
Permalink:
penguintutor/pyvlcb@4c1d7781533953230e11fb2b27ff1d018407e383 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/penguintutor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c1d7781533953230e11fb2b27ff1d018407e383 -
Trigger Event:
release
-
Statement type: