Skip to main content

Data Preparation Kit Library. KFP support

Project description

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

Development

Requirements

  1. python 3.10 or later
  2. git command line tools
  3. pre-commit
  4. 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

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_SHARED version in .make.versions file.
  • run make set-versions and make build and make 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_prep_toolkit_kfp_shared-0.2.0.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file data_prep_toolkit_kfp_shared-0.2.0.tar.gz.

File metadata

File hashes

Hashes for data_prep_toolkit_kfp_shared-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0c13acca1031e9aa0f5eb602dcc2a8e55406540348478bd56109d201f5e6e1e1
MD5 7cb0bb75309be8e56d717a151bd9201f
BLAKE2b-256 8bb95f8f30dc7a86e956e626b1be2e5f2151074bfb85670a6b3b7da74c905dc3

See more details on using hashes here.

File details

Details for the file data_prep_toolkit_kfp_shared-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for data_prep_toolkit_kfp_shared-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85331af622faee3b90551136307d74b381782b07f0aaa522d1a24cd679c58c52
MD5 b4f5f633b1caa57122e8e55b9f0054cf
BLAKE2b-256 88980015f92f75d3f9a800a60dd9eb13a4051874d60e71e4f7b7eddb29c72025

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page