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 (Python ops):

  • Ops: inline_source, handle_sink, fifo_window_buffer, average, opcua_ph_source
  • Metadata: pipeline_plugin.json (api_version=1, Data ABI Data-v1)
  • Importing cf_basic_signal will auto-register these ops when pipeline_backend is installed.

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.6.tar.gz (13.8 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.6-cp313-cp313-win_amd64.whl (98.4 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (145.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl (109.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

cf_basic_signal-0.1.6-cp312-cp312-win_amd64.whl (98.4 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (144.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl (109.4 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

cf_basic_signal-0.1.6-cp311-cp311-win_amd64.whl (97.4 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (145.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl (108.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

cf_basic_signal-0.1.6-cp310-cp310-win_amd64.whl (96.4 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (143.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl (107.1 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.6.tar.gz
  • Upload date:
  • Size: 13.8 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.6.tar.gz
Algorithm Hash digest
SHA256 41052896299af889ee972ee3cf9a3e09ebe6859cb364882e42375048e0622e09
MD5 d7efd2886a80b399ed56e18a9b75d7c6
BLAKE2b-256 26cb90004578ff308b3bf0cf4c0c9a48a68f14eaa58af8d39c2a804a9bc02701

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 379111032953ecf27b48dcc1a08e7b94559316447e4f5ea4b9f3a5178cee7ffa
MD5 4d2bdf8124690e3b00fd430bce2f47a6
BLAKE2b-256 14796b524ae9bb6311efed38a58aa29880a7e4ea3df0fe6c71e17fb9c7c29411

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8a4436c5e2eb045da69de80bf3e8cbecf4f52bbccca477d088f47385f491bc1d
MD5 cccf4ff81a710fcb902097ec5d79f1e1
BLAKE2b-256 f064d5baaacede0c931b15f0549fae595a786d91656fd89c8db72b9ece9b62c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_basic_signal-0.1.6-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.6-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 777c9a18f591d608d4fabb8235d85438bb21eac604511580d65380098e3bd24c
MD5 1761603df1c3d8ea6d6ed4bbca0ccaff
BLAKE2b-256 819c026a398905643fc1f511854c6643e873f7d7e60743c73ec2e1902ada8a6e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d94c8dbc9110e9257949e6e0a7a8139eaa22db2a72092cf05199cfc27bb853e9
MD5 a112acf090ee4edff2b069fbabd6225d
BLAKE2b-256 02ead5c532c22029b95a5c87229a4881c07d2b2768eeeb2fc794e070ed6b2105

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 806c6c83d6e2bd2549d99cc6b7a2c870954ca7e6ec7e64b8d40a38b2ea653420
MD5 3787b57196c79a669b15e5259a75c2c7
BLAKE2b-256 4785547433b06ea50a80c0ad32b79505578c1b8039d50c735e8f445bd5166000

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f34d854a7c2c4607bf6b455d7e4810c30714571c062378532bc58c19033b4314
MD5 14361a7ba03d84153c4ca570f5ec838a
BLAKE2b-256 79f0fd1d37a3a73cf81fff839361842b99ae809822181eb4490e25e9a545cc7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c95fc503fe5578a5b1f3b31bdeb497a264a752e7f7b6b6e02bbd0b0bb5166c15
MD5 ebe554262ab49a91b3e765a00d4e2467
BLAKE2b-256 523524ab8919089b3be032ab4a754c84f5e0f3a1acb5430dd98b0494c2e5eab8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0f36655a8ce73a710b61c84aec157b8aae2d452386803228c6c11b06744f21ce
MD5 04f93c24b4cecdc90c6e14a14d594cfc
BLAKE2b-256 91aaaedff791430dbdabb75d7d2547ead38540a6a266caa5c6d2b910b706fc8a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 aa5173211f8676b153ebe688950e62b2202283962b040a28414e510b823134ce
MD5 70eed86c8462059128a6b43f32ca5899
BLAKE2b-256 0e4e38829331126c078d57aab3c85919f3ecc6a0365edb6c628f266c3fc56055

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 34763494f30b6c101a268fcfad77a9c3a3ba838b5c740782fd04ed668dcce8f1
MD5 b6bf8c2ad980e46dc0547b18f570daaf
BLAKE2b-256 dfbab1700133892ee028ff843ebced1a8be83e48f1697b4cd2c850813d94c99e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 228d2ec3ff651ec7b42366b749d1a14c57d1fcddf8cec6058f5cab66837d40cf
MD5 fe63ca75f6219718fbb369ec5bb337c2
BLAKE2b-256 377973453959b6ec5cfbfbea790c0077fcebee1eba6c713a2156405b770f52e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1de93471d4035c5191d8c5f16657edd7bc23ef7f66052eab6331ca3a53f59ae3
MD5 f57ba0ec88eeedccda549748de82482d
BLAKE2b-256 2fd198d27a586093636725f0533d8c28d86682c4dbd5cc800b7f6e62b71f76b2

See more details on using hashes here.

Provenance

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