Kubeflow Pipelines SDK
Project description
Kubeflow Pipelines is a platform for building and deploying portable, scalable machine learning workflows based on Docker containers within the Kubeflow project.
Use Kubeflow Pipelines to compose a multi-step workflow (pipeline) as a graph of containerized tasks using Python code and/or YAML. Then, run your pipeline with specified pipeline arguments, rerun your pipeline with new arguments or data, schedule your pipeline to run on a recurring basis, organize your runs into experiments, save machine learning artifacts to compliant artifact registries, and visualize it all through the Kubeflow Dashboard.
Installation
To install kfp, run:
pip install kfp
Getting started
The following is an example of a simple pipeline that uses the kfp v2 syntax:
from kfp import dsl
import kfp
@dsl.component
def add(a: float, b: float) -> float:
'''Calculates sum of two arguments'''
return a + b
@dsl.pipeline(
name='Addition pipeline',
description='An example pipeline that performs addition calculations.')
def add_pipeline(
a: float = 1.0,
b: float = 7.0,
):
first_add_task = add(a=a, b=4.0)
second_add_task = add(a=first_add_task.output, b=b)
client = kfp.Client(host='<my-host-url>')
client.create_run_from_pipeline_func(
add_pipeline, arguments={
'a': 7.0,
'b': 8.0
})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kfp-2.14.6.tar.gz.
File metadata
- Download URL: kfp-2.14.6.tar.gz
- Upload date:
- Size: 274.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e94ff2e74465c27393736c295b6dc478b29cf9d0264950019b5167c7c53fd2e
|
|
| MD5 |
45b72b7a3d8fb24d6658dd7ec356d3c3
|
|
| BLAKE2b-256 |
3bc1d01724ccb7faaf3ecf2a8109de1d7eebb0afa1f292d6dcd650755b990d59
|
Provenance
The following attestation bundles were made for kfp-2.14.6.tar.gz:
Publisher:
publish-packages.yml on kubeflow/pipelines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kfp-2.14.6.tar.gz -
Subject digest:
9e94ff2e74465c27393736c295b6dc478b29cf9d0264950019b5167c7c53fd2e - Sigstore transparency entry: 604249693
- Sigstore integration time:
-
Permalink:
kubeflow/pipelines@794f2860d6b705942b70e7d51337e6d578f9d934 -
Branch / Tag:
refs/heads/release-2.14 - Owner: https://github.com/kubeflow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-packages.yml@794f2860d6b705942b70e7d51337e6d578f9d934 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file kfp-2.14.6-py3-none-any.whl.
File metadata
- Download URL: kfp-2.14.6-py3-none-any.whl
- Upload date:
- Size: 374.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d76aff91d8461e837989c2dc966c9dddaba7fcc37b7b8be4b0564282b1f613d
|
|
| MD5 |
3121c1d9f535c5d93f93a8ddd731dbb0
|
|
| BLAKE2b-256 |
1f46789f883750b0f6c321450832e2f07203139716cb9422cad6f3d286298915
|
Provenance
The following attestation bundles were made for kfp-2.14.6-py3-none-any.whl:
Publisher:
publish-packages.yml on kubeflow/pipelines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kfp-2.14.6-py3-none-any.whl -
Subject digest:
2d76aff91d8461e837989c2dc966c9dddaba7fcc37b7b8be4b0564282b1f613d - Sigstore transparency entry: 604249731
- Sigstore integration time:
-
Permalink:
kubeflow/pipelines@794f2860d6b705942b70e7d51337e6d578f9d934 -
Branch / Tag:
refs/heads/release-2.14 - Owner: https://github.com/kubeflow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-packages.yml@794f2860d6b705942b70e7d51337e6d578f9d934 -
Trigger Event:
workflow_dispatch
-
Statement type: