Metadata-Version: 2.4
Name: kubectl_py
Version: 0.1.0
Summary: Python wrapper around invoking kubectl (https://kubernetes.io/docs/reference/kubectl/)
Home-page: https://github.com/harryvince/kubectl-py
Author: Harry Vince
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# kubectl-py

A python wrapper to provide a pip-installable [kubectl] binary.

Internally this package provides a convenient way to download the pre-built
kubectl binary for your particular platform.

### installation

```bash
pip install kubectl-py
```

### usage

After installation, the `kubectl` binary should be available in your
environment.

### As a pre-commit hook

See [pre-commit] for instructions

Sample `.pre-commit-config.yaml`:

```yaml
- repo: https://github.com/harryvince/kubectl-py
  rev: v0.1.0
  hooks:
    - id: kustomize
      args: [overlays/env]
```

[kubectl]: https://kubernetes.io/docs/reference/kubectl/
[pre-commit]: https://pre-commit.com

[inspired by](https://github.com/shellcheck-py/shellcheck-py)
