$npx skillfedfor your agent

kubernetes-stubs-elephant-fork

Type stubs for the Kubernetes Python API client

With conditionsPyPI Software DevelopmentReleased Jul 20263.0M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kubernetes_stubs_elephant_fork-36.0.3.post1-py2.py3-none-any.whl
v36.0.3.post1 · released 2026-07-20

Yes, if you use the Kubernetes Python client and want static type checking or IDE support. It has no runtime cost, low install friction, and is actively maintained. The main caveat is verifying that the stubs match your installed Kubernetes client version—check the fork's release notes to confirm coverage for your version.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Actively maintained with recent releases; the maintainer runs automated builds to track new Kubernetes releases, so stubs stay current.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you can use this freely in commercial and open-source projects without significant restrictions.

last release 2026-07-20 (25 days) · last repo commit 2026-07-20 · 12 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,028,322 downloads/mo, #2,782 on PyPI

Verify before relying

pip install kubernetes-stubs-elephant-fork

# Then use with your type checker (mypy, pyright, etc.)
# Your IDE will now provide autocomplete for kubernetes library imports
import kubernetes.client
api = kubernetes.client.CoreV1Api()
  • Whether stubs cover all Kubernetes client versions >= 7.0 or only specific releases
  • Compatibility with the main kubernetes package version you're using
  • Whether this fork is actively maintained beyond the automated release tracking
Same gist for agents: .md · .json

What it is and what it does

This package provides type stub files (.pyi) for the Kubernetes Python API client library. Type stubs allow static type checkers like mypy and Pyright to understand the Kubernetes library's API surface, and they enable IDE features like autocomplete and inline documentation. The package exists as a fork because the upstream kubernetes-stubs project had not kept pace with Kubernetes releases; this fork automates stub generation to track new Kubernetes releases.

You install it alongside the main kubernetes package. It has no runtime dependencies and does not affect how your code runs—it only improves the development experience by making type information available to your tools. The maintainer uses GitHub Actions to detect new Kubernetes releases and automatically build corresponding stubs, so the package stays synchronized with the upstream library.

Use it for

  • Enable mypy or Pyright to type-check code that uses the Kubernetes Python client without false positives.
  • Get IDE autocomplete and inline API documentation when writing Kubernetes client code in VSCode or PyCharm.
  • Catch Kubernetes API usage errors at development time rather than at runtime.
  • Maintain type safety in large projects that orchestrate or manage Kubernetes clusters via Python.

Worth the install?

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

With conditions

Yes, if you use the Kubernetes Python client and want static type checking or IDE support.

It has no runtime cost, low install friction, and is actively maintained. The main caveat is verifying that the stubs match your installed Kubernetes client version—check the fork's release notes to confirm coverage for your version.

Install

kubernetes-stubs-elephant-fork on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent releases; the maintainer runs automated builds to track new Kubernetes releases, so stubs stay current.

License in practice

Licensed under Apache-2.0 (permissive), so you can use this freely in commercial and open-source projects without significant restrictions.

Quickstart

pip install kubernetes-stubs-elephant-fork

# Then use with your type checker (mypy, pyright, etc.)
# Your IDE will now provide autocomplete for kubernetes library imports
import kubernetes.client
api = kubernetes.client.CoreV1Api()

Verify before relying

  • Whether stubs cover all Kubernetes client versions >= 7.0 or only specific releases
  • Compatibility with the main kubernetes package version you're using
  • Whether this fork is actively maintained beyond the automated release tracking

Package facts

LicenseApache-2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 25 days since the last release
Last repo commit
First released
Downloads3,028,322 / month, #2,782 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: kubernetes_stubs_elephant_fork-36.0.3.post1-py2.py3-none-any.whl

Tags

Capabilities
kubernetes type stubskubernetes python typingkubernetes api type hintskubernetes static type checkingkubernetes mypy stubskubernetes ide autocompletetype stubs kubernetes client
Topics
type-stubskubernetesstatic-typing

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 type stubs”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also kubernetes-stubs · kubernetes-typed · appdirs-stubs · k8 · asyncpg-stubs · mypy-boto3 · types-sqlalchemy-utils · scipy-stubs · confluent-kafka-stubs · kubernetes