Skip to content

kif/dahu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3c753d9 · Feb 20, 2025
Feb 20, 2025
Sep 3, 2020
Sep 3, 2020
Feb 22, 2024
Feb 22, 2024
Dec 12, 2013
Sep 3, 2020
Feb 23, 2024
Dec 12, 2013
Feb 20, 2025
Feb 22, 2024
Feb 20, 2025
Dec 12, 2013
Feb 10, 2020
Feb 22, 2024
Feb 22, 2024
Feb 7, 2020
Feb 22, 2024
Feb 22, 2024
Dec 4, 2024
Feb 23, 2024
Feb 22, 2024
Feb 23, 2024
Feb 22, 2024
Feb 22, 2024
Jan 13, 2022
Feb 7, 2020
Jun 11, 2014
Feb 3, 2025

Repository files navigation

Dahu: Data Analysis RPC server over Tango

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.