Data Preparation Kit Library. KFP support
Project description
KFP support library
This provides support for implementing KFP pipelines automating transform's execution. It comprises 2 main modules
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
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 fm_data_processing_kfp
package involves the following steps:
cd to the package directory.
update the version in requirements.env file.
run 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
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
Hashes for data_prep_toolkit_kfp-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3662abc02b2fb134649ec0698fd89c203da1729828b4546586aae2f22a9f5126 |
|
MD5 | ad4ecaca29513aeb21c9d286ed679e07 |
|
BLAKE2b-256 | dc8a282e7e9b833926b79c206cb6083918c97919be6f4f64383537145738d99c |
Hashes for data_prep_toolkit_kfp-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ace2d4f820c5e67addb2291b281ac5917045dfaa1455233066bee74fbadbf9 |
|
MD5 | 323326e7e890b8d29d1425422134c6b7 |
|
BLAKE2b-256 | d259305b4ede02acf0cc8bafd5a4895edcb77dc63afdfa26f4c997460e86fc91 |