Skip to main content

Hikaru allows you to smoothly move between Kubernetes YAML, Python objects, and Python source, in any direction. This package provides support for the objects and operations in Kubernetes 24.x.

Project description

Hikaru

Version 1.1.1

travis GitHub license   :target: https://github.com/haxsaw/hikaru/blob/main/LICENSE PyPI - Python Version coverage

Try it: see Hikaru convert your K8s YAML

Release notes

Full documentation at Read the Docs

Hikaru is a collection of tools that allow you to work with Kubernetes resources from within Python in a variety of ways:

  • Hikaru provides type-annotated classes that model all of the Kubernetes resources in Python and supports CRUD operations on those classes to manage their lifecycle in your Kubernetes cluster.

  • Hikaru also provides tooling to shift formats for these objects, allowing you to turn K8s YAML into Python objects, JSON, or Python dicts, and vice-versa. It can also generate Python source code for K8s objects loaded from non-Python sources.

  • Hikaru also supports a number of features that aid in the management of your objects such as searching for specific fields or diffing two instances of a K8s resource.

  • Hikaru includes support for creating ‘watches’ on your objects, providing a means to monitor events on your provisioned K8s resources.

  • Hikaru provides support for creation of CRDs which support all the above features such as CRUD operations and watches.

  • Finally, Hikaru includes a facility to specify a collection of resources as an ‘application’, similar in spirit to a Helm chart, and provides the same CRUD, watch, and management capabilities on the entire application as it does on single resource objects (full format shifting support to come).

This package provides model classes to create resources through the Kubernetes Python client version 24.x. It depends on the hikaru-core package which will be installed automatically when this packages is installed. This package will work with any version of the Kubernetes Python client >= 24.x; if you need to constrain which release is installed then you should establish your own requirement limts on the Kubernetes Python client package.

See README-core.rst for the main README and links to overall documentation.

About

Hikaru is Mr. Sulu’s first name, a famed fictional helmsman.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

hikaru_model_24-1.1.1-py3-none-any.whl (550.4 kB view details)

Uploaded Python 3

File details

Details for the file hikaru_model_24-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hikaru_model_24-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 564ff0dc437a62b4d633354923e8341a08230a22f306c2a23f428f2cbd110de1
MD5 33145c3216b6b33310b331656edf07f8
BLAKE2b-256 f8a41d8e5c1cd0e1b386e5d86350975dfdd12dd9eca1e0282d976e10038870ee

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