semvec/pypi-packages huggingface dataset:
kiwi-platform 0.3.0
Company standards as code for Kiwi.com
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Keywords: kiwicom

# kiwi-platform-py

[![CircleCI](https://circleci.com/gh/kiwicom/kiwi-platform-py.svg?style=svg)](https://circleci.com/gh/kiwicom/kiwi-platform-py)
[![codecov](https://codecov.io/gh/kiwicom/kiwi-platform-py/branch/master/graph/badge.svg)](https://codecov.io/gh/kiwicom/kiwi-platform-py)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7594931404704cdc88d214f6b8898735)](https://www.codacy.com/app/bence/kiwi-platform-py?utm_source=github.com&utm_medium=referral&utm_content=kiwicom/kiwi-platform-py&utm_campaign=Badge_Grade)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/kiwicom/kiwi-platform-py.svg)](https://github.com/kiwicom/kiwi-platform-py/tags)

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/kiwi-platform.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)

Company standards as code for Kiwi.com

## Installation

Install with `pip install kiwi-platform`.

## Documentation

Check the documentation on [reathedocs.io](https://kiwi-platform-py.readthedocs.io/en/latest/).

## Contributing

1. Check for open issues or open a fresh issue to start a discussion
2. Fork [the repository](https://github.com/kiwicom/kiwi-platform-py) on GitHub.
3. Send a pull request with your code!

Merging will require a test which shows that the bug was fixed,
or that the feature works as expected.
Feel free to open a draft pull request though without such a test
and ask for help with writing it if you're not sure how to.
helm-python 0.1.3
A Helm automation package

# Helm Python

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

## use

1) add helm_python in your requirements.txt
2) import Helm class 

```python
import Helm
```

3) init Helm class

```python
helm = Helm()
```

optionnal:
 - 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

```python
helm.upgrade(
    name="my-nginx", 
    path="stable/nginx"
)
```

is equivalent to :

```bash
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 :

```python
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'
    }
]
```

## develop

### github

You can clone project on Github : [github.com/slavayssiere/helm_python](https://github.com/slavayssiere/helm_python)

### prerequisite

please install :

```bash
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:

```bash
python setup.py bdist_wheel
python -m twine upload dist/* Helm.py
```