skillfed

kfp-pipeline-spec

Kubeflow Pipelines pipeline spec

kfp-pipeline-spec v2.17.0 4.8M downloads/30d#2,228 on PyPI4,183
Permissive license Apache 2.0 Active released

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-spec

uv

uv add kfp-pipeline-spec

poetry

poetry add kfp-pipeline-spec

Installing 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

kubeflow pipeline specML workflow orchestration kubernetespipeline specification protobufkubeflow pipelines SDKmachine learning pipeline definitionkubernetes ML orchestrationpipeline serialization format
kubernetesml-orchestrationprotobuf

More Artificial Intelligence packages