Skip to content

ladybug-tools/dragonfly-schema

Build Status Coverage Status

Python 3.7

dragonfly-schema

Dragonfly Data-Model that generates documentation and OpenAPI specifications for the DFJSON file schema.

Installation

pip install dragonfly-schema

QuickStart

import dragonfly_schema

API Documentation

Model Schema

Energy Simulation Parameter Schema

Local Development

  1. Clone this repo locally
git clone git@github.com:ladybug-tools/dragonfly-schema

# or

git clone https://github.com/ladybug-tools/dragonfly-schema
  1. Install dependencies:
cd dragonfly-schema
pip install -r dev-requirements.txt
pip install -r requirements.txt
  1. Run Tests:
python -m pytest tests/
  1. Generate Documentation:
python ./docs.py
  1. Generate Sample Files:
python ./scripts/export_samples.py

About

🐉 📜 Dragonfly Data Model Objects

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 7