Metadata-Version: 2.4
Name: honeybee-iesve
Version: 0.1.0
Summary: Honeybee extension for import and export GEM files to/from IES-VE
Home-page: https://github.com/ladybug-tools/honeybee-iesve
Author: Ladybug Tools
Author-email: info@ladybug.tools
License: AGPL-3.0
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: honeybee-core>=1.64.88
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

[![Build Status](https://github.com/ladybug-tools/honeybee-iesve/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-iesve/actions)

[![Python 3.13](https://img.shields.io/badge/python-3.13-green.svg)](https://www.python.org/downloads/release/python-3130/)
[![Python 3.10](https://img.shields.io/badge/python-3.10-orange.svg)](https://www.python.org/downloads/release/python-3100/)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)

# honeybee-iesve

Honeybee extension for translating an Honeybee models to/from the IES-VE GEM file format.

## Sydney Opera House

![image(52)](https://github.com/ladybug-tools/honeybee-ies/assets/2915573/d57be713-0cef-41ef-b365-7611ebc704f6)

<img width="958" alt="image(53)" src="https://github.com/ladybug-tools/honeybee-ies/assets/2915573/34ad782b-f177-4b11-8fc4-84d7bc9c34aa">

## Revit sample model

![image](https://user-images.githubusercontent.com/2915573/145484209-ca484536-2d86-4f3f-9113-f4c998aa304f.png)

## Installation
```console
pip install honeybee-iesve
```

## QuickStart

```python
from honeybee.model import Model
from honeybee_iesve.writer import model_to_gem

path_to_hbjson = './tests/assets/sample_model_45.hbjson'
path_to_gem = './tests/assets/sample_model_45.gem'
model = Model.from_hbjson(path_to_hbjson)
with open(path_to_gem, 'w') as gf:
    gf.writher(model_to_gem(model))
```

You can also run the command from CLI

```honeybee-iesve translate model-to-gem ./tests/assets/revit_sample_model.hbjson --output-file ./tests/assets/revit_sample_model.gem```


## [API Documentation](http://ladybug-tools.github.io/honeybee-iesve/docs)

## Local Development
1. Clone this repo locally
```console
git clone git@github.com:ladybug-tools/honeybee-iesve

# or

git clone https://github.com/ladybug-tools/honeybee-iesve
```
2. Install dependencies:
```console
cd honeybee-iesve
pip install -r dev-requirements.txt
pip install -r requirements.txt
```

3. Run Tests:
```console
python -m pytest tests/
```

4. Generate Documentation:
```console
sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee_iesve
sphinx-build -b html ./docs ./docs/_build/docs
```
