Skip to main content

Code Craft AI - Kubernetes REST client

A pure-Python client for the Kubernetes API server.

The Kubernetes API is plain REST over HTTPS with JSON bodies, so this package speaks it directly on top of codecraftai-restclient-base rather than depending on the official kubernetes SDK. That keeps the fleet’s pure-Python guarantee and avoids dragging a large vendored client (and its transitive dependency tree) into every consumer.

What it provides

  • KubeConfigResolver — resolves a kubeconfig path, an in-memory kubeconfig dict, or the in-cluster service-account context into a server URL plus the TLS material and bearer token needed to reach it. Supports bearer-token auth, client-certificate (mTLS) auth, and custom CA bundles.

  • KubernetesRestClient — the REST client, with api groups mirroring the API server’s own grouping:

    • core_v1 — namespaces, nodes, services, persistent volume claims

    • apps_v1 — deployments, stateful sets

    • batch_v1 — jobs

    • networking_v1 — ingresses

    • version — the /version endpoint

Responses are returned as plain dictionaries matching the API server’s JSON, and are additionally attribute-addressable so callers written against the SDK’s object model keep working.

Metadata

Release files for codecraftai-restclient-kubernetes 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecraftai-restclient-kubernetes 1.2.0
File Size Uploaded Provenance
codecraftai_restclient_kubernetes-1.2.0.tar.gz 18.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-restclient-kubernetes 1.2.0
File Interpreter ABI Platform
codecraftai_restclient_kubernetes-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / codecraftai_restclient_kubernetes-1.2.0.tar.gz

Download URL codecraftai_restclient_kubernetes-1.2.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2707b6d064ac1417421134cffa5de5c49823be92b79494b50592d8975f98a56c
BLAKE2b-256 checksum
How to use checksums
800843db10dda63820a37795fb229f868c46065f57d78ba554e5cec57f524733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / codecraftai_restclient_kubernetes-1.2.0-py3-none-any.whl

Download URL codecraftai_restclient_kubernetes-1.2.0-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53caec8942b02611b35fb9ba7a59bdf0f639a6afb14d3f38bfb66d5b3406364e
BLAKE2b-256 checksum
How to use checksums
0fd8bacb9ead0242923f91c59b2cbd27bf28d44128a7d3bf8cc14fabb11e54f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for codecraftai-restclient-kubernetes 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_restclient_kubernetes-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page