Dragonfly Data-Model that generates documentation and OpenAPI specifications for the DFJSON file schema.
pip install dragonfly-schema
import dragonfly_schema
Energy Simulation Parameter Schema
- Clone this repo locally
git clone git@github.com:ladybug-tools/dragonfly-schema
# or
git clone https://github.com/ladybug-tools/dragonfly-schema
- Install dependencies:
cd dragonfly-schema
pip install -r dev-requirements.txt
pip install -r requirements.txt
- Run Tests:
python -m pytest tests/
- Generate Documentation:
python ./docs.py
- Generate Sample Files:
python ./scripts/export_samples.py