Shared Workflow Support
This provides support for implementing KFP pipelines automating transform's execution. This library is not dependent on KFP version. KFP dependent modules are in kfp_v1_workflow_support and kfp_v2_workflow_support
this module combines 2 inner modules
- python apiserver client, which is a copy of Kuberay API server-client python APIs We added it into the project, because these APIs are not exposed by any PyPi.
- runtime_utils
Development
Requirements
- python 3.10 or later
- git command line tools
- pre-commit
- twine (pip install twine)
- but on Mac you may have to include a dir in your PATH, such as
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.10/bin
- but on Mac you may have to include a dir in your PATH, such as
Git
Simple clone the repo and set up the pre-commit hooks.
git clone git@github.com:IBM/data-prep-kit.git
cd kfp/kfp_support_lib/shared_workflow_support
pre-commit install
If you don't have pre-commit, you can install from here
Library Artifact Build and Publish
The process of creating a release for the package involves the following steps:
- cd to the package directory.
- update the
DPK_LIB_KFP_SHAREDversion in .make.versions file. - run
make set-versionsandmake buildandmake publish.
Testing
To run the package tests perform the following:
To begin with, establish a Kind cluster and deploy all required components by executing the makfefile command in the main directory of this repository. As an alternative, you can manually execute the instructions provided in the README.md file.
make setup
The next step is to deploy the data-prep-kit-kfp package locally within a Python virtual environment.
make build
lastly, execute the tests:
make test
Cleanup
It is advisable to execute the following command prior to running make test once more. This will ensure that any
previous test runs resources are removed before starting new tests.
kubectl delete workflows -n kubeflow --all
Metadata
Release files for data-prep-toolkit-kfp-shared 0.2.0
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 | Actions |
|---|---|---|---|---|
| data_prep_toolkit_kfp_shared-0.2.0.tar.gz | 29.2 kB | Without provenance | Details for data_prep_toolkit_kfp_shared-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_prep_toolkit_kfp_shared-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for data_prep_toolkit_kfp_shared-0.2.0-py3-none-any.whl |
Total release size: 62.2 kB
Security for data-prep-toolkit-kfp-shared 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.