"Python lightweight, plugin based, data analysis engine"
Project description
Software chunks initially developped for ID02 upgrade program in 2012-2014.
- Dahu is a lightweight plugin based framework…
… technically a JSON-RPC server over Tango:
plugins can be class or can be generated from any state-less function written in Python
a plugin is executed within a job, each job lives in its own thread.
plugins have empty constructors plus 4 methods (or more)
setup allows to set the input parameters. Sanitization is performed here.
process does the work.
teardown sets the output, the logging and cleans up (if needed).
abort can be used to stop the processing if a plugin is a daemon.
the job is responsible for serializing on disk of the plugin’s input and output
jobs can be launched using the tango interface (or other …)
plugins have a single input and output, they are simple JSON-serializable dictionaries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dahu-2024.2.0.tar.gz
.
File metadata
- Download URL: dahu-2024.2.0.tar.gz
- Upload date:
- Size: 189.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacd4b28939c1ca0e30b71706a752ed8b8c19079adde143b5804f6b12b1e4f81 |
|
MD5 | bbd514c4d0fb2a6be85d05490a88f89f |
|
BLAKE2b-256 | dcae4444b3d6e1acbcbc22369972fa703b6581d136dff1338d43b70c46717f4e |
File details
Details for the file dahu-2024.2.0-py3-none-any.whl
.
File metadata
- Download URL: dahu-2024.2.0-py3-none-any.whl
- Upload date:
- Size: 123.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34246ae641d3ae6e57ca7d3db436de47ebc2f826fcb216dbc61445ac89d381c9 |
|
MD5 | ce0abf24244ae698e7ac014dce096444 |
|
BLAKE2b-256 | f1e9313740cd64f50ceb45a3e8681f7fd75e8605f406ff4ce883830d697ddbf4 |