Skip to main content

A Helm automation package

Project description

Helm Python

This is a Helm 3 wrapper in python. Use it for your Iac scripts.


  1. add helm_python in your requirements.txt
  2. import Helm class
import Helm
  1. init Helm class
helm = Helm()


  • debug : if True, only display command (default: False)

This init function check if Helm is installed in PATH and if Helm version is 3 or higher

helm upgrade


is equivalent to :

helm upgrade -i my-nginx stable/nginx

where :

  • "name" is the name of helm installation
  • "path" is the Helm package localisation (for examples: "stable/prometheus-operator" or "../myfolder/mychart")

Optionnal :

  • namespace: namespace for installation
  • value_file_path: path to your values.yaml
  • sets (array) : list of overwrite values
  • wait : False if Helm dosn't have to wait the running status (default: True)

example for sets use :

tst_set = [
        'name': 'image.tag',
        'value': '2.0.0'
        'name': 'grafana."grafana\.ini"."auth\.google"',
        'value': 'SECRET'
        'name': 'alertmanager.config.receivers[0].slack_configs[0].api_url',
        'value': 'ANOTHER_SECRET'



You can clone project on Github :


please install :

sudo python -m pip install --upgrade pip setuptools wheel
sudo python -m pip install tqdm
sudo python -m pip install --user --upgrade twine

to deploy to PyPi:

python bdist_wheel
python -m twine upload dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

helm_python-0.1.3-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page