{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Provides a Python API for interacting with OpenShift clusters by wrapping the oc command-line tool, enabling programmatic resource selection, querying, and management without requiring direct REST API calls.","skillfed_tags":["openshift","kubernetes-adjacent","cli-wrapper"],"use_cases":["Automate pod log collection and analysis across multiple projects in a cluster.","Write deployment or scaling scripts that query and modify OpenShift resources by selector.","Build monitoring or reporting tools that gather resource metadata and status from a running cluster.","Manage custom resources (CRDs) without needing to generate or maintain Python bindings.","Run cluster administration tasks from a bastion host via SSH without installing additional cluster software."],"what_it_does":"openshift-client is a Python wrapper around the OpenShift oc command-line tool that lets you programmatically query and manage cluster resources. Instead of making direct REST API calls, it invokes oc commands and parses their output, making it accessible to anyone familiar with the CLI. The library centers on selectors\u2014a concept for querying collections of resources by kind, name, or label\u2014and APIObject instances that represent individual resources and expose convenience methods for common operations like reading logs or modifying metadata.\n\nThe package is designed for automation scripts and tools that need to interact with OpenShift clusters without adding external dependencies to the cluster itself. It trades some capabilities (like watch functionality or fine-grained error codes) for simplicity and portability. If your use case fits within CLI-level interactions\u2014querying resources, applying changes, gathering logs\u2014this library provides a readable, fluent API. If you need controller-like behavior or precise HTTP error handling, the documentation suggests looking elsewhere.","worth_installing":"Yes, if you need to automate OpenShift cluster operations from Python and already have oc installed and configured. The low install friction, permissive license, and stable API make it a practical choice for scripting and one-off automation. No, if you need watch functionality, precise HTTP error codes, or expect active maintenance\u2014the package is dormant and explicitly not designed for controller-like workloads."},"id":"openshift-client","links":{"html":"https://skillfed.io/packages/openshift-client","md":"https://skillfed.io/packages/openshift-client.md","pypi":"https://pypi.org/project/openshift-client/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-12-05","license_spdx":null,"license_treatment":"permissive","name":"openshift-client","python_support":"supports_current","summary":"OpenShift python client"},"popularity":{"monthly_downloads":184086,"position":10045,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.5"}
