kfp-pipeline-spec
Kubeflow Pipelines pipeline spec
What it is and what it does
kfp-pipeline-spec is a low-level component of the Kubeflow Pipelines ecosystem that defines and serializes machine learning pipeline specifications using Protocol Buffers. It provides the data structures and protobuf definitions that represent a Kubeflow pipeline's configuration—its tasks, dependencies, parameters, and execution metadata—in a format that can be validated, stored, and transmitted across the Kubeflow control plane and Kubernetes cluster.
This package is primarily used internally by the Kubeflow Pipelines SDK and platform components rather than directly by end users. It enables the pipeline specification layer that sits between high-level pipeline definitions (written in Python) and the underlying Kubernetes and Argo Workflows execution engines. If you are building pipelines with Kubeflow, you will interact with this package indirectly through the main SDK; direct use is typically limited to advanced scenarios like custom pipeline compilation or specification inspection.
Use it for:
- Serialize and validate Kubeflow pipeline definitions before submission to a Kubeflow cluster.
- Inspect or programmatically manipulate pipeline specifications in protobuf format.
- Build custom pipeline compilation or transformation tools on top of Kubeflow's specification layer.
- Integrate Kubeflow pipeline specs with external ML workflow systems or metadata stores.
- Develop Kubeflow extensions or plugins that need to work with pipeline specifications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides the pipeline specification and protobuf definitions for Kubeflow Pipelines, enabling serialization and validation of ML workflow configurations on Kubernetes.
Yes, if you are building or extending Kubeflow Pipelines infrastructure or need to work directly with pipeline specifications. No, if you are only writing and running standard ML pipelines—install the main Kubeflow Pipelines SDK instead, which includes this as a dependency. The package is actively maintained, has no known vulnerabilities, and carries permissive licensing; the decision hinges on whether your use case requires direct access to the specification layer.
Install
kfp-pipeline-spec on PyPI
pip
pip install kfp-pipeline-specuv
uv add kfp-pipeline-specpoetry
poetry add kfp-pipeline-specInstalling kfp-pipeline-spec
Before you install
Low installation friction with a single runtime dependency (protobuf). Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-07-09 indicate ongoing development.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and license inclusion.
Quickstart
pip install kfp-pipeline-spec
from kfp_pipeline_spec import pipeline_spec_pb2
# Define or load a pipeline specification
spec = pipeline_spec_pb2.PipelineSpec()
Requires Python 3.9.0 or later.
Verify before relying
- Whether this package is typically used standalone or always as part of the full Kubeflow Pipelines SDK installation.
- What specific pipeline specification versions or features are supported in 2.17.0.
- Whether protobuf version constraints exist beyond what pip resolves automatically.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — protobuf |
| Maintenance | actively maintained — 36 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,798,934/month — #2,228 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kfp_pipeline_spec-2.17.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
kfpKubeflow Pipelines is a Python SDK for…
permissive · top 5,000 on PyPI
kfp-server-apiProvides Python client bindings for the…
permissive · top 5,000 on PyPI
kubeflowKubeflow SDK provides Python APIs to submit and…
permissive · top 15,000 on PyPI
mleapSerializes and deserializes machine learning…
permissive · top 5,000 on PyPI
kfp-kubernetesExtends Kubeflow Pipelines SDK with…
permissive · top 15,000 on PyPI
google-cloud-pipeline-componentsProvides predefined Kubeflow Pipelines…
permissive · top 5,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
valohai-papiPapi provides an imperative Python API for…
permissive · top 15,000 on PyPI
kedroKedro is a Python framework for building…
permissive · top 5,000 on PyPI
weaselWeasel is a workflow orchestration system for…
permissive · top 1,000 on PyPI