A library for CBUS / VLCB communication
Project description
PyVLCB Python Software Library for VLCB
This is a Python library for VLCB (Versatile Layout Control Bus). It implements the core communication protocols defined by the CBUS® protocol and includes extensions for the newer VLCB specifications.
It is designed for use with the MERG CANUSB4 CBUS adapter and other compatible hardware.
Install
For most systems including a Raspberry Pi then Python is managed using virtual environment.
Setup a virtual environment:
mkdir ~/venv
python3 -m venv ~/venv/pyvlcb --system-site-packages
Activate the virtual environment:
source ~/venv/pyvlcb/bin/activate
Install the latest release:
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
Note: To use as a submodule, you must create your own git project first and install within the project folder. To update, run git pull and repeat the pip install command.
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 on GitHub. Copy these into your project folder to test the library and connectivity.
- The demos are created for a Raspberry Pi or other Linux computers.
- The USB port is hard-coded as /dev/ttyACM0.
- For other computers or USB ports, edit the Python file and update the port statement.Example code is stored within the demo folder available from GitHub. Copy these into your project folder to test the library and connectivity.
More Details
- Project page: PenguinTutor PyVLCB library page
- Application example: PenguinTutor Pi SignalBox project page
Legal and Trademarks
- CBUS® is a registered trademark of Dr. Michael Bolton.
- This library is an independent implementation based on publicly available protocol documentation and is not officially affiliated with or endorsed by the trademark holder.
- All other trademarks are the property of their respective owners.
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.2.tar.gz.
File metadata
- Download URL: pyvlcb-0.1.2.tar.gz
- Upload date:
- Size: 25.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 |
01cf66dcdf62aa7570b8b2ab486bd8d795932259303699b00e12a1f39977a9b8
|
|
| MD5 |
7138a191afe4982f3d10f03231c2b202
|
|
| BLAKE2b-256 |
ab024c601acbbe41e459e6058f4ff821bff52aa4cecf636c47cd3cad6503bcb7
|
Provenance
The following attestation bundles were made for pyvlcb-0.1.2.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.2.tar.gz -
Subject digest:
01cf66dcdf62aa7570b8b2ab486bd8d795932259303699b00e12a1f39977a9b8 - Sigstore transparency entry: 941733642
- Sigstore integration time:
-
Permalink:
penguintutor/pyvlcb@0d87e754481dfbdc54b454a0dae6166559b341a4 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/penguintutor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d87e754481dfbdc54b454a0dae6166559b341a4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyvlcb-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pyvlcb-0.1.2-py3-none-any.whl
- Upload date:
- Size: 28.1 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 |
ab7374714f91ee54b2997183d0e247b5479d074b19063e9cceb0b316298c508b
|
|
| MD5 |
f4051d7ed0876d0d4fad331e7c75fab0
|
|
| BLAKE2b-256 |
dd13806d7cd643755f4d3dfddce0e5228aae769d3d85b536683aacfc92b554cf
|
Provenance
The following attestation bundles were made for pyvlcb-0.1.2-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.2-py3-none-any.whl -
Subject digest:
ab7374714f91ee54b2997183d0e247b5479d074b19063e9cceb0b316298c508b - Sigstore transparency entry: 941733650
- Sigstore integration time:
-
Permalink:
penguintutor/pyvlcb@0d87e754481dfbdc54b454a0dae6166559b341a4 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/penguintutor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d87e754481dfbdc54b454a0dae6166559b341a4 -
Trigger Event:
release
-
Statement type: