Skip to main content

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 CfStepRuntimeContractV1 provider surface consumed by cf_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:

  • id
  • key
  • types
  • name
  • multi for input ports

When a step manifest port declares cf:valueContract, the generated port entry now adds a value_contract object with additive metadata:

  • shape_kind
  • element_types
  • table_schema.columns[] with name, type, and nullable when 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

cf_pipeline_sdk-0.2.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cf_pipeline_sdk-0.2.3-cp314-cp314-win_amd64.whl (11.8 kB view details)

Uploaded CPython 3.14Windows x86-64

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

Hashes for cf_pipeline_sdk-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8b16b67325bbe04ec12e58a6d74e567fcd68cb04cb9709ba610c30386281ca90
MD5 138bba8a12aef6403b3b241a802c9a1d
BLAKE2b-256 e635848f8b7197f81c4c9e8816f625251290a5180af9ee0a22a185f8cc73600d

See more details on using hashes here.

File details

Details for the file cf_pipeline_sdk-0.2.3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for cf_pipeline_sdk-0.2.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 7258af56f8c943b18e2f4804b9777e255a598ab5951332062d643a7de26c58bd
MD5 2be271899961a364e95b97f780ca8567
BLAKE2b-256 d0d42492e8d6c6095cbcc4a5aa10cd30b0d1343c2939d0a460eadbf7e80919fe

See more details on using hashes here.

Supported by

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