Skip to main content

Bitvis Protobuf

Python protobuf definitions for Bitvis Power Hub communication.

Description

This library contains the Protocol Buffer definitions and generated Python code for communicating with Bitvis Power Hub devices. It includes message definitions for:

  • Device information
  • Diagnostic data
  • HAN port samples
  • Power hub payloads

Installation

pip install bitvis-protobuf

Usage

from bitvis_protobuf import powerhub_pb2, han_port_pb2, diagnostic_pb2

# Parse a payload
payload = powerhub_pb2.Payload()
payload.ParseFromString(data)

if payload.HasField("sample"):
    sample = payload.sample
    # Process HAN port sample data
    
elif payload.HasField("diagnostic"):
    diagnostic = payload.diagnostic
    # Process diagnostic data

Development

Building from source

# Install development dependencies
pip install -e ".[dev]"

# Generate protobuf code
python -m build_proto

Regenerating protobuf code

python scripts/generate_proto.py

License

Apache License 2.0

Metadata

Release files for bitvis-protobuf 2.0.5

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

Source distribution (sdist)

Source distribution for bitvis-protobuf 2.0.5
File Size Uploaded Provenance Actions
bitvis_protobuf-2.0.5.tar.gz 17.9 kB With provenance Details for bitvis_protobuf-2.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bitvis-protobuf 2.0.5
File Interpreter ABI Platform Actions
bitvis_protobuf-2.0.5-py3-none-any.whl Python 3 none any Details for bitvis_protobuf-2.0.5-py3-none-any.whl

Total release size: 41.8 kB

Release files / bitvis_protobuf-2.0.5.tar.gz

Download URL bitvis_protobuf-2.0.5.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4cdc60057e6dd2e14a9b4b8b0e8c39b921c4e529d9ccdd794ca86142078a3fb9
BLAKE2b-256 checksum
How to use checksums
82a6b2b21108337ed18de08b0d2e62857140749be828c5dc02a6bd9cc8088630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / bitvis_protobuf-2.0.5-py3-none-any.whl

Download URL bitvis_protobuf-2.0.5-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
337faa7ff81f15273aa1002a7ec905812b75e9e9b365f347b79a1999df6f6d26
BLAKE2b-256 checksum
How to use checksums
09b796e48eecd50bb46d3e45f9d743b1a1dbbd2ebe21e61406b793e91866fb8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for bitvis-protobuf 2.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bitvis_protobuf-2.0.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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