Skip to main content

Dragonfly Data-Model Objects

Project description

Build Status

Python 3.10 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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dragonfly_schema-2.0.4.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dragonfly_schema-2.0.4-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file dragonfly_schema-2.0.4.tar.gz.

File metadata

  • Download URL: dragonfly_schema-2.0.4.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.13

File hashes

Hashes for dragonfly_schema-2.0.4.tar.gz
Algorithm Hash digest
SHA256 b59e3387ec86d78cd00c17aa759572bbe54c46008e51aaf6558305e5fa0b72b4
MD5 dc4ee904bad35fc1fc9aba9c63837663
BLAKE2b-256 e80ddafd6f7ab9f3725f771f193c52bb97c61d5cfdb455549d716f636d1b633d

See more details on using hashes here.

File details

Details for the file dragonfly_schema-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for dragonfly_schema-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 64f7c52ed7c50301709a5f69a58567837cf934f060265d9924a494caf9dddaa6
MD5 e5904bd603283bcff81c7c76b7cfbc72
BLAKE2b-256 15734c37416fa4cb60289e3953b914e69eecc033861c65dfa93e8eefc16f2882

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page