{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Python client library for interacting with Kubernetes and OpenShift APIs using a dynamic resource model that works with built-in and custom resources.","skillfed_tags":["kubernetes","openshift","container-orchestration"],"use_cases":["Automate OpenShift cluster operations\u2014create, list, and delete projects, services, and routes programmatically","Manage custom resources and Custom Resource Definitions in Kubernetes clusters without writing resource-specific client code","Build Python-based deployment or orchestration tools that work with multiple Kubernetes API versions and custom resource types","Authenticate to OpenShift clusters using username and password credentials and retrieve API tokens","Write integration tests or monitoring scripts that query and manipulate Kubernetes resources generically"],"what_it_does":"The openshift package is a Python client for the Kubernetes and OpenShift REST APIs. It wraps the kubernetes client and provides a dynamic resource model that lets you interact with any Kubernetes or OpenShift resource\u2014built-in types like Services and Routes, as well as custom resources defined via Custom Resource Definitions\u2014without needing resource-specific generated code. The library depends on kubernetes, python-string-utils, and six.\n\nYou instantiate a DynamicClient from a Kubernetes API client, then call `resources.get()` to retrieve a resource type by API version and kind, and use standard methods like `get()`, `create()`, `delete()`, `patch()`, `replace()`, and `watch()` to interact with instances. The package includes helper utilities for authentication, such as username/password login to OpenShift clusters. Because the project is abandoned and has not been updated since 2023-07-25, compatibility with recent Kubernetes or OpenShift releases is uncertain.","worth_installing":"Yes, but with caution. The package is suitable for existing OpenShift/Kubernetes Python automation projects and provides a clean dynamic API that avoids code generation. However, the project is abandoned\u2014no updates since 2023-07-25\u2014so verify compatibility with your target Kubernetes and OpenShift versions before adopting it in new projects. For actively maintained alternatives, check the kubernetes client directly or newer OpenShift-specific libraries."},"id":"openshift","links":{"html":"https://skillfed.io/packages/openshift","md":"https://skillfed.io/packages/openshift.md","pypi":"https://pypi.org/project/openshift/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-07-25","license_spdx":null,"license_treatment":"permissive","name":"openshift","python_support":"unspecified","summary":"OpenShift python client"},"popularity":{"monthly_downloads":528536,"position":6165,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.13.2"}
