Skip to main content

"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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dahu-2024.2.0.tar.gz (189.3 kB view hashes)

Uploaded Source

Built Distribution

dahu-2024.2.0-py3-none-any.whl (123.0 kB view hashes)

Uploaded Python 3

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