data-platform-helpers
What it is and what it does
data-platform-helpers is a utility library for validating version consistency across distributed data platform components, particularly in Juju charm deployments. Its primary feature is a CrossAppVersionChecker that enforces version alignment between related applications—for example, ensuring that Kafka brokers and Kafka Connect instances, or shards and cluster managers, run compatible versions. You instantiate the checker with your charm instance, the current version, and a list of relations to monitor; it then validates that related applications meet your version constraints and can report which relations have mismatched versions.
The package also includes Data Interfaces V1, a set of abstractions intended for charm libraries and other code that needs parts of the data interfaces specification but cannot use the charm-lib directly. It depends on ops (Juju charm framework), pydantic (for data validation), and rich (for terminal output). The library targets Python 3.10 and later and is classified as production-stable.
Use it for:
- Enforce version compatibility in a sharded cluster where all shards and the cluster manager must run the same component versions.
- Validate that Kafka Connect and Kafka broker applications maintain compatible underlying versions during deployments.
- Check version alignment across multiple related charm applications during upgrade or join events.
- Provide standardized data interfaces for charm libraries that need cross-application communication patterns.
- Log or fail charm events when related applications have mismatched versions that would cause operational issues.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides version checking and validation utilities for distributed data platform components, plus data interface abstractions for charm libraries.
Yes, if you are building or maintaining Juju charms for distributed data platforms and need reliable version validation across related applications. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Not relevant for non-charm contexts.
Install
data-platform-helpers on PyPI
pip
pip install data-platform-helpersuv
uv add data-platform-helperspoetry
poetry add data-platform-helpersInstalling data-platform-helpers
Before you install
Low install friction with a pure Python wheel. Actively maintained with a recent release. Depends on ops, pydantic, and rich—all stable, widely-used libraries.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install data-platform-helpers==1.1.0
from data_platform_helpers.version_check import CrossAppVersionChecker
version_checker = CrossAppVersionChecker(
charm_instance,
version="1.0",
relations_to_check=["relation1", "relation2"]
)
if not version_checker.are_related_apps_valid():
print(version_checker.get_invalid_versions())
Requires Python 3.10 or later; designed for use within Juju charm applications.
Verify before relying
- Whether the Advanced Statuses Handler and Interfaces modules are fully implemented or still in development (description marks Interfaces as V1 and Statuses as TBD).
- Specific version range syntax supported by the version_validity_range parameter.
- Whether the package works outside Juju charm contexts or is charm-specific.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — ops, pydantic, rich |
| Maintenance | actively maintained — 58 days since the last release |
| First released | |
| Downloads | 103,478/month — #12,802 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: data_platform_helpers-1.1.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
charmcraftlocalPacks Juju charms with local Python package…
unclear · top 15,000 on PyPI
charm-refresh-build-versionWrites charm version information into…
unclear · top 15,000 on PyPI
coslProvides utilities for COS Lite charms,…
permissive · top 15,000 on PyPI
charmlibs-pathopsProvides a pathlib-like interface for reading…
permissive · top 15,000 on PyPI
pytest-operatorA pytest plugin that provides fixtures and…
permissive · top 15,000 on PyPI
bpyutilsProvides a collection of common Python…
permissive · top 5,000 on PyPI
nr-utilnr.util provides general-purpose utility…
permissive · top 15,000 on PyPI
ops-scenarioops-scenario is a state-transition testing…
permissive · top 15,000 on PyPI
opsA Python framework for developing…
permissive · top 15,000 on PyPI
pyats.utilspyats.utils provides utility functions and…
permissive · top 15,000 on PyPI