Installation#

DiTTo requires Python 3.11 or later.

From PyPI#

pip install nrel-ditto

This installs DiTTo with its core dependencies (OpenDSS, GDM, rdflib, etc.).

From Source (Development)#

git clone https://github.com/NLR-Distribution-Suite/ditto.git
cd ditto
pip install -e ".[dev]"

Optional Extras#

DiTTo defines optional dependency groups that can be installed as needed:

Extra

Purpose

Command

dev

Testing & linting (pytest, ruff)

pip install nrel-ditto[dev]

doc

Documentation builds (Sphinx, MyST)

pip install nrel-ditto[doc]

Verifying the Installation#

After installation, verify that the CLI is available:

ditto_cli --help

You can also list the available readers and writers:

ditto_cli list-readers
ditto_cli list-writers