Skip to main content

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

pyvlcb-0.1.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvlcb-0.1.1-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file pyvlcb-0.1.1.tar.gz.

File metadata

  • Download URL: pyvlcb-0.1.1.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvlcb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 23e1ae442c68394f4043c95719d057684c75c530faa2cb76b9d42dcfcc184bb8
MD5 fbb8e1b25147d1de929c4c97ed8536b3
BLAKE2b-256 df1b6e65814c6449a690beaaafcbd8b71f4334467c7120db29824190d2310f5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvlcb-0.1.1.tar.gz:

Publisher: publish.yml on penguintutor/pyvlcb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvlcb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyvlcb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvlcb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c24a4f279e27e659a230d94b8967cfd843b6bbca41922746faf53ae89548e1a2
MD5 f4954f23ded05e006dfd6d3de279aa58
BLAKE2b-256 ebe63754dd6455e99182111e8a47ee55af795e183a27f3884df91e9f79466ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvlcb-0.1.1-py3-none-any.whl:

Publisher: publish.yml on penguintutor/pyvlcb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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