Skip to main content

pyOLCB

An easy to use python implementation of OpenLCB (LCC) protocols, designed to interface with CAN (and TCP/IP via gridconnect and the native OpenLCB specification in a future release).

This is very much a work in progress, please don't expect it to function fully for a while.

Documentation is available at https://www.uncommonmodels.com/pyOLCB

from pyolcb import Node, Address, Event, Interface
import can

address = Address('05.01.01.01.8C.00')
interface = Interface(can.Bus(interface='socketcan', channel='vcan0', bitrate=125000))

node = Node(address, interface)

node.produce(Event(125))

Metadata

Release files for pyOLCB 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyOLCB 0.1.0
File Size Uploaded
pyOLCB-0.1.0.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyOLCB 0.1.0
File Interpreter ABI Platform
pyOLCB-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / pyOLCB-0.1.0.tar.gz

Download URL pyOLCB-0.1.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5eaf2963d066ebfd7a059e3931f86e4737ea14cc00d94fac7967b4b110af238a
BLAKE2b-256 checksum
How to use checksums
8cb054a5c63182c624fd0c65377e68e0a4fc4ad9a680838a9532f6799295d39e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / pyOLCB-0.1.0-py3-none-any.whl

Download URL pyOLCB-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7c1bc8c6fa232f26c3dcb4078a170efebde20c2e94c7c5c93b6e6dad82f213b
BLAKE2b-256 checksum
How to use checksums
4f9d2fc1e9de27da6ee95d68c30dddcf0298203dbd598d97c81bf05c3e57195a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page