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.9.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.9-cp313-cp313-win_amd64.whl (430.7 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.9-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.9-cp313-cp313-macosx_10_15_x86_64.whl (264.6 kB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

cf_basic_signal-0.1.9-cp312-cp312-win_amd64.whl (430.7 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.9-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.9-cp312-cp312-macosx_10_15_x86_64.whl (264.5 kB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

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

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.9-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.9-cp311-cp311-macosx_10_15_x86_64.whl (262.0 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

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

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.9-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.9-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.9.tar.gz.

File metadata

  • Download URL: cf_basic_signal-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 298b50c284cdad5965e11b6a8b49b1cde1aec3028c7cd58d98822b6fb8b3c62a
MD5 236a1c2373f3436e79c2de51e0aaa1c6
BLAKE2b-256 de8806bb31dd33f3c3ba1759394db69de554e8a84f959cc16902113ffdbc6a83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5808853a7a93d476234b31a2fbb13903699f396c9c130605e2f5c48f9b878b5f
MD5 5632503133ef3cf5d941d4e6ce2e7473
BLAKE2b-256 3adef4d8d894d9e6b85bcec10a3bc4c5249fde4154146b2d6e71522de185a8f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5ea7067c7a85512297080b24ef1c48ebb3c48ffde1736434613b3f947bdea516
MD5 9c58dbd5e18d50a482d8866c43fd771c
BLAKE2b-256 b8f867cc0be7bc23554ab9c1f338c86dba49ad46ff3f184d2aa746c3be981786

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f5ee00b927b257979cb29946d6587c0d07497eee98aeccd32e0feb6be0466f67
MD5 c71c11a562c961b07e6c63bf47d3db81
BLAKE2b-256 3251cf5fd83b63cf9f2ab1f952b371ba339c2e7353394e7407482819991ec8de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f92f24a4bb041b3721f86bda0eb9a7e406230815f615ca6e7dc9178e9aa83bd3
MD5 c03f59cc1037e6d29761c5ecf1e23e0f
BLAKE2b-256 3e24cd3065c161adf080e6bfb6afd4c8c1c61dc01335f17a9daff7ae9dee616b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5b2e5704e3abcfb865ca288a7aaf0010e6e93c84029811f890ca7582a50513f4
MD5 1bbf6e8e928b1c265f2999ee688f0dfd
BLAKE2b-256 471daafa768cd31e7b93c21489e877f87a986d8dc0e53e606ab8540bf885288e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c38f35e72a03e9268fb70728db46dc84a0a5ee25a2a2ac04bf21668283c17fde
MD5 8f4d5434229347c3080a8da13cbc3c86
BLAKE2b-256 82877987b301c169178b8a3737926543edea5f6c790f0d3d9877df01d61c4b67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f8f6f0856b3a5b40ea8e90e1399ad79122b15f0ae911552392f67e705526f2b9
MD5 6e65581ab328e49dfad8e8488faa2027
BLAKE2b-256 8a6aea0919ca923c0d885ad3d09d34a7221dc2aaf5a8d16457c6223741b0c55d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 432e35681705b672e8389884e92072314865c8bbe1b5f29563822c9378416096
MD5 4bd8f7aba442a3473301b43e1895ecad
BLAKE2b-256 0c26c8fff97988b037834fef268830cbba87be69b1845859d1b16c4662d10913

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 05e088368652990182e016afcb543bc5c1970b0394a23feb9e5a4ac01671cc54
MD5 2a01179d0c3e7a5fa764c4c7448470a2
BLAKE2b-256 243665c12366545b397958eef83653c16de2daa30ca68e6dc3adfca0c104758a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cc9311ba6d61ec86a038ce9167c9cf3ba5d573597bae77c18a75ac6d43569262
MD5 9bdbc1850a02db960d0fef4d4e1f89f3
BLAKE2b-256 83c504f20948691e16f1e04047645999c2a64798e3d9ea91b86eff62a91f8d26

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d9b9c75859b9b29372fd97d35d045ff0fa09a142d0b1ee4608f923c3bef4bd78
MD5 3720a4b0ab4edeb514f5b799bf295bdf
BLAKE2b-256 eb69993454456f8cb7b369078e84ed08f99d8dbe029c075303c3ea65644f0c31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.9-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8f5eefc581ad220e8a2e3eaeb1a7ebf078496d8a3c9b9a0e4ce2484eb871fa63
MD5 106be16318763b95c8c59f225aa3ca20
BLAKE2b-256 4ee7f84163558e50401bc96473a7e270a9a372f2c09d44588f7da8dadbcab5df

See more details on using hashes here.

Provenance

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