Skip to main content

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.

Metadata

Release files for dahu 2024.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dahu 2024.2.0
File Size Uploaded
dahu-2024.2.0.tar.gz 189.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dahu 2024.2.0
File Interpreter ABI Platform
dahu-2024.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 312.4 kB

Release files / dahu-2024.2.0.tar.gz

Download URL dahu-2024.2.0.tar.gz
Size 189.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dacd4b28939c1ca0e30b71706a752ed8b8c19079adde143b5804f6b12b1e4f81
BLAKE2b-256 checksum
How to use checksums
dcae4444b3d6e1acbcbc22369972fa703b6581d136dff1338d43b70c46717f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.0

Release files / dahu-2024.2.0-py3-none-any.whl

Download URL dahu-2024.2.0-py3-none-any.whl
Size 123.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34246ae641d3ae6e57ca7d3db436de47ebc2f826fcb216dbc61445ac89d381c9
BLAKE2b-256 checksum
How to use checksums
f1e9313740cd64f50ceb45a3e8681f7fd75e8605f406ff4ce883830d697ddbf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

2024.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page