Skip to main content

Easy-Kubernetes

This module has purpose to create easy and fast ways to communicate with the API from kubernetes, allowing the developer to create and manage their own data with their own way. Python is a great language and very well used for DevOps Automantions. With it, creating a kubernetes module will easy many steps and automantions allowing a better infrastructure automation or management with great performance. This version requires Python 3 or later; a Python 2 version is not available… yet.

Features

  • Handle kubernetes through your python script.

  • Free to manage the data from kubernetes API on your own way.

  • There’s functions to manage it too, if you don’t like the previous ideia.

  • Simplify most of the kubernetes client functions to simple and unique interactions.

  • Simple code, simple functions, simple management. Keep simple!

Installation

To install easy-kubernetes from PYPI:

$ pip install easy-kubernetes

To install easy-kubernetes manually (please download the source code from either PYPI or Github first):

$ python setup.py install

Usage

To use easy-kubernetes, just import this module with:

$ from kubernetes import kubernetes

Then, create a instance of the class with the functionality you desire:

# Cria instancia com dados de acesso ao clusterK8s $ k8s_config = kubernetes.config(url=<k8s_master_url>, token=<serviceaccount_token>)

# Cria instancia para funcionalidades prontas do k8s $ k8s_tools = kubernetes.tools()

# Cria instancia com chamadas para REST API $ k8s = kubernetes.core(configuration=k8s_config)

After this, you will be able to use and explore all functionalities.

Enjoy!

Citing

Please cite the following paper if you use easy-kubernetes in a published work:

Gustavo Toledo, Tiago Albuquerque. “Easy-Kubernetes: Improving kubernetes auto-management through Python 3”, 2018

Metadata

Release files for easy-kubernetes 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-kubernetes 0.1.0
File Size Uploaded Provenance Actions
easy-kubernetes-0.1.0.tar.gz 4.5 kB Without provenance Details for easy-kubernetes-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easy-kubernetes 0.1.0
File Interpreter ABI Platform Actions
easy_kubernetes-0.1.0-py3.7.egg Legacy Egg format - - Details for easy_kubernetes-0.1.0-py3.7.egg

Total release size: 13.3 kB

Release files / easy-kubernetes-0.1.0.tar.gz

Download URL easy-kubernetes-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b31cdbc913512da37364225d48eaa1931d43afeec7d06d1f39172e33a4b32d58
BLAKE2b-256 checksum
How to use checksums
39e27e1f10a5db7d452d05b316e5ac225ce00b19b6b40c37f6f03531cfb9e571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

Release files / easy_kubernetes-0.1.0-py3.7.egg

Download URL easy_kubernetes-0.1.0-py3.7.egg
Size 8.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
d0b735614d90a0daea20eb6d536db94875eb9199250404767c252b28ed3fc8ea
BLAKE2b-256 checksum
How to use checksums
e0b90f068dd0f7756da7360be5c6700563a41db0cbe0c082aabc947797b63bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

Security for easy-kubernetes 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page