skillfed

data-platform-helpers

data-platform-helpers v1.1.0 103.5K downloads/30d#12,802 on PyPI
Permissive license Apache-2.0 Active released

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-helpers

uv

uv add data-platform-helpers

poetry

poetry add data-platform-helpers

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: POSIX :: Linux

Tags

cross-app version validationdistributed system version checkingcharm library data interfacesplatform component compatibilityversion mismatch detectiondata platform utilitiescharm relation helpers
juju-charmversion-validationdistributed-systems

More Distributed Computing packages