semvec/pypi-packages huggingface dataset:
CTADIRAC 3.0.11
CTADIRAC is an extension of the DIRAC interware for dedicated CTA usage.
License: BSD 3-Clause License
Requires Python: >=3.9
Keywords: DIRAC, CTA, Workflow, GridComputing

[![PyPI - Version](https://badge.fury.io/py/CTADIRAC.svg)](https://pypi.org/project/CTADIRAC/)
[![SQ - Quality Gate](https://sonar-cta-dpps.zeuthen.desy.de/api/project_badges/measure?project=cta-computing_dpps_CTADIRAC_AYcypMiTBJOBl6qHRhPT&metric=alert_status&token=sqb_f393351b89087355ed88f19a2a20955620293e2b)](https://sonar-cta-dpps.zeuthen.desy.de/dashboard?id=cta-computing_dpps_CTADIRAC_AYcypMiTBJOBl6qHRhPT)
[![SQ - Coverage](https://sonar-cta-dpps.zeuthen.desy.de/api/project_badges/measure?project=cta-computing_dpps_CTADIRAC_AYcypMiTBJOBl6qHRhPT&metric=coverage&token=sqb_f393351b89087355ed88f19a2a20955620293e2b)](https://sonar-cta-dpps.zeuthen.desy.de/dashboard?id=cta-computing_dpps_CTADIRAC_AYcypMiTBJOBl6qHRhPT)

# CTADIRAC project

* CTADIRAC is a customized version of the DIRAC interware. As of today, it allows an easy and optimized access to Grid resources (mainly EGI) available to the CTA Virtual Organization (vo.cta.in2p3.fr). When CTAO DPPS will be setup, CTADIRAC will serve as the Computing Ressource and Worflow Management System.
* Follow the [CTADIRAC specific documentation](https://redmine.cta-observatory.org/projects/cta_dirac/wiki/CTA-DIRAC_Users_Guide)
* [Wiki](https://gitlab.cta-observatory.org/cta-computing/dpps/CTADIRAC/-/wikis/)


# Install CTADIRAC Client

See the dedicated [client installation documentation](docs/install_client.md).

# Install CTADIRAC Server

See the dedicated [server installation documentation](docs/install_CTADIRAC.md).

# Registry

* Get `CTADIRAC` on `PyPi`:

```
pip install CTADIRAC
```

* Get `CTADIRAC` client `docker` image:

```
docker pull gitlab.cta-observatory.org:5555/cta-computing/dpps/ctadirac/dirac-client:latest
```

# Contribute to CTADIRAC

To contribute to CTADIRAC, please check out the full [DIRAC developers guide](http://dirac.readthedocs.io/en/integration/DeveloperGuide/index.html).

## Create the dev environment:

```bash
# Clone the CTADIRAC repository:
git clone --recurse-submodules git@gitlab.cta-observatory.org:cta-computing/dpps/workload/CTADIRAC.git
cd CTADIRAC

# If you already had a clone of the repo, update the submodules:
git submodule update --init --recursive

# Create the mamba environment:
mamba env create --file environment.yml
mamba activate ctadirac-dev

# Make an editable installation of CTADIRAC:
pip install -e .

# Enable pre-commit:
mamba install pre-commit
pre-commit install
```

## Running tests

```bash
# Create the testing environment:
mamba env create -y --file utils/ci/env/coverage.yml
mamba activate coverage

# Make an editable installation of CTADIRAC:
python -m pip install -e .

# Run the tests:
python -m pytest tests/unit
# with pytest coverage:
python -m pytest tests/unit --cov=src/CTADIRAC/ --cov-report=term
```

# Contact Information
* Luisa Arrabito <arrabito@in2p3.fr>