Skip to main content

DIRAC is an interware, meaning a software framework for distributed computing.

Project description

DIRAC

https://badge.fury.io/py/DIRAC.svg https://img.shields.io/conda/vn/conda-forge/dirac-grid https://zenodo.org/badge/DOI/10.5281/zenodo.1451647.svg

DIRAC is an interware, meaning a software framework for distributed computing.

DIRAC provides a complete solution to one or more user community requiring access to distributed resources. DIRAC builds a layer between the users and the resources offering a common interface to a number of heterogeneous providers, integrating them in a seamless manner, providing interoperability, at the same time as an optimized, transparent and reliable usage of the resources.

DIRAC has been started by the LHCb collaboration who still maintains it. It is now used by several communities (AKA VO=Virtual Organizations) for their distributed computing workflows.

DIRAC is written in python 3.9.

Status rel-v8r0 series (stable, recommended):

Basic Tests Status Pilot Wrapper Status Integration Tests Status Documentation Status

Status integration branch (devel):

Basic Tests Status Pilot Wrapper Status Integration Tests Status Documentation Status

Install

There are basically 2 types of installations: client, and server.

For DIRAC client installation instructions, see the web page.

For DIRAC server installation instructions, see the web page.

DIRAC 8.0 drops support for Python 2 based clients and servers.

There are three available options for installation:

  1. DIRACOS2: This is the only fully supported method, see the DIRACOS 2 documentation.

  2. Conda / Mamba from conda-forge : We recommend making a new environment for DIRAC using

    mamba create --name my-dirac-env -c conda-forge dirac-grid
    conda activate my-dirac-env
  3. Pip: Provided suitable dependencies are available DIRAC can be installed with pip install DIRAC. Support for installing the dependencies should be sought from the upstream projects.

Development

For the full development guide see here, some of the most important details are included below.

Contributing

DIRAC is a fully open source project, and you are welcome to contribute to it. A list of its main authors can be found here A detailed explanation on how to contribute to DIRAC can be found in this page. For a quick’n dirty guide on how to contribute, simply:

  • Fork the project inside the GitHub UI

  • Clone locally and create a branch for each change

    git clone git@github.com:$GITHUB_USERNAME/DIRAC.git
    cd DIRAC
    git remote add upstream git@github.com:DIRACGrid/DIRAC.git
    git fetch --all
    git checkout upstream/integration
    git checkout -b my-feature-branch
    git push -u origin my-feature-branch
  • Create a Pull Request, targeting the “integration” branch.

Code quality

To ensure the code meets DIRAC’s coding conventions we recommend installing pre-commit system wide using your operating system’s package manager. Alteratively, pre-commit is included in the Python 3 development environment, see the development guide for details on how to create one.

Once pre-commit is installed you can enable it by running:

pre-commit install --allow-missing-config

Code formatting will now be automatically applied before each commit.

Testing

Unit tests are provided within the source code and can be ran using pytest. Integration, regression and system tests are instead in the DIRAC/tests/ directory.

Acknowledgements

This work is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536

eu-logo eosc-hub-web

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

dirac-8.0.58.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

DIRAC-8.0.58-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file dirac-8.0.58.tar.gz.

File metadata

  • Download URL: dirac-8.0.58.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dirac-8.0.58.tar.gz
Algorithm Hash digest
SHA256 87c6bb84ef7b0de00915248e8fd1117969aa11e7791da93505788520979766d7
MD5 e9397df6b4a1be7674c86daea25a0d84
BLAKE2b-256 93c38c9396cd17745f4a8192a1fc97c495ccb61a95600b690e8d097c8589a7e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for dirac-8.0.58.tar.gz:

Publisher: GitHub
  • Repository: DIRACGrid/DIRAC
  • Workflow: deployment.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: dirac-8.0.58.tar.gz
    • Subject digest: 87c6bb84ef7b0de00915248e8fd1117969aa11e7791da93505788520979766d7
    • Transparency log index: 146389238
    • Transparency log integration time:

File details

Details for the file DIRAC-8.0.58-py3-none-any.whl.

File metadata

  • Download URL: DIRAC-8.0.58-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for DIRAC-8.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae910fbf008b98365f46ed603ab5bddbc9d1c9b7a217f2124c250bc761262f6
MD5 11cb15de2369ae14227fe281b777dbe6
BLAKE2b-256 3d4a1dd1c9abb8597aede60f404601ecaf50a82e5cd3bc530c15843e1c3eae84

See more details on using hashes here.

Provenance

The following attestation bundles were made for DIRAC-8.0.58-py3-none-any.whl:

Publisher: GitHub
  • Repository: DIRACGrid/DIRAC
  • Workflow: deployment.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: dirac-8.0.58-py3-none-any.whl
    • Subject digest: 2ae910fbf008b98365f46ed603ab5bddbc9d1c9b7a217f2124c250bc761262f6
    • Transparency log index: 146389239
    • Transparency log integration time:

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