Skip to main content

cloudcoil-models-kpack

Versioned kpack models for cloudcoil.

PyPI Downloads License: Apache-2.0 CI

🔧 Installation

Using uv (recommended):

# Install with kpack support
uv add cloudcoil.models.kpack

Using pip:

pip install cloudcoil.models.kpack

Usage

Cloudcoil 0.7 generates a typed lookup function so callers do not need to depend on schema-derived module names:

from cloudcoil.models.kpack import get_model

Image = get_model("Image", api_version="kpack.io/v1alpha2")
resource = Image.model_validate({
    "metadata": {"name": "example"},
    "spec": {'tag': 'example.com/app:latest', 'builder': {'name': 'builder', 'kind': 'ClusterBuilder'}, 'source': {'git': {'url': 'https://example.com/repo', 'revision': 'main'}}},
})
resource.create()

Generated resources support validation, fluent builders, and the Cloudcoil client API.

Development

uv sync --dev
make gen-models
make lint test
uv build

Generation uses the namespace and input configuration in pyproject.toml, with automatic resource identity and field alias inference. Generated modules are built on release branches; pull requests regenerate and test them before publishing.

schemas/lifecycle.json supplies the lifecycle API definitions omitted from the upstream v0.18.0 OpenAPI document, matching the upstream Go types. Other Kubernetes types are generated with this package, so a separate Kubernetes model dependency is unnecessary.

Metadata

Release files for cloudcoil.models.kpack 0.18.0.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 cloudcoil.models.kpack 0.18.0.0
File Size Uploaded
cloudcoil_models_kpack-0.18.0.0.tar.gz 112.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudcoil.models.kpack 0.18.0.0
File Interpreter ABI Platform
cloudcoil_models_kpack-0.18.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 164.8 kB

Release files / cloudcoil_models_kpack-0.18.0.0.tar.gz

Download URL cloudcoil_models_kpack-0.18.0.0.tar.gz
Size 112.2 kB
Tags Source
SHA-256 checksum
How to use checksums
427cbe940b80e7050682fd701bc7d5cc203467c6d83e421c3eba2259ee29e5b0
BLAKE2b-256 checksum
How to use checksums
2465cb1846c19327aa823ee7fd3d538be3e86b3acb25492c4ed3c318414cacc3
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 Sep 7, 2026.

Transparency log

Release files / cloudcoil_models_kpack-0.18.0.0-py3-none-any.whl

Download URL cloudcoil_models_kpack-0.18.0.0-py3-none-any.whl
Size 52.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23ed924d42c5b3291d31fd81675ae6ef9f3cf03456fb63e3e6cb628f09d74487
BLAKE2b-256 checksum
How to use checksums
30e8b5a478df7aa136210553756300f9dda959c65b847c3cea4a8f0b04d55aa6
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 Sep 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.18.0.0 This release

2 release files

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