Cogniflow step-runtime contract provider package
Project description
cf_pipeline_sdk
cf_pipeline_sdk packages the native step-runtime contract provider owned by the
pipeline SDK package:
- the Python module
cogniflow_pipeline_sdk - the native
CfStepRuntimeContractV1provider surface consumed bycf_pipeline_engine
Published distribution name:
pip install cf-pipeline-sdk
Scope
The published distribution name is cf-pipeline-sdk.
The Python import package remains cogniflow_pipeline_sdk.
The engine resolves the packaged runtime provider through the provider registry and package descriptor, not via SDK Python helper APIs.
Step build tooling, siggen, and validation-spec generation live in
cf-step-tooling.
Validation Spec Output
cf_step_tooling.validation.generate_validation_spec(...) keeps the
existing normalized port fields unchanged:
idkeytypesnamemultifor input ports
When a step manifest port declares cf:valueContract, the generated port entry
now adds a value_contract object with additive metadata:
shape_kindelement_typestable_schema.columns[]withname,type, andnullablewhen a table schema is declared
cf:valueContract is the only supported typed-contract source for validation
spec generation.
Native build prerequisites
The SDK is built with scikit-build-core and CMake.
For Windows publish/preflight runs, use:
- CPython 3.14
- CMake on
PATH - a working Windows C++ toolchain compatible with that CMake installation
The CI publish workflow targets windows-latest.
If your local machine exposes multiple CMake/compiler combinations, keep the selected CMake and compiler toolchain consistent for the whole build.
Publishing
cf_pipeline_sdk is published with the dedicated Windows workflow:
- Workflow:
.github/workflows/cf_pipeline_sdk_windows_publish.yml - Package directory:
sandcastle/cf_pipeline/cf_pipeline_sdk - PyPI tag:
cf-pipeline-sdk-v<version> - TestPyPI tag:
cf-pipeline-sdk-v<version>-test
Local preflight:
powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_pipeline_sdk_windows_publish.yml `
-PackageDir sandcastle/cf_pipeline/cf_pipeline_sdk `
-PythonExe py `
-PythonVersion 3.14
Queue a dry-run dispatch:
powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_pipeline_sdk_windows_publish.yml `
-PackageDir sandcastle/cf_pipeline/cf_pipeline_sdk `
-PublishTarget testpypi `
-Ref main `
-RequireLocalPass `
-DryRun
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
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 cf_pipeline_sdk-0.2.3.tar.gz.
File metadata
- Download URL: cf_pipeline_sdk-0.2.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b16b67325bbe04ec12e58a6d74e567fcd68cb04cb9709ba610c30386281ca90
|
|
| MD5 |
138bba8a12aef6403b3b241a802c9a1d
|
|
| BLAKE2b-256 |
e635848f8b7197f81c4c9e8816f625251290a5180af9ee0a22a185f8cc73600d
|
File details
Details for the file cf_pipeline_sdk-0.2.3-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: cf_pipeline_sdk-0.2.3-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 11.8 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7258af56f8c943b18e2f4804b9777e255a598ab5951332062d643a7de26c58bd
|
|
| MD5 |
2be271899961a364e95b97f780ca8567
|
|
| BLAKE2b-256 |
d0d42492e8d6c6095cbcc4a5aa10cd30b0d1343c2939d0a460eadbf7e80919fe
|