Skip to main content

Sugar for Kubernetes

Project description

PyPI pyversions PyPI version fury.io Client Support Level codecov

Development

Environment Setup

During development, use symlinks to include this package instead of pipenv: cd /project/using/k8kat ln -s $k8kat_path/k8kat

Building

https://packaging.python.org/tutorials/packaging-projects/ python3 setup.py sdist bdist_wheel python3 -m twine upload dist/* or twine upload dist/*

Cluster Authentication

By default it works as kubectl - try to find kubeconfig and reads authentication data.

Playing Around

pipenv shell

run examples from examples/:

python examples/list_pod.py

Test Suite

Run unit-tests (no cluster required):

python3 -m unittest discover -v k8kat/tests

Run e2e-test (you should be using an empty cluster):

python3 -m unittest discover -v k8kat/e2e-tests

Formating, typing

Use Black to formate code

black .

To run type checker

mypy k8kat examples/

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

k8kat-0.1.2.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

k8kat-0.1.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file k8kat-0.1.2.tar.gz.

File metadata

  • Download URL: k8kat-0.1.2.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for k8kat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d189365dcfa6d15a65a2d5b8954baef5d9af178ec089693abb3989445f31ab92
MD5 172c738e3d23abef73bb0aa13008ab74
BLAKE2b-256 0e5c173a7aadd14f4f4e80bf8a2f30743ade674e40bd22360f91d6db93f8ea98

See more details on using hashes here.

File details

Details for the file k8kat-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: k8kat-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for k8kat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d32d1fa8c50ec2658c2bb8e937f064513f3b90c463c6f6a6ef6e84dfdbd1de
MD5 ca0084aa5f50399e6c8963b683fa725b
BLAKE2b-256 737b581bc58b77d7aa35e7582d4883d861372f63491d2eabbfc8a584f64fcfde

See more details on using hashes here.

Supported by

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