Installation

Requirements

  • Python 3.10 or higher

  • Dependency on httpx - HTTP client that supports sync/async requests

  • Access to a dCache instance with a valid API endpoint

  • Authentication credentials (token, netrc, or X.509 proxy)

  • Transfering files to/from dCache is not (yet) implemented. We currently depend on rclone for this.

  • We recommend working in a virtual environment. You can create one with:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install --upgrade pip
    

Install package

The latest release of dcache-pyclient can be installed as a package from PyPI with:

pip install dcache-pyclient

Check the installation of the CLI application:

ada-cli --help

For developers

If you want to modify dcache-pyclient or run integration tests on your dCache instance, find the source code and instructions on the Github repo.