Skip to main content

Streaming Graph Navigator. A framework to help navigate buffers through a graph. The buffers must flow.

Project description

sgn

This is an attempt to sketch a streaming framework to replace some good aspects of gstlal.

There are the following concepts defined

  • Buffer: An object designed to carry data through some execution graph
  • Source Pad: An object that is designed to create a buffer when asked
  • Sink Pad: An object that will receive a buffer when asked
  • Source Elements: These manage the creation of buffers on one or more Pads with the assumption that they will be executed as part of a graph
  • Sink Elements: These manage the consumption of buffers on one or more Pads with the assumption that they will be executed as part of a graph
  • Transform Elements: These manage the consumption of buffers that immediately result in the production of new buffers.
  • Pipelines: These manage the graph execution to pull buffers through the graph and potentially handle other events.

limitations

At the moment only single src / sink elements are supported for trivial linear graphs. There is a skeleton to start expanding it and it is written such that hopefully it will be possible.

Getting started

Clone the repo and run ./test

e1-054675:greg-fw channa$ ./test 
{'cnt': 1, 'name': 'transform'}
{'cnt': 2, 'name': 'transform'}
{'cnt': 3, 'name': 'transform'}
{'cnt': 4, 'name': 'transform'}
{'cnt': 5, 'name': 'transform'}
{'cnt': 6, 'name': 'transform'}
{'cnt': 7, 'name': 'transform'}
{'cnt': 8, 'name': 'transform'}
{'cnt': 9, 'name': 'transform'}
{'cnt': 10, 'name': 'transform'}
{'cnt': 11, 'name': 'transform'}
...

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

sgn-0.0.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

sgn-0.0.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file sgn-0.0.1.tar.gz.

File metadata

  • Download URL: sgn-0.0.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.17

File hashes

Hashes for sgn-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3ca2c6aa02cf5786e8bf65af3c9eb8369a9d61295f341d7c33b91bad1d504ed8
MD5 e6912d77c6f426dea109a77e8be713bb
BLAKE2b-256 a35df23228cc0ad4a14a2f8e77ebd9f7377f7f691b0baf6a5eaf17e8258d9bf0

See more details on using hashes here.

File details

Details for the file sgn-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sgn-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.17

File hashes

Hashes for sgn-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d41eb6f629f9efcb215e22879265ef942939fb56d869e3df2fdb6288895279c6
MD5 3b84c8b20c5a76ed4fe1af1bbad7339e
BLAKE2b-256 58da1e42615a24f78e596b5ae9366d296fb36161a8beef3c4559f4efd4d9b52e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page