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 |
|---|---|---|
|
Testing & linting (pytest, ruff) |
|
|
Documentation builds (Sphinx, MyST) |
|
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