Skip to main content

:dragon: dragonfly core library

Project description

Build Status Coverage Status

Python 2.7 Python 3.6

dragonfly-core

Screenshot

Dragonfly is a collection of Python libraries to create representations of buildings following dragonfly-schema. It abstracts the capabilities of honeybee-core to make it easier to construct models on the urban scale.

This repository is the core repository that provides dragonfly's common functionalities. To extend these functionalities you should install available Dragonfly extensions or write your own.

Here are a number of frequently used extensions for Dragonfly:

Installation

pip install -U dragonfly-core

If you want to also include the command line interface use:

pip install -U dragonfly-core[cli]

To check if Dragonfly command line is installed correctly use dragonfly viz and you should get a viiiiiiiiiiiiizzzzzzzzz! back in response!

API Documentation

Local Development

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

# or

git clone https://github.com/ladybug-tools/dragonfly-core.git
  1. Install dependencies:
cd dragonfly-core
pip install -r dev-requirements.txt
pip install -r requirements.txt
  1. Run Tests:
python -m pytests tests/
  1. Generate Documentation:
sphinx-apidoc -f -e -d 4 -o ./docs ./dragonfly
sphinx-build -b html ./docs ./docs/_build/docs

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-core-1.25.42.tar.gz (106.5 kB view hashes)

Uploaded Source

Built Distribution

dragonfly_core-1.25.42-py2.py3-none-any.whl (84.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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