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.28.3.tar.gz (111.5 kB view details)

Uploaded Source

Built Distribution

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

dragonfly_core-1.28.3-py2.py3-none-any.whl (89.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dragonfly-core-1.28.3.tar.gz.

File metadata

  • Download URL: dragonfly-core-1.28.3.tar.gz
  • Upload date:
  • Size: 111.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for dragonfly-core-1.28.3.tar.gz
Algorithm Hash digest
SHA256 403c8a1531d2cba5f318089ad4ecba75a3a6754bc5e1a2d37481b393b9cfdbd5
MD5 12cff98758cda26cdb4669794aecb90f
BLAKE2b-256 065d58cd5fb0ce2d76ab6f36ac9466e1f3398a2b7d1cb71e2e2d9f67bac0ce67

See more details on using hashes here.

File details

Details for the file dragonfly_core-1.28.3-py2.py3-none-any.whl.

File metadata

  • Download URL: dragonfly_core-1.28.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 89.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for dragonfly_core-1.28.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc61c0476f45dd4b0d9d379243368e99f11535c340d32208243820a6b45cb71e
MD5 c304922b24e06ffa7c40731cf7d8f088
BLAKE2b-256 bf2f07bed75bc6ccd8ee1d12236a7242647dbfa07840509df676a5ed8e1f730b

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