Skip to content

Commit

Permalink
fix(rename): Update files for name change to honeybee_schema
Browse files Browse the repository at this point in the history
This commit brings all of the files of the repo in line with the name change to honeybee_schema.
  • Loading branch information
chriswmackey committed Jan 10, 2020
1 parent b8870ff commit 821b406
Show file tree
Hide file tree
Showing 86 changed files with 41 additions and 37 deletions.
3 changes: 2 additions & 1 deletion CODE_OF_CONDUCT.md
@@ -1,4 +1,5 @@
Contributor Covenant Code of Conduct
=========================================

This project follows Ladybug Tools contributor covenant code of conduct. See our [contributor covenant code of conduct](https://github.com/ladybug-tools/contributing/blob/master/CODE-OF-CONDUCT.md).
This project follows Ladybug Tools contributor covenant code of conduct.
See our [contributor covenant code of conduct](https://github.com/ladybug-tools/contributing/blob/master/CODE-OF-CONDUCT.md).
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
@@ -1,6 +1,9 @@
Contributing
------------
We welcome contributions from anyone, even if you are new to open source we will be happy to help you to get started. Most of the Ladybug Tools developers started learning programming through developing for Ladybug Tools.
We welcome contributions from anyone, even if you are new to open source we will
be happy to help you to get started. Most of the Ladybug Tools developers started
learning programming through developing for Ladybug Tools.

### Code contribution
This project follows Ladybug Tools contributing guideline. See [contributing to Ladybug Tools projects](https://github.com/ladybug-tools/contributing/blob/master/README.md).
This project follows Ladybug Tools contributing guideline.
See [contributing to Ladybug Tools projects](https://github.com/ladybug-tools/contributing/blob/master/README.md).
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Ladybug Tools Energy Model Schema, Copyright (c) 2019, Alliance for Sustainable Energy, LLC, Ladybug Tools LLC
Honeybee Schema, Copyright (c) 2019, Alliance for Sustainable Energy, LLC, Ladybug Tools LLC
and other contributors. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
Expand Down
20 changes: 10 additions & 10 deletions README.md
@@ -1,41 +1,41 @@
[![Build Status](https://travis-ci.org/ladybug-tools-in2/honeybee-model-schema.svg?branch=master)](https://travis-ci.org/ladybug-tools-in2/honeybee-model-schema)
[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools-in2/honeybee-model-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools-in2/honeybee-model-schema)
[![Build Status](https://travis-ci.org/ladybug-tools-in2/honeybee-schema.svg?branch=master)](https://travis-ci.org/ladybug-tools-in2/honeybee-schema)
[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools-in2/honeybee-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools-in2/honeybee-schema)

[![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)

# honeybee-model-schema
# honeybee-schema

Honeybee Data-Model Objects

## Installation
```console
pip install honeybee-model-schema
pip install honeybee-schema
```

## QuickStart
```python
import honeybee_model_schema
import honeybee_schema

```

## API Documentation

[Model Schema](https://ladybug-tools-in2.github.io/honeybee-model-schema/model.html)
[Model Schema](https://ladybug-tools-in2.github.io/honeybee-schema/model.html)

[Energy Simulation Parameter Schema](https://ladybug-tools-in2.github.io/honeybee-model-schema/simulation-parameter.html)
[Energy Simulation Parameter Schema](https://ladybug-tools-in2.github.io/honeybee-schema/simulation-parameter.html)

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

# or

git clone https://github.com/ladybug-tools-in2/honeybee-model-schema
git clone https://github.com/ladybug-tools-in2/honeybee-schema
```
2. Install dependencies:
```console
cd honeybee-model-schema
cd honeybee-schema
pip install -r dev-requirements.txt
pip install -r requirements.txt
```
Expand Down
6 changes: 3 additions & 3 deletions docs.py
@@ -1,7 +1,7 @@
"""generate openapi docs."""
from honeybee_model_schema._openapi import get_openapi
from honeybee_model_schema.model import Model
from honeybee_model_schema.energy.simulation import SimulationParameter
from honeybee_schema._openapi import get_openapi
from honeybee_schema.model import Model
from honeybee_schema.energy.simulation import SimulationParameter

import json

Expand Down
File renamed without changes.
File renamed without changes.
Expand Up @@ -13,15 +13,15 @@
"contact": {
"name": "Ladybug Tools",
"email": "info@ladybug.tools",
"url": "https://github.com/ladybug-tools/honeybee"
"url": "https://github.com/ladybug-tools/honeybee-core"
},
"x-logo": {
"url": "https://www.ladybug.tools/assets/img/honeybee-large.png",
"altText": "Honeybee logo"
},
"license": {
"name": "BSD",
"url": "https://github.com/ladybug-tools-in2/honeybee-model-schema/blob/master/LICENSE"
"url": "https://github.com/ladybug-tools-in2/honeybee-schema/blob/master/LICENSE"
}
},
"externalDocs": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -8,15 +8,15 @@
requirements = f.read().splitlines()

setuptools.setup(
name="honeybee-model-schema",
name="honeybee-schema",
use_scm_version = True,
setup_requires=['setuptools_scm'],
author="Ladybug Tools",
author_email="info@ladybug.tools",
description="Honeybee Data-Model Objects",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ladybug-tools-in2/honeybee-model-schema",
url="https://github.com/ladybug-tools-in2/honeybee-schema",
packages=setuptools.find_packages(exclude=["tests"]),
install_requires=requirements,
classifiers=[
Expand Down
4 changes: 2 additions & 2 deletions tests/test_construction.py
@@ -1,4 +1,4 @@
from honeybee_model_schema.energy.construction import OpaqueConstructionAbridged, \
from honeybee_schema.energy.construction import OpaqueConstructionAbridged, \
WindowConstructionAbridged
from copy import copy
from pydantic import ValidationError
Expand All @@ -8,7 +8,7 @@

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_construction_window():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_constructionset.py
@@ -1,11 +1,11 @@
from honeybee_model_schema.energy.constructionset import ConstructionSetAbridged, \
from honeybee_schema.energy.constructionset import ConstructionSetAbridged, \
WallSetAbridged, RoofCeilingSetAbridged, FloorSetAbridged, ApertureSetAbridged, \
DoorSetAbridged
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_construction_set():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_hvac.py
@@ -1,9 +1,9 @@
from honeybee_model_schema.energy.hvac import IdealAirSystem
from honeybee_schema.energy.hvac import IdealAirSystem
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_detailed_air():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_load.py
@@ -1,9 +1,9 @@
from honeybee_model_schema.energy.load import LightingAbridged
from honeybee_schema.energy.load import LightingAbridged
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')

def test_lighting():
file_path = os.path.join(
Expand Down
4 changes: 2 additions & 2 deletions tests/test_material.py
@@ -1,4 +1,4 @@
from honeybee_model_schema.energy.material import EnergyMaterial, EnergyMaterialNoMass, \
from honeybee_schema.energy.material import EnergyMaterial, EnergyMaterialNoMass, \
EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, \
EnergyWindowMaterialGasCustom, EnergyWindowMaterialBlind, \
EnergyWindowMaterialGlazing, EnergyWindowMaterialShade, \
Expand All @@ -11,7 +11,7 @@

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_windowglazing():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_model.py
@@ -1,9 +1,9 @@
from honeybee_model_schema.model import Model
from honeybee_schema.model import Model
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_model_multi_zone_single_family_house():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_schedule.py
@@ -1,10 +1,10 @@
from honeybee_model_schema.energy.schedule import ScheduleRulesetAbridged, \
from honeybee_schema.energy.schedule import ScheduleRulesetAbridged, \
ScheduleFixedIntervalAbridged
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_ruleset_office_occupancy():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_simulation.py
@@ -1,9 +1,9 @@
from honeybee_model_schema.energy.simulation import SimulationParameter
from honeybee_schema.energy.simulation import SimulationParameter
import os

# target folder where all of the samples live
root = os.path.dirname(os.path.dirname(__file__))
target_folder = os.path.join(root, 'honeybee_model_schema', 'samples')
target_folder = os.path.join(root, 'honeybee_schema', 'samples')


def test_detailed_simulation_par():
Expand Down

0 comments on commit 821b406

Please sign in to comment.