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.8.tar.gz (17.2 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.8-cp313-cp313-win_amd64.whl (430.6 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.8-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.8-cp313-cp313-macosx_10_15_x86_64.whl (264.5 kB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

cf_basic_signal-0.1.8-cp312-cp312-win_amd64.whl (430.6 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.8-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.8-cp312-cp312-macosx_10_15_x86_64.whl (264.4 kB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

cf_basic_signal-0.1.8-cp311-cp311-win_amd64.whl (427.0 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.8-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.8-cp311-cp311-macosx_10_15_x86_64.whl (261.9 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

cf_basic_signal-0.1.8-cp310-cp310-win_amd64.whl (424.6 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.8-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.8-cp310-cp310-macosx_10_15_x86_64.whl (257.4 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.8.tar.gz
  • Upload date:
  • Size: 17.2 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.8.tar.gz
Algorithm Hash digest
SHA256 cf154cde15acb0f60707cba523f79f1699077d3b5ad661b06a1046d120b9677e
MD5 0ba5037aaf88e992a229b570edbbaabe
BLAKE2b-256 b550d68ebd8a675a0b2b1167e7c212cdc5739e47e68010bc96a580f602f0d91b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2dd1497469523490ac28dea440fb982a11540d2d528c7c382e608da885f28b96
MD5 d5d0792fe90aa328478f3a1ba546ea66
BLAKE2b-256 c5e62e69473aaff7c32d190c5a82aa75a18003b4372308380dd2833b669ccfd9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 23144dc4eea824d0570f43ef8ed5e53813cfdca80e8c532470bdcf1f735f6a17
MD5 13f0a502011d4edb2096a3bac7759ce4
BLAKE2b-256 155e5cf41e0da9205ae28d9c1a143605e0e23ab03e4c6e1af494ed8eeda79c87

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp313-cp313-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cdaa7f8eac42dfa7139d3d188345012f31025170d355dfd34c2f4d9d91bb295e
MD5 5ce41db4f8a48ec8c83ff8d5e443ce12
BLAKE2b-256 3c4f03328c38871f85aa2bab0d00bb95db294773e022f1c65bcefaaaf8dbad83

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5b23353ce592f62eec3261aa52bdc594291628f7490504a3d4a3a00934b51562
MD5 0e3ac2fb415dba809f4f50954dd66241
BLAKE2b-256 d801f833609b5b2fd360dedbf6f55c08de7d248a648d9e7cf8d94925b41da2c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 258d910c366e1a6aa9d5bf881a2919a54f3d23d9f7977fd09a00897ca0b42e4a
MD5 d32370d41be266bd8559a9e64b192fc8
BLAKE2b-256 60ba000564ad32b49a49c3fe7d43b51cde3bbd54b5938a7f0f33158c31addec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d9ce1577ff78de84197c9aa918ea946fdccc2f8669d6354aed46d205d6f01636
MD5 0a5bd896abbc722659e9340dc6d7d311
BLAKE2b-256 6d6f73581c889da5cd4c10fd054fa7e60a2e5af7cd1f959f39bc9dce7818f087

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6360c7165d3a4b421ae2045dbd1dd0ea16d97d52bad74367b3f255ef4b96a126
MD5 d30bbcf8483e8dd749f7db3f7abaeaac
BLAKE2b-256 4420f4ba48cfff233eedfaa97ddeb506e80e18428b7703d100e553f37b332d89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 79b0553feff91b08de0a80a029a7118615d263000a40b9ddecab93ef71e3c595
MD5 dd630d0a51c2555414b8cc6eddd52893
BLAKE2b-256 20bbd19e1176ac10faaebdfcdc93afdb74ce5bf18dd01554d1a2c453422d5697

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9c2420e8a7d4d3a852fcf19e98ee0aaf2123e7163eb3648bcb0b21bc95fbe2ee
MD5 efcd8a5de1fec4e013fe1d4bd116fab7
BLAKE2b-256 24eb0f6a15429964ee5b86bd449d91a405bb2eca6fe57103cd5526aa9f8a5e39

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c053ad80a1d322a9b3dded3e903328bd26ec9cd21add1240f13359e6734439ec
MD5 ee488ac0775d72550f57e83d189c3267
BLAKE2b-256 e541bcfe60c98a21f04d9fbbb46b3be00b1b91e4f262b55883ab8c9a53299281

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4233a00a0a9e5d1474046dab98ab3483bd129e46063df733f83878641f076f9a
MD5 e5204cd31244688e3724089aa40ccecf
BLAKE2b-256 ac69b80296fcbf7578f186d770c84e9242c02b85d58ce834dde8d7829797520e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.8-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.8-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.8-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 bf50746f01b5b6e243c868dd205d8d0ac076e1a71d0d93c1f842c22136332d9f
MD5 9261dbfa8292f9d6ccec360bfb8baeaf
BLAKE2b-256 a06b0f47e283e03a9ae733a9543d9feeb9daec247186be547bc6b734b55a8d0f

See more details on using hashes here.

Provenance

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