Data Preparation Laboratory 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-lab.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-lab-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
File details
Details for the file data_prep_lab_kfp-0.1.8.tar.gz
.
File metadata
- Download URL: data_prep_lab_kfp-0.1.8.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7dcbadf1c62c6076e3772a4365ba8aab288f4d2857c041e3e2a8b04e7c6ba1b |
|
MD5 | 5e0fcc527f0e474356014a7ebc8139d5 |
|
BLAKE2b-256 | 20d851c32a2e9e1946af419d0e3338274227fb7b0628d7ddd1c54e544fa2ad4b |
File details
Details for the file data_prep_lab_kfp-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: data_prep_lab_kfp-0.1.8-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e94d8a21fd7b30a12706627e9062f92221d30d47c387dd286f0f456f6203303c |
|
MD5 | b4ba54221325c6102f00f7300ce88162 |
|
BLAKE2b-256 | 127adbf21a638d4bd93e62d3c70723b3766f4899fb22881cf456f206d4bfad98 |