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)

Quick check

  1. Install package:
from core.step_package_manager import StepPackageManager
m = StepPackageManager("path/to/gui_sandbox.duckdb")
m.install_from_manifest("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.1.tar.gz (9.4 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.1-cp312-cp312-win_amd64.whl (93.0 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (139.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl (103.9 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

cf_basic_signal-0.1.1-cp311-cp311-win_amd64.whl (91.9 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (139.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl (103.1 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

cf_basic_signal-0.1.1-cp310-cp310-win_amd64.whl (90.9 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (138.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl (101.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 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.1.tar.gz
Algorithm Hash digest
SHA256 71b24b8e71e339e6c97ae08051ab9b891418cea22e07d6471fe9707d0fab74a3
MD5 e813463d8d1c97ede0de236497bdf441
BLAKE2b-256 17c918c8cedf15ac6546a6eb12aa37cb664ffc2df8ac6f717bb6abcb9e6e4e20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 60701f0e7478006eabd06bda94351fc0ec472e2cccfea47e25d45e782c6b31b0
MD5 9e530982a712d2f17cab7374697d967a
BLAKE2b-256 f0d58671dfbb35117b3384b3a4d8c6e0c0368295338874968bc64483e6d84b04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8d5d6240eaa07c65f59595c25219ebe2b89b6984f4f93b71391ed2fa99ffa7d9
MD5 96b913008e6514bdae1e2862a56c419a
BLAKE2b-256 670dfcb89eaef0f9a1f6ce74f9dba8291ba731bd05de032378ea11ded4538b49

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.1-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.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d0da86b8d22444eb018c7f8bbb593ae16cecbc7b6d494f8b4971edfa9f656135
MD5 9cdd3c72eccd01c0a191bd67c40bd435
BLAKE2b-256 be0e01a66f6d9c5b24229e96ad0bb8afd9c03e2bed9609e1859441d19013a179

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.1-cp312-cp312-macosx_10_13_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.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ad060d988612fae911a985d24c1c49d628da04d6101721255c76458381b3d43e
MD5 dcdbbad93c22efe22a7751e9b9bec8f4
BLAKE2b-256 c89638161e5d7460b525ced41dd7ba50bc0e18d78c6ad803b427124ca3c0d47c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2c3c796c7db5af1f173d0021e6d5ffe0a3aa8148f26289b8b33e2804622456b1
MD5 9e000d0f1c4c7a54609b35aabb9d8eec
BLAKE2b-256 134e3ed03fd2a5600e83ce4ffdd8e6abae3ad5540feae3c7ab08772606a51a7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.1-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.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8377d734a7203c5fe8ac0ee75f9b199378d049149f34c6af0debd54313d16a3e
MD5 b6e4a2088e3fc8207ce42e13acbac621
BLAKE2b-256 ea98c55bd3aa723f345f98510d0d006c0c6830bf9fb4546072c44a2ba0da6aad

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.1-cp311-cp311-macosx_10_9_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.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4341977b77a3c67d2e025b582706072d4f1ef4706f5d1cd975be51ae1c69e602
MD5 0b6dbc60a6a8ede600d76ff7c4049b4f
BLAKE2b-256 5ac1838dd722396a1d6dfa70680019a8dc96bc667e85f54a15f58c8ada7117c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 31e6b6eadd356bdaaaf14eb3ccbe829ac8ed30e056697c9617b8de84f669a04b
MD5 99e5d71704c68cb3a7281152848ff95e
BLAKE2b-256 9b5861865cf4b6c8e6ee4329988325925b47b00858af8b737b84b63b6d073d71

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.1-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.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 60511ef5e71329a5a0182f5dc323e58578f9ae8f620240b5e23d3e0572c00c6f
MD5 fde9e06af4ceb8afef27c0c79c26e9b8
BLAKE2b-256 9e7e416c4df7cdb40d1ac82752f5dcb85ee0936f7a384aaf2ad57e613c745364

See more details on using hashes here.

Provenance

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