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

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.10-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.10-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.10-cp312-cp312-win_amd64.whl (427.4 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.10-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.10-cp312-cp312-macosx_10_15_x86_64.whl (259.6 kB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

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

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.10-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.10-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.10-cp310-cp310-win_amd64.whl (421.9 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.10-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.10-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.10.tar.gz.

File metadata

  • Download URL: cf_basic_signal-0.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 dfb3dec468b2b59cabd0582f5d0ddfcb5e2377e26e1a57c8d2d40ced5eba3046
MD5 ed22b802550cbc6fa1684ba4da13cac9
BLAKE2b-256 3abdecf07318a26b7a54d989325db711e581e304d7b16f254d1dd4682d83c0bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1c59a6967a6909896ee8fcfa5cbfc825bf84937761ae147f34959030b2ec7768
MD5 dc28a1554d2a60495b9b2b72adf92809
BLAKE2b-256 6911f4d00efd1ad64e14cfb777fc376605e4cf1dfb697d85f3367e4797b69927

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 04da23b647867a43233e42edb1c2febca64f3f1741a3d8938005aaa83af870d1
MD5 b943b50d896f630fd34a6348a05e6126
BLAKE2b-256 9819aaf0eb131288a797ad81a7abae56191ae6df7967e05aa50d7326b7bec581

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3bad49133b37c88e19f83cd03dda629fdc5be30fdff60319ac6181f2101f0d28
MD5 c2483d716234b2e700167fee64f986df
BLAKE2b-256 a6a91bb84c578764eca18129032bb2b6f9223c48a23783af2e25e98dea2b56a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 995767e38773858eb940b2a940cb795f986056c81ab7cccdea71bf85eee5e466
MD5 d979a2e857f1cee9662254fe8f42f1a1
BLAKE2b-256 27abd80357cc90917342839f4dc0c95130b9058ad3456b3fc8c11c4a9cb8c402

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b1c74bebe60d3d58dcc4586817723072d78b62d0d97a6b63bbf9b112c1f9b768
MD5 7e1e339be64c737b4fea24781b4bae63
BLAKE2b-256 c186081b830f6bd31b9dc6d0746e82f8849b42ca786e4a7e95a88b0a9f3b5b4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 744d0d4fedc4d8af7b55e425eddbdb8cfdf39a9af4e7ee66c2cbcabd85aca32f
MD5 f4a86b628aa34be3879a90e1aebd6312
BLAKE2b-256 6806fd41304c4aa4a153871011e8a0a37e92b57e31a5385537d82d121ffae70e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 35a8c68bb4c9f5b26ddd17579175e16d67c513ac03d011c23a57812d465ce97c
MD5 6f770792ff1fc79fcdcaa787614bfad5
BLAKE2b-256 778fff8392a3264a8b64b29606cc8ee456137be564e54639fa864a8200d76b8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bb3e46db71d29062a2d09f8794e44655d8d5ad08a8468a4ad50081f9859133e0
MD5 f638a69f9652aa9ddcec1987090ca04c
BLAKE2b-256 d37b5c4e709fc9558b14de0aafce791bc57c8ddac5caf4ac17b6e89102513759

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2d7ae737f928ee765b2bb32b878822b6488bdebf75c5e7bf5e42ea3eb6f17328
MD5 d881894e30122a15b1aa34ccd951ba40
BLAKE2b-256 7101d48dcb1dfd7770de3442b554d49f8dff9293e96a52e7892ffd6acb7115e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8682dcc93033783db736571a5585d73fd9a2f9e35ad7e14c3b0d24536f1b3520
MD5 4193613046c91a91b46f632b966f96df
BLAKE2b-256 e6dc4800e4f9854674407cf1a2087c6db58b1e75ab1d9c7547f04a057fd180b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 90a5e2fdebfd05b4ba933743487c0f3f07a942018f5bc32f47c738c2dfe55d1e
MD5 46ec2a26bcc099697b6b179d18f654e8
BLAKE2b-256 2e315a02b610469a530f03a3158b9ed0f54c93df98c8c7b9744c8ccd2db1bfe5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.10-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c7ea27da9b699fdd4ae41f01a7db83d60fe8318ff0dd1811aaeac9c46bbaf2a3
MD5 5511b60e95b52045d9ee8e7e73f522ad
BLAKE2b-256 beeadd889a0dc7ed1ddebedcd3a81b611d8a7efdd78f81d3d6891c8df7536d7f

See more details on using hashes here.

Provenance

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