$npx skillfedfor your agent

pykube-ng

Python client library for Kubernetes

With conditionsPyPI Distributed ComputingReleased Jun 2023252.9K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pykube_ng-23.6.0-py3-none-any.whl
v23.6.0 · released 2023-06-16 · Python >=3.8,<4 · 3 runtime deps: urllib3, pyyaml, requests

Yes, with conditions. pykube-ng is stable and has low install friction, making it suitable for existing projects or scripts that already depend on it. However, do not adopt it for new projects: the package is abandoned (no releases in 1155+ days), so it will not receive security patches or updates for newer Kubernetes API versions. For new work, consider the actively maintained official Kubernetes Python client (kubernetes) instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and a valid kubeconfig file (typically ~/.kube/config) to authenticate with a Kubernetes cluster.
  • Low install friction with only three runtime dependencies (urllib3, pyyaml, requests).
  • However, the package is marked abandoned with no releases for over 1155 days, so maintenance and security updates are not expected.

License · maintenance · safety

Apache (permissive) — Licensed under Apache License 2.0, a permissive open-source license that allows use in commercial and private projects with minimal restrictions.

last release 2023-06-16 (1155 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 252,860 downloads/mo, #8,531 on PyPI

Verify before relying

pip install pykube-ng

import pykube
api = pykube.HTTPClient(pykube.KubeConfig.from_file())
pods = pykube.Pod.objects(api).filter(namespace="default")
for pod in pods:
    print(pod.name)
  • Whether the package works with recent Kubernetes API versions given the 1155+ day gap since last release.
  • Current status of the upstream repository and whether security patches are backported or planned.
Same gist for agents: .md · .json

What it is and what it does

pykube-ng is a lightweight Python client for Kubernetes that wraps the Kubernetes API in native Python objects. It uses requests for HTTP communication and kubeconfig for authentication, allowing you to query, filter, create, and delete Kubernetes resources (Pods, Deployments, Jobs, etc.) programmatically. The library exposes Kubernetes objects as Python classes with methods for common operations like filtering by namespace or selector, watching for changes, and accessing raw API attributes.

The package is a maintained fork of the original pykube project, which was archived. It supports Python 3.8 through 3.10 and depends on urllib3, pyyaml, and requests. While it provides a simpler, more Pythonic interface than direct API calls, it is no longer actively maintained—the last release was over 1155 days ago, so compatibility with recent Kubernetes versions and security updates are not guaranteed.

Use it for

  • Programmatically query and filter Kubernetes resources (pods, deployments, jobs) by namespace, label, or field selector.
  • Automate Kubernetes resource creation and deletion (e.g., spinning up deployments or cleaning up jobs) from Python scripts.
  • Watch Kubernetes resources for changes in real time and react to ADDED, MODIFIED, or DELETED events.
  • Build Python-based tools or operators that need to interact with a Kubernetes cluster without shelling out to kubectl.
  • Access raw Kubernetes object attributes and metadata through a Python object interface.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

pykube-ng is stable and has low install friction, making it suitable for existing projects or scripts that already depend on it. However, do not adopt it for new projects: the package is abandoned (no releases in 1155+ days), so it will not receive security patches or updates for newer Kubernetes API versions. For new work, consider the actively maintained official Kubernetes Python client (kubernetes) instead.

Install

pykube-ng on PyPI

Before you install

Low install friction with only three runtime dependencies (urllib3, pyyaml, requests). However, the package is marked abandoned with no releases for over 1155 days, so maintenance and security updates are not expected.

Requires Python 3.8 or later and a valid kubeconfig file (typically ~/.kube/config) to authenticate with a Kubernetes cluster.

License in practice

Licensed under Apache License 2.0, a permissive open-source license that allows use in commercial and private projects with minimal restrictions.

Quickstart

pip install pykube-ng

import pykube
api = pykube.HTTPClient(pykube.KubeConfig.from_file())
pods = pykube.Pod.objects(api).filter(namespace="default")
for pod in pods:
    print(pod.name)

Verify before relying

  • Whether the package works with recent Kubernetes API versions given the 1155+ day gap since last release.
  • Current status of the upstream repository and whether security patches are backported or planned.

Package facts

LicenseApache permissive
Python supportSupports the current Python release >=3.8,<4
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
urllib3pyyamlrequests
MaintenanceAbandoned 1,155 days since the last release
First released
Downloads252,860 / month, #8,531 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: Other/Proprietary LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pykube_ng-23.6.0-py3-none-any.whl

Tags

Capabilities
kubernetes python clientk8s api librarykubernetes deployment managementpython kubernetes objectskubeconfig authenticationkubernetes pod queryk8s resource control
Topics
kubernetesabandoned-upstream

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “k8s api library”

  • pykube-ngpykube-ng is a Python client library for querying, creating, and…
  • kubernetes-asyncioAsynchronous Python client for the Kubernetes API, enabling…
  • kubernetes-validateValidates Kubernetes resource definitions against official Kubernetes…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also kr8s · portforward · kubernetes-asyncio · kubernetes · pyhelm3 · openshift · pulumi-kubernetes · k8s-agent-sandbox · kfp-kubernetes · kubernetes-stubs