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 (registered via capsule register_cpp_op)
  • Python ops (impl="python"): inline_source, handle_sink, opcua_ph_source
  • 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.7.tar.gz (15.2 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.7-cp313-cp313-win_amd64.whl (167.9 kB view details)

Uploaded CPython 3.13Windows x86-64

cf_basic_signal-0.1.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (251.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.7-cp313-cp313-macosx_10_13_x86_64.whl (181.5 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

cf_basic_signal-0.1.7-cp312-cp312-win_amd64.whl (167.9 kB view details)

Uploaded CPython 3.12Windows x86-64

cf_basic_signal-0.1.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (251.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.7-cp312-cp312-macosx_10_13_x86_64.whl (181.4 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

cf_basic_signal-0.1.7-cp311-cp311-win_amd64.whl (165.6 kB view details)

Uploaded CPython 3.11Windows x86-64

cf_basic_signal-0.1.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (250.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.7-cp311-cp311-macosx_10_9_x86_64.whl (180.1 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

cf_basic_signal-0.1.7-cp310-cp310-win_amd64.whl (163.9 kB view details)

Uploaded CPython 3.10Windows x86-64

cf_basic_signal-0.1.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (247.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cf_basic_signal-0.1.7-cp310-cp310-macosx_10_9_x86_64.whl (177.1 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: cf_basic_signal-0.1.7.tar.gz
  • Upload date:
  • Size: 15.2 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.7.tar.gz
Algorithm Hash digest
SHA256 b2c8bf5050622b39a0c3ecb36d5f2bc073afd53f1e0ab6b10080666da4db4e07
MD5 260969e0a3682c7e96288a9dc1626133
BLAKE2b-256 fc0da78c81c451f94811412ef80c3f98720fc6e837d9a37773a1cbd95d9e646e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 733176e258413ed4f74c2982a202dd497d758f757d19e2344affa02a53eba463
MD5 adce462b4315e7c9436a1420b821975c
BLAKE2b-256 7237fa446dcbc84366602536531e28db98894c1682e345406d1b66f79a460cb2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 34ca5dc3217e48d1089377d18c03844a4a6c2897705fd078b06abb04c88ec645
MD5 2c850d1fe16dae5ed99381816c4daf8d
BLAKE2b-256 6e305869a781d161926e59abea14a15e72c192042ada94a842ae30d87bee1c5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 538f7153bfd03969321bc9f3475529b2f885f503e1844ecabbf18c941b5ccdc9
MD5 96356e7bf7cb7908ba67247e17933142
BLAKE2b-256 cb6dcce35a293cc15a3e8d60b78c2a1dd469bcd55d01c4d8e007af02311f0651

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7522654b65bf70071f6598a4375810608d7609af1a140c78230ff4df85c966cd
MD5 9fee9b885196936955e5feced7525d11
BLAKE2b-256 e94562965c6c5c72b86f6e8d33f07c95afabad62b565abf3570e0fdc4a5e3bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ce2badfbfb49f429bd25db45739d520f8a8bd063ef0a55274276bb735a7ac51f
MD5 676228c49173835786acdbd2d7ab489f
BLAKE2b-256 d350cda1c98ba113b48542457addf59b3e7064a758be0d332cdd5901e260e3c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 22a2e7bc35bb5d53cee978a00eae5ef10460c25ba7ba768bbfb5541caad121fe
MD5 a8fc9ace74645ad058787ee624083943
BLAKE2b-256 43b9021015e72fb1f7b1b4dbaa21f76c184d725ce58cf5ce5bb5af2a4c86aa69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 91eb533a495585ec4d004556ea3de1f48a0abcc3b2b4b2bb3baf7ffc754681f8
MD5 e94b8d87ec120f110bfea3cc44c65e4f
BLAKE2b-256 de836aa0bd6e7744ac0a6996160e78d4d45b6386acdd6b20ffb4aa0a2aa7fa51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2e9ef7756adf24fe3633fc2a69489b8e005c8c395652fed6955cafb70a81364a
MD5 c23f72ae99e6d75aed89f850ab0e9f66
BLAKE2b-256 697117a790347d5ae030ed08194aaa3136c0e8c96c50ba079ce0ae1e4f84d512

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 15a5dddb1fc9b04888b50dd6b9589c9f44058e5ffa0863fdbe07347a98161afd
MD5 631fa315bf4c2d2f00f2e300a9e49e0f
BLAKE2b-256 82e2c5c535ed9e9acc09d255455da43568883c074ccbbe56cc30729ccc81007b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a3a5630e3d288e46f227fa9045afac9c98e0303153a840bfb47b508853e334ff
MD5 7fc94c608f4fcb40c89d523d3353c558
BLAKE2b-256 aeabe31bc9f447e4194e5eeedc3943bebc93fac9e78f936ed67b36b33442aca8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ce746ae0a249c912c4cfd2bd46c441f035425d942215204c5aa6c3f4c367a9b7
MD5 56372bf7c28ffe597cbcbc6a92cfb987
BLAKE2b-256 c56cc7b0dc421a0bd4613557b68310b27c9c1375280da37f01bd339bdbb7ec0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cf_basic_signal-0.1.7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0b9f4692f69df2ad8318504788c6bd435d532705a6987e8bd0b5bd4e2f523c41
MD5 39f6660a0a2417a4ae939b68c9267523
BLAKE2b-256 becb15e307bd20456bc5e9b9d1ccda912bac93d85a49a6c088c2a1d50dd2be5a

See more details on using hashes here.

Provenance

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