Skip to main content

Python wrapper around invoking kubectl (https://kubernetes.io/docs/reference/kubectl/)

Project description

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

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:

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

inspired by

Project details


Download files

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

Source Distribution

kubectl_py-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kubectl_py-0.1.0-py2.py3-none-macosx_15_0_arm64.whl (16.8 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

Details for the file kubectl_py-0.1.0.tar.gz.

File metadata

  • Download URL: kubectl_py-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for kubectl_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b6c7169bba089559f4a4c21b242095a55a36bdbb6b2c72e37e62e083e573bfb8
MD5 97611318f947ec46baace56a2155f086
BLAKE2b-256 f08643e7d568f40f46b265e59af7b5daf33634344f827ee453fb2a66b39ae697

See more details on using hashes here.

File details

Details for the file kubectl_py-0.1.0-py2.py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for kubectl_py-0.1.0-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d2d53b274cc8bb8379e7f04900fc2537d044acf1f4ba9034904cbc0559a43a26
MD5 611199e6307016a3a308116e1396757d
BLAKE2b-256 d5f3bc784dee9f4cac2a6bb82e4f1a865aeb87d9b38856ab9bd087043a64fd31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page