SuperNova Async Pipeline

This package contains base for asynchronous real-time data analysis pipeline. It was designed for the supernova neutrino signal detection.
Documentation: https://snap-base.readthedocs.io
Features
- Running chains of generators and functions asynchronously.
- Computationally heavy/blocking code is run in parallel threads/processes.
- Pipeline is configured in a
yamlfile, where the steps are assembled and parameters are set. - Branching support: data can be fed to parallel chains for various processing.
- IO interfaces to connect running nodes with each other:
- ZeroMQ
- Hopskotch
Installation
pip install snap-base
This will install only the core functionality.
To install also the i/o interfaces use
pip install "snap-base[io]"
Defining the pipeline
The pipeline definition consist of
- A python module (or modules) where all the processing steps should be defined
yamlconfiguration file, defining how the data should flow through these steps.
While this package defines some basic functions, like sending and receiving data via ZMQ or running analysis step in parallel processes, all other needed functions will need to be defined by user in the python package.
Package snap-combine contains more utility functions for the supernova neutrino signals combinations.
Running
Go to the directory where your
Run the node named node_name from config.yml:
snap config.yml -n node_name
Example
Put the example module example.py and configuration example_cfg.yml in a directory.
Run the example node with branching:
snap example_cfg.yml -n node_branching
And you should see the output of the generated random walk , and it's analysis in two branches.
Metadata
Release files for snap-base 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| snap_base-2.0.3.tar.gz | 25.3 kB | Without provenance | Details for snap_base-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| snap_base-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for snap_base-2.0.3-py3-none-any.whl |
Total release size: 53.7 kB
Release files / snap_base-2.0.3.tar.gz
| Download URL | snap_base-2.0.3.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d1b49b1fd7c5568e3ceb08c8c44a50013f1aa19106dafd06ecbd37f44be4d1c
|
|
BLAKE2b-256 checksum How to use checksums |
0c07b24a6c0e93d29c505ba8ddcc28045187123fcac9a682b92a1a7f18b22327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / snap_base-2.0.3-py3-none-any.whl
| Download URL | snap_base-2.0.3-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
061c314cc21ac96dfa679ae79adcba1cd218e17e493301ef2df80bc0eeeb8b9d
|
|
BLAKE2b-256 checksum How to use checksums |
1878f44e4d11d6dbf7f575799b3e647e7336ae494526925e5f8596ed1bf8b3bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for snap-base 2.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.