Registry / devops / pyhelm3

pyhelm3

JSON →
library0.4.0pypypi✓ verified 80d ago

A Python library for managing Helm releases using Helm 3. It wraps the Helm CLI to provide a programmatic interface for installing, upgrading, listing, and uninstalling Helm charts. Current version 0.4.0. Release cadence is irregular.

pip install pyhelm3
INSTALL
IMPORT
SIG · PYHELM3
P
pyhelm3
devopspythonv0.4.0
Install
3.4s avg
Import
Disk
28MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 30.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.4s · import 0.000s · 30MB
28MB installed
● package 28MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from pyhelm3 import Client
from pyhelm3 import HelmReleases
Chart
from pyhelm3 import Chart
Command
from pyhelm3 import Command

Create a HelmReleases client, list releases, and install a chart.

import os from pyhelm3 import HelmReleases releases = HelmReleases() # List all releases for release in releases.list(): print(release.name, release.status) # Install a release releases.install( 'my-release', chart='stable/nginx-ingress', values={'controller.replicaCount': 2}, namespace='default', atomic=True )
Debug
Known issues
breakingVersion 0.2.0 changed from Pydantic v1 to v2. If you have custom models or validators that rely on Pydantic v1 behavior, upgrade carefully.
fix
Ensure your code is compatible with Pydantic v2.
affects: >=0.2.0
breakingRepository moved from stackhpc to azimuth-cloud in version 0.4.0. Update your remote if you have it as a git dependency.
fix
Use https://github.com/azimuth-cloud/pyhelm3 instead of https://github.com/stackhpc/pyhelm3.
affects: >=0.4.0
gotchaHelm CLI must be installed and available in PATH. The library does not bundle Helm.
fix
Install Helm 3 via your package manager or from https://helm.sh/docs/intro/install/.
affects: all
gotchaEmpty values dict is returned as an empty dict (not None) starting from version 0.3.4. This may affect comparisons.
fix
When comparing values, handle empty dict case explicitly.
affects: >=0.3.4
Upgrade
Version history
0.4.0latest on PyPI · released Jul 31, 2024
Audit
Dependencies
pydanticrequiredUsed for data models. Version 0.2.0 switched from Pydantic v1 to v2.
helm3requiredRequires Helm 3 CLI installed on the system.
Agent activity
47 hits · last 30 days
node
44
OpenAI (training)
1
Resources
pyhelm3 — pip install pyhelm3 · libregistry