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.13.tar.gz (20.6 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.13-cp313-cp313-win_amd64.whl (523.6 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.13-cp313-cp313-macosx_11_0_x86_64.whl (30.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

cf_basic_signal-0.1.13-cp312-cp312-win_amd64.whl (523.6 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.13-cp312-cp312-macosx_11_0_x86_64.whl (30.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

cf_basic_signal-0.1.13-cp311-cp311-win_amd64.whl (519.3 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.13-cp311-cp311-macosx_11_0_x86_64.whl (30.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

cf_basic_signal-0.1.13-cp310-cp310-win_amd64.whl (516.2 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.13-cp310-cp310-macosx_11_0_x86_64.whl (30.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.13.tar.gz
  • Upload date:
  • Size: 20.6 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.13.tar.gz
Algorithm Hash digest
SHA256 cf15ed9c959652e92b73f176083c4afff2bdb6782ad7bd622c0450c7e0472841
MD5 af8f9cc27a3d5bb45f81ce6a69c3be66
BLAKE2b-256 bdf02968b0b38d074260a3b47f01d28ec0f42257af88e2f50ba8d5f0357299ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13.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.13-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f631898b46d3a40a0695eb1f2f5b469627668ff9afcfb2fbf9c9729c13f065a0
MD5 8a556957eaf7202e18cbdc18cfdc7248
BLAKE2b-256 1144e245cfa7e7292f09040b328ded5c113c586f608bd71bdbb933c5e220f751

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2a22434ce65462ac3d8c7fb33601ea1fe205e994dfb0bad9b6368d35d304c069
MD5 24a6f2b84e24575979c91b123c423f03
BLAKE2b-256 8ebe52d78f904784ff317eeb7855428ea0f8de08a24f0ffcbfece9df737eae37

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5c52797dfd7e99b4ba733bfdd100ef3424b8be1c9b10817ecd37b9f036c0af7a
MD5 aca0c3a687008beb6549ba9a6eaf3007
BLAKE2b-256 41288993f52d0985332483ceba54e29f1f96be661e0ef1f593eef8e3315a1561

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-cp313-cp313-macosx_11_0_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.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5c1d4cf6e09753d37ae05bd3398992536391f7b1a6ecea67c857eecc7914073d
MD5 d4df3b159624981648b4b5be128255dd
BLAKE2b-256 1ae031d037bd8332d4fc12c3000e8e2ec80b15af2ac488de92397dadd865b662

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dc092b001f713c8af2e993e99b554eb80613130976e49d8ff05c74fb871a5e29
MD5 eaae183dab7ca7ad13c678cde6f782e5
BLAKE2b-256 4aa6457243125a3bae270e60a2ab2b6c11400e27acf83b880ac0ee67223ca413

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 370cffdd4f7d206cd1839d296ac52780c1a52d99f64a254a7d012293d9833fb1
MD5 20d640fc3753c03f55318a0401f16a13
BLAKE2b-256 c1a14c4913464ca474626334d71f9a44a4d30601a45f3974f41cae6d099e5ba2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-cp312-cp312-macosx_11_0_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.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb4b20fafaece8789bf6b67e428f1a160ee0847b3c66392a3e0a91e2e03cdb75
MD5 3f3bc5484aaa69df079ff0ff9151edda
BLAKE2b-256 296968f5c8a9995b1c632c3d349d462ad5ae424703e4cffdb8996b6bceb9766f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 027908a3c45e21892cb63fab9835002528e263a7e04d0375f758b39c030248f4
MD5 a5f370d45da7aadab62ee2cde3730f1c
BLAKE2b-256 854e7d5b5318e709f314fe9eb7ec0ff2894f5f0120dcd6bc0120c9747024143c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e8c6744586b3f4b858713eb86d7d82b9cc2274bb2c2964f4fd3fac8cc7e4a00f
MD5 707f1f284b9d84aa857c08d829bd418f
BLAKE2b-256 aa62c24f31b344116cf5e2f45884ed6207d677a9490e559ee2ffb9e93a3a07d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-cp311-cp311-macosx_11_0_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.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3e1c8664ab56924e25e40633dcd3feac05f0921f486aec7e5994c174383b9bb1
MD5 ff50347300bfb30e55597566c2508283
BLAKE2b-256 89edfd0bb1942ad4cc726d6a2d0d6c3fcccf0ef755aa79763c7193b3f97ff762

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 375cd40174c3b842f06d0bf7d0be3e125cc16037cee270dd0b813a2efa197586
MD5 c47691939db76dec1110603ec4e60591
BLAKE2b-256 b8d381ef33cfa7ff8cfd2dee3deed72020ff90a9a1caa9cfa725afb93a7d5201

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-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.13-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.13-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e810ba779b9c55e9350e3b014af3540d2ee3cb01bdaf3fe4cffd4488af33a1d7
MD5 f8cb9c0901d5b224d260f10d48e02724
BLAKE2b-256 83216d1df0e3f43870167992b8e51118160ad7fb7e13c113c2d61e1bfbeae62a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.13-cp310-cp310-macosx_11_0_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