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

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.11-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.11-cp313-cp313-macosx_10_15_x86_64.whl (259.8 kB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

cf_basic_signal-0.1.11-cp312-cp312-win_amd64.whl (427.4 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.11-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.11-cp312-cp312-macosx_10_15_x86_64.whl (259.7 kB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

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

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.11-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.11-cp311-cp311-macosx_10_15_x86_64.whl (257.1 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

cf_basic_signal-0.1.11-cp310-cp310-win_amd64.whl (422.0 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.11-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.11-cp310-cp310-macosx_10_15_x86_64.whl (252.5 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 2a11292f62de45779bd7665b7b08ebed6effd5f1c5cf95de2306693b3b09ece1
MD5 a39e431692de7b93f836f62d1a7ece35
BLAKE2b-256 4987e8d6561e6e3065a54ac4823d10f309c8825603767f4142250c3ee6c60e30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 30ceab4a9ebb1cc48eef44d9c77faa8f515a83321e44040d5892f02857af55be
MD5 5a42a00e700b676ba227f46cc07fd66f
BLAKE2b-256 107c9a31d5c5b63907ec552a9a732fe0c3d34dd94f97ba5fbdc65f614fe58af0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c5cb9c00dba418fc45d4c310992afdd633f7e606ee97d3cfc349838f781da520
MD5 bf0564c6422ea082f9c9d02efdabb113
BLAKE2b-256 5563be6491722a2816a5da2fdb9aed0c16e80b27d374169f5299df7f7ce38aef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7c2596a0072baf8cfc266d5cf8de1e615e428c158473d6a61ff26ca8cabefb5a
MD5 dc2af138496f8f03233bae1d43f9e3c2
BLAKE2b-256 15ab483880368153e7f79f294534656f164eacdf3b8e358d840f8290854f68e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 412a9ddead8ac5ce9a0b23d2f3fdea0c399b1c658fb0d8d35d0b9aa9817fc0a9
MD5 55cd044fe3821b0ccf1ea358d5ddb4a7
BLAKE2b-256 88013fd981cd21c59353b01d18bcf05dce8613f7957c5a7bd800190e72b8080a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9ca8f5ee0bb2703edd9796b637e777c896c47972e4e363fad86e082572e490e8
MD5 8c35bc2c48503f7f365522693dd8a8dd
BLAKE2b-256 56583579f44fd2e403c738ef60982891585f961d1dd85ed6e619edd76633cdec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6f0407fac743d1d9caf1d1b6d70bc7de7ae438fa06f431eb94a55d70a236f49a
MD5 87b70a17fe480f449c01732244fc4063
BLAKE2b-256 50e8dcd7641449251da46b3b23acb6b4318661867fcf825e6466488f0c747b89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 500f0929b4efd494a744ec53236878b931d0e34076562afda208419f8820f60f
MD5 53ab62b14c27de90a6091373302d9282
BLAKE2b-256 8e74d6897d1999261efba923ba088e99fb8b59fb15c5423dca4074d108e06914

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 090cc41323184939f1edc4f23441798ae4291d6260bf49c356fb0084f3b354ce
MD5 75b9aa7ccccc8065bf06935066546fae
BLAKE2b-256 ccf25b57256c5f63f96f4cdbefe9440af40eb8801abb02a1262f506870a7aab5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a7371f9e81d6d8e2da16ca45bde1eb27f11bc2f182472480ed613d954c0c52cd
MD5 61e606cb9b1427958c547fc9f2774b00
BLAKE2b-256 0faff0ce4d34f454b6e69eb08026aa3dbd729224743aae0cd4fb2d822188d2c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e03810bb2525e73b749fd86feae852602e1b35586495354473eaef4873beca1e
MD5 a4ecf286442576c14547911f80c21ab4
BLAKE2b-256 f7990ee81112bfd3bad508b1fb7463fc08b1c0a728727e706b63859764c83d25

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b50321faeee249daa9f0b592c6623356252375f94fd7ba0cd90ff46c55f337b6
MD5 e453cd5a8461cd0905854fa715cf6521
BLAKE2b-256 a778828fc2c9011b29bb224cc65bdaae3f5ac2a2acf093cd5af713ace3c935cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.11-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 523525b92b2c8d41c9ca8223586785ccc5cc9d93e2b17fab2bdda32e1ba3a9e3
MD5 978ec02e61901899cecb4c0da38e826c
BLAKE2b-256 530616ab2a07f43c71cb32ba831b3aeb1e6017a9db7dcbfec58f19df1b9cde6b

See more details on using hashes here.

Provenance

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