Skip to main content

Cogniflow basic signal+IO step package (InlineSource, HandleSink, FIFO/average) with optional C++ acceleration.

Project description

cf.basic.signal StepPackage

Basic IO + signal-processing steps packaged for Cogniflow (InlineSource, HandleSink, FIFO buffer, averages, optional OPC UA source).

Steps

  • cf:InlineSource - emit inline payload (JSON if prefixed with inline://)
  • cf:HandleSinkStep - stub sink that forwards to a handle (duckdb://, parquet://, inline://, etc.)
  • cf:FifoWindowBufferStep - windowed buffer
  • cf:AverageStep - arithmetic / geometric / harmonic mean
  • cf:OpcuaPhSource - virtual OPC UA pH source

Files

  • cf-step-package.yaml - manifest
  • steps.ttl - ontology fragment for the steps
  • cf_basic_signal/steps.py - implementations (with optional C++ backend for signal ops)
  • examples/inline_to_sink.json - minimal IO pipeline (InlineSource -> HandleSinkStep)
  • examples/golden_fifo_avg.json - minimal signal pipeline (InlineSource -> FIFO -> Average)

Pipeline backend plugin

The package now registers itself as a pipeline_backend plugin:

  • C++ ops (impl="cpp"): fifo_window_buffer, average, csv_sink (registered via capsule register_cpp_op)
  • Optional C++ op (impl="cpp", gated by build flag + open62541): opcua_ph_source
  • Python ops (impl="python"): inline_source, handle_sink, opcua_ph_source

To enable the C++ OPC UA op at build time, set CF_BASIC_SIGNAL_ENABLE_OPCUA_CPP=1 and make sure open62541 headers/libs are discoverable (or point to them via CF_BASIC_SIGNAL_OPEN62541_INCLUDE / CF_BASIC_SIGNAL_OPEN62541_LIB / CF_BASIC_SIGNAL_OPEN62541_LIBNAME).

  • Metadata: pipeline_plugin.json (api_version=1, Data ABI Data-v1)
  • Importing cf_basic_signal will auto-register C++ ops when available; otherwise the Python fallbacks are registered.

Quick check

  1. Install package:
from core.step_package_manager import StepPackageManager
m = StepPackageManager("path/to/gui_sandbox.duckdb")
m.install_from_manifest("sand_toys/cf_basic_steps/cf_basic_signal/cf_basic_signal/cf-step-package.yaml")
  1. Load server and verify:
from core.algorithm_server import AlgorithmServer
s = AlgorithmServer("path/to/gui_sandbox.duckdb")
assert s.step_registry.has_step("cf:InlineSource")
assert s.step_registry.has_step("cf:HandleSinkStep")
assert s.step_registry.has_step("cf:FifoWindowBufferStep")
assert s.step_registry.has_step("cf:AverageStep")
  1. Run the example pipelines via your runner. Expected outputs:
    • inline_to_sink: status "handled via inline://dev-null"
    • golden_fifo_avg: window [4,5,6], mean 5.0, small SE.

Wheel builds & publishing

  • Wheels are built with cibuildwheel for CPython 3.9-3.12 across Windows, Linux, and macOS (config in pyproject.toml).
  • The workflow builds the single cf-basic-signal wheel (now including IO steps) and uploads it as an artifact.
  • PyPI/TestPyPI publishing happens on tagged pushes via the trusted publisher action (pypa/gh-action-pypi-publish).

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_basic_signal-0.1.12.tar.gz (17.3 kB view details)

Uploaded Source

Built Distributions

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

cf_basic_signal-0.1.12-cp313-cp313-win_amd64.whl (427.6 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.12-cp313-cp313-macosx_10_15_x86_64.whl (259.9 kB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

cf_basic_signal-0.1.12-cp312-cp312-win_amd64.whl (427.6 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.12-cp312-cp312-macosx_10_15_x86_64.whl (259.8 kB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

cf_basic_signal-0.1.12-cp311-cp311-win_amd64.whl (424.4 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.12-cp311-cp311-macosx_10_15_x86_64.whl (257.2 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

cf_basic_signal-0.1.12-cp310-cp310-win_amd64.whl (421.9 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.12-cp310-cp310-macosx_10_15_x86_64.whl (252.6 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

Details for the file cf_basic_signal-0.1.12.tar.gz.

File metadata

  • Download URL: cf_basic_signal-0.1.12.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cf_basic_signal-0.1.12.tar.gz
Algorithm Hash digest
SHA256 4b4231d0d1ba51237a9228bf2500a12455c844da9106c471eebf85006ddee8ea
MD5 62ee21f58be85bafe73c1ba1376b2f67
BLAKE2b-256 3591c9a81f1780114bfb08c1074646950ca73e710c6eeab4ca76776785c453ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12.tar.gz:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0e16bc2c1ac644c70947d233c77e971895fffd0ea9aace0287351159dd196590
MD5 64d7e718637a18bf7141dd487bfbd767
BLAKE2b-256 fc898b0448b41647158b4efb226fd6584263169227bfbd5bf0dbe782cbbc615c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp313-cp313-win_amd64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d0201146562b3dd991403269a842de80e8064ced98bf039e415b3ca4f5f4088a
MD5 a58d792ae454a3721acb3ca037daef75
BLAKE2b-256 23f1d52ea7bb089819e443fceeb9a8972c482fbd581f08ce9d1d7b4d324723c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp313-cp313-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 916f2d54035d3f6a82f88af7ba16795ccd479a1115639afa18904a39d8d145a2
MD5 b54b3152e9c3f9031223c91c1a57256b
BLAKE2b-256 1162d96f0d70133c9692f0374c4ff62fb236cf346cf8c8ff0ec3bf025a0c36f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp313-cp313-macosx_10_15_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4bb55018f704faf03bc839850f565dd5cf79c2b0ab32c4234e52366df727a0a9
MD5 c0f0e62c1c2c31768966ee3c65a76fd6
BLAKE2b-256 54021793d7c45f27a25db267d229e04ddd13dce5fa9af5aa6a92ffe0581a74bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp312-cp312-win_amd64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 91c7a86e7a8b0a4ae30900ce41765926ba09f31d9fd57468255a177e5e39b36b
MD5 908adead95c1d7fd9424dbee50ea601d
BLAKE2b-256 3b4d4437a17f6d0386a2b051e3ae28dd4b9f050827e908761dde178707966eef

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6f88c784aa2ba2dd4e8c910b54e73edba31d81c642ff752e4ba54f89b3b5ec52
MD5 60380db1c91b79806af1e1db8bdc20f6
BLAKE2b-256 099bce44165411c9af226c39760ea40bffeb6cbac43e08a4223e7b5e7af47638

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp312-cp312-macosx_10_15_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e4074ecac622cced04faf69d5df2f25807566151ab27b34ceb8b34ed16670449
MD5 7285423b2c37a31512e5cfcd8d0a68a2
BLAKE2b-256 c1eb9750b9946ec06a3eeea045e5ab9ccd42a6ba2fa1e426413feeb072fb3bd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp311-cp311-win_amd64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4383249de22d60f7ac240ee391086d0a939c251424c67d4721e1b5addd7b8d94
MD5 60865564446c3b65c0ced9087f2a2904
BLAKE2b-256 7d1163a8aff1ef013e0a017d26d36d42ff709f76e72669e16814d7f572b2dfb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e313ad30c977aa3eac8aca629f4613376d70d1969439659984e0dbcb3a373493
MD5 5d36afb52cec36b959fa8e610fd55da7
BLAKE2b-256 9e661a05f6293897fd8629382f662a2282676770ab32eb3753db837dc2c438c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp311-cp311-macosx_10_15_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 238a2453d30249ff33745fc62109b8e63e27343cc36665c511af5f4cdde5fee4
MD5 4a963cb2d25b67cab241bcc34340f38a
BLAKE2b-256 038912b49a9f3a5582aa3548d900cf7d0205afd2eafc1afe758bc2d06e441690

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp310-cp310-win_amd64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 66a480247764bcc69ee64d9ab0858a8604602996857dafd67bef33a364da3538
MD5 ebfd86cd6d524d8c5e9798a6305a49f4
BLAKE2b-256 39d337013190ef2b6bd38b2c263e9355602ab1fc94a2b9b48c4e1a4e7d9fc9bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_basic_signal-0.1.12-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.12-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f601cf4f6d5b462b348eb71148e918203aca025092c6ae4d523340afa15dc7f6
MD5 cfd7fce5d5772a7eca2ddd215e5d05bb
BLAKE2b-256 3b1d3776fb160d107f28c44cd98ee949835ca0b37696f07a740bf85b79a7a6db

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.12-cp310-cp310-macosx_10_15_x86_64.whl:

Publisher: cibuildwheel.yml on odea-project/cogniflow-playground

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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