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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| codecraftai_restclient_kubernetes-1.2.1.tar.gz | 18.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codecraftai_restclient_kubernetes-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.1 kB
Release files / codecraftai_restclient_kubernetes-1.2.1.tar.gz
| Download URL | codecraftai_restclient_kubernetes-1.2.1.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01d46850c635e5aa91d175146fe81fdca7c1a728ea47c935a7e088c47920227e
|
|
BLAKE2b-256 checksum How to use checksums |
5c313270e97a6e5fe47225128b0e245f1cf6e2926e0b4de68d73d58582e66fe3
|
| 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 20, 2026.
Transparency logRelease files / codecraftai_restclient_kubernetes-1.2.1-py3-none-any.whl
| Download URL | codecraftai_restclient_kubernetes-1.2.1-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ffe62730fabe93787e5815f1e31a402356243cee4f17561b5f25964692023d4
|
|
BLAKE2b-256 checksum How to use checksums |
0060c914805f6b765440fb4a80eda286877517c2a005710cad17803bfb8781a8
|
| 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 20, 2026.
Transparency logSecurity for codecraftai-restclient-kubernetes 1.2.1
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.
Attestation for codecraftai_restclient_kubernetes-1.2.1.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 20, 2026.
Transparency logA 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.