Automation Helper for K8 (Kubernetes)
Project description
K9
What is K9? It is a helper library to simplify the automation of Kubernetes.
Tested with:
kubernetes v
Getting Started
Installing the library:
pip install kubernetes
pip install -i https://test.pypi.org/simple/ k9==0.0.6
API Definition
Utility Functions
def last_word(value: str)
This function returns the last word separated by a forward slash. This is helpful when parsing out object names in strings delimited by forward slashes. For example:
pod = last_word("pods/my-pod")
# The value of pod is: my-pod
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
k9-0.0.6.tar.gz
(4.7 kB
view hashes)
Built Distribution
k9-0.0.6-py3-none-any.whl
(5.5 kB
view hashes)