Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Hydra DigitalHub Launcher

license GitHub Release Status

DigitalHub Launcher for Hydra apps uses the DigitalHub platform to launch single tasks. It is expected that the task function is defined as a corresponding hydra runtime function. The launcher spawns the execution of the task functions either locally or within the platform, in a batch of parallel jobs.

Development

See CONTRIBUTING for contribution instructions.

Build container images

To build the container image, you need to:

Clone the repository and navigate to the digitalhub-serverless directory. The build process consists of three main steps:

  • Build the processor image (modify the Makefile file to change the SERVERLESS_DOCKER_REPO and SERVERLESS_CACHE_REPO variable to your Docker repository, e.g., docker.io/yourusername)
make processor
  • Build the base image (chooses the Python 3 version from 9, 10, 11 or 12)
docker build -t python-base-3-<ver> -f ./Dockerfile/Dockerfile-base-3-<ver> .
  • Build the onbuild image (Modify the Dockerfile/Dockerfile-onbuild-3-<ver> file to change the SERVERLESS_DOCKER_REP variable to your Docker repository, e.g., docker.io/yourusername)
docker build -t python-onbuild-3-<ver> -f ./Dockerfile/Dockerfile-onbuild-3-<ver> .
  • Build the runtime image (Modify the Dockerfile/Dockerfile-handler-3-<ver> file to change the NUCLIO_BASE_IMAGE and NUCLIO_ONBUILD_IMAGE variables that point to the base and onbuild image you just built, e.g., python-onbuild-3-<ver>)
docker build -t python-runtime-3-<ver> -f ./Dockerfile/Dockerfile-handler-3-<ver> --build-arg GIT_TAG=<some-tag> .

Launch container

To run the container, use the following command:

docker run -e PROJECT_NAME=<project-name> -e RUN_ID=<run-id> python-runtime-3-<ver>

Required environment variables:

  • PROJECT: The name of the project
  • RUN_ID: The ID of the run to execute

Security Policy

The current release is the supported version. Security fixes are released together with all other fixes in each new release.

If you discover a security vulnerability in this project, please do not open a public issue.

Instead, report it privately by emailing us at digitalhub@fbk.eu. Include as much detail as possible to help us understand and address the issue quickly and responsibly.

Contributing

To report a bug or request a feature, please first check the existing issues to avoid duplicates. If none exist, open a new issue with a clear title and a detailed description, including any steps to reproduce if it's a bug.

To contribute code, start by forking the repository. Clone your fork locally and create a new branch for your changes. Make sure your commits follow the Conventional Commits v1.0 specification to keep history readable and consistent.

Once your changes are ready, push your branch to your fork and open a pull request against the main branch. Be sure to include a summary of what you changed and why. If your pull request addresses an issue, mention it in the description (e.g., “Closes #123”).

Please note that new contributors may be asked to sign a Contributor License Agreement (CLA) before their pull requests can be merged. This helps us ensure compliance with open source licensing standards.

We appreciate contributions and help in improving the project!

Authors

This project is developed and maintained by DSLab – Fondazione Bruno Kessler, with contributions from the open source community. A complete list of contributors is available in the project’s commit history and pull requests.

For questions or inquiries, please contact: digitalhub@fbk.eu

Copyright © 2025 DSLab – Fondazione Bruno Kessler and individual contributors.

Metadata

Release files for hydra-dh-launcher 0.16.5b3

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

Source distribution (sdist)

Source distribution for hydra-dh-launcher 0.16.5b3
File Size Uploaded
hydra_dh_launcher-0.16.5b3.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hydra-dh-launcher 0.16.5b3
File Interpreter ABI Platform
hydra_dh_launcher-0.16.5b3-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / hydra_dh_launcher-0.16.5b3.tar.gz

Download URL hydra_dh_launcher-0.16.5b3.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7d32da5f4bad9e688f49d16c18d45d6d555507aa07a2f14a3d894deeb0ef4b28
BLAKE2b-256 checksum
How to use checksums
6f075c95c3a95e98d2808877524eb4c512ad6bed2635ee62d9abcbfacf38a97a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hydra_dh_launcher-0.16.5b3-py3-none-any.whl

Download URL hydra_dh_launcher-0.16.5b3-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9dde76fc6d6827a42917322db3571d6fac939f253dae40310ff4619d241e24b0
BLAKE2b-256 checksum
How to use checksums
7b7b564ea26e6e312d3a28a53c2c757a394470fd70d510cb13b8f47efae9fd9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
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