$npx skillfedfor your agent

k8

Kubernetes Python Models

With conditionsPyPI Distributed ComputingReleased May 2024305.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — k8-29.0.9-py3-none-any.whl
v29.0.9 · released 2024-05-23 · Python >=3.11 · 2 runtime deps: pydantic, aenum

Yes, if you need type-safe Kubernetes models and can tolerate dormant maintenance. The low install friction, permissive license, and stable API surface make it suitable for production use in applications that don't require frequent Kubernetes API updates. Not recommended if you need active maintenance or support for the latest Kubernetes features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later.
  • Low install friction with a pure-Python wheel.
  • Maintenance is dormant—last release was in May 2024, though the repository remains active.

License · maintenance · safety

permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for both open-source and commercial projects.

last release 2024-05-23 (813 days) · last repo commit 2024-05-23

0 known vulnerabilities (OSV.dev, 2026-08-14) · 305,114 downloads/mo, #7,798 on PyPI

Verify before relying

pip install k8

from k8 import models
# Use Kubernetes model types for API interactions
deployment = models.Deployment(...)
  • Whether the generated models cover all current Kubernetes API versions or only a specific version.
  • How frequently the models need regeneration to stay aligned with Kubernetes API changes.
  • Whether pydantic v2 or v1 compatibility is maintained.
Same gist for agents: .md · .json

What it is and what it does

k8 is a Python package that provides type-safe models for Kubernetes resources. It generates these models from OpenAPI specifications, allowing developers to work with Kubernetes API objects as strongly-typed Python classes rather than raw dictionaries. The package depends on pydantic for data validation and aenum for enumeration support, making it suitable for applications that need to programmatically interact with Kubernetes clusters or manifests.

The package is generated via a refresh script, suggesting it is derived from upstream Kubernetes OpenAPI definitions. It targets Python 3.11 and maintains a permissive MIT license. Maintenance is dormant with the last release on 2024-05-23. This makes it appropriate for stable, read-heavy use cases but not for projects requiring active development or rapid API updates.

Use it for

  • Generate type-checked Python code for Kubernetes manifests and configurations.
  • Build CLI tools or automation scripts that interact with Kubernetes APIs with IDE autocomplete.
  • Validate Kubernetes resource definitions programmatically before deployment.
  • Integrate Kubernetes object models into Python-based infrastructure-as-code frameworks.

Worth the install?

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

With conditions

Yes, if you need type-safe Kubernetes models and can tolerate dormant maintenance.

The low install friction, permissive license, and stable API surface make it suitable for production use in applications that don't require frequent Kubernetes API updates. Not recommended if you need active maintenance or support for the latest Kubernetes features.

Install

k8 on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was in May 2024, though the repository remains active. Suitable for stable use cases but expect no updates.

Requires Python 3.11 or later.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for both open-source and commercial projects.

Quickstart

pip install k8

from k8 import models
# Use Kubernetes model types for API interactions
deployment = models.Deployment(...)

Verify before relying

  • Whether the generated models cover all current Kubernetes API versions or only a specific version.
  • How frequently the models need regeneration to stay aligned with Kubernetes API changes.
  • Whether pydantic v2 or v1 compatibility is maintained.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pydanticaenum
MaintenanceDormant 813 days since the last release
Last repo commit
First released
Downloads305,114 / month, #7,798 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: k8-29.0.9-py3-none-any.whl

Tags

Capabilities
kubernetes python modelsk8s type definitionsopenapi kuberneteskubernetes api typespydantic kubernetes models
Topics
kubernetestype-safe-modelsopenapi-generated
PyPI keywords
OpenAPIOpenAPI-GeneratorKubernetes

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 › “kubernetes python models”

  • k8Provides Python type models for Kubernetes resources, generated from…
  • lightkube-modelsProvides Python type definitions and model classes for Kubernetes…
  • kserveKServe Python SDK provides server and client libraries for deploying…

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 openresponses-types · lightkube-models · kopf · kubernetes-asyncio · turnkey-sdk-types · sigstore-rekor-types · connector-sdk-types · cdk8s · kubernetes-stubs · openccu-loom-types