honeybee-core 1.61.30__tar.gz → 1.61.31__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {honeybee_core-1.61.30/honeybee_core.egg-info → honeybee_core-1.61.31}/PKG-INFO +3 -3
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/model.py +17 -9
- {honeybee_core-1.61.30 → honeybee_core-1.61.31/honeybee_core.egg-info}/PKG-INFO +3 -3
- honeybee_core-1.61.31/honeybee_core.egg-info/requires.txt +5 -0
- honeybee_core-1.61.31/requirements.txt +3 -0
- honeybee_core-1.61.30/honeybee_core.egg-info/requires.txt +0 -5
- honeybee_core-1.61.30/requirements.txt +0 -3
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.github/workflows/ci.yaml +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.github/workflows/dependency-release.yaml +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.gitignore +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.releaserc.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/CODE_OF_CONDUCT.md +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/CONTRIBUTING.md +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/LICENSE +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/MANIFEST.in +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/README.md +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/deploy.sh +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/dev-requirements.txt +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/.nojekyll +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/README.md +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/docs/README.md +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_static/custom.css +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_templates/layout.html +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/cli/index.rst +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/conf.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/index.rst +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/__init__.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/__main__.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_base.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_basewithshade.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_lockable.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/altnumber.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/aperture.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/boundarycondition.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/checkdup.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/__init__.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/compare.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/create.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/edit.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/lib.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/setconfig.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/validate.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/colorobj.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/config.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/config.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/dictutil.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/door.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/extensionutil.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/face.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/facetype.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/logutil.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/orientation.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/properties.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/room.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/search.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/shade.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/shademesh.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/typing.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/units.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/__init__.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/aperture.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/door.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/face.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/model.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/room.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/shade.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/shademesh.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/SOURCES.txt +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/dependency_links.txt +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/entry_points.txt +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/top_level.txt +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/setup.cfg +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/setup.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/__init__.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/aperture_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/boundary_condition_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_compare_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_create_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_edit_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_validate_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/colorobj_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/config_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/dictutil_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/door_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/face_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/facetype_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/ShoeBox.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/bad_geometry_model.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/colliding_room_volumes.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/compare_model_1.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/compare_model_2.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/complex_polyfaces.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/existing_model.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/updated_model.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/mismatched_area_adj.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_with_adiabatic.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_with_holes.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_without_adjacency.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/nonascii_face.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/polygons_for_gap_boundary.json +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/room_for_window_offset.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/single_family_home.hbjson +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/lockable_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/model_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/orientation_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/room_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/search_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/shade_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/shademesh_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/stl/cube_ascii.stl +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/stl/cube_binary.stl +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/typing_test.py +0 -0
- {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/units_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: honeybee-core
|
|
3
|
-
Version: 1.61.
|
|
3
|
+
Version: 1.61.31
|
|
4
4
|
Summary: A library to create 3D building geometry for various types of environmental simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/honeybee-core
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -14,8 +14,8 @@ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: ladybug-core==0.44.
|
|
18
|
-
Requires-Dist: ladybug-geometry-polyskel==1.7.
|
|
17
|
+
Requires-Dist: ladybug-core==0.44.20
|
|
18
|
+
Requires-Dist: ladybug-geometry-polyskel==1.7.31
|
|
19
19
|
Requires-Dist: honeybee-schema==1.59.0; python_version >= "3.7"
|
|
20
20
|
|
|
21
21
|

|
|
@@ -3497,11 +3497,6 @@ class Model(_Base):
|
|
|
3497
3497
|
json_output: Boolean to note whether the output validation report
|
|
3498
3498
|
should be formatted as a JSON object instead of plain text.
|
|
3499
3499
|
"""
|
|
3500
|
-
# first get the function to call on this class
|
|
3501
|
-
check_func = getattr(Model, check_function, None)
|
|
3502
|
-
assert check_func is not None, \
|
|
3503
|
-
'Honeybee Model class has no method {}'.format(check_function)
|
|
3504
|
-
|
|
3505
3500
|
# process the input model if it's not already serialized
|
|
3506
3501
|
report = ''
|
|
3507
3502
|
if isinstance(model, str):
|
|
@@ -3518,8 +3513,22 @@ class Model(_Base):
|
|
|
3518
3513
|
elif not isinstance(model, Model):
|
|
3519
3514
|
report = 'Input Model for validation is not a Model object, ' \
|
|
3520
3515
|
'file path to a Model or a Model HBJSON string.'
|
|
3516
|
+
|
|
3517
|
+
# get the function to call to do checks
|
|
3518
|
+
if '.' in check_function: # nested attribute
|
|
3519
|
+
attributes = check_function.split('.') # get all the sub-attributes
|
|
3520
|
+
check_func = model
|
|
3521
|
+
for attribute in attributes:
|
|
3522
|
+
if check_func is None:
|
|
3523
|
+
continue
|
|
3524
|
+
check_func = getattr(check_func, attribute, None)
|
|
3525
|
+
else:
|
|
3526
|
+
check_func = getattr(model, check_function, None)
|
|
3527
|
+
assert check_func is not None, \
|
|
3528
|
+
'Honeybee Model class has no method {}'.format(check_function)
|
|
3529
|
+
|
|
3521
3530
|
# process the arguments and options
|
|
3522
|
-
args = [
|
|
3531
|
+
args = [] if check_args is None else [] + list(check_args)
|
|
3523
3532
|
kwargs = {'raise_exception': False}
|
|
3524
3533
|
|
|
3525
3534
|
# create the report
|
|
@@ -3530,9 +3539,8 @@ class Model(_Base):
|
|
|
3530
3539
|
ver_msg = 'Validating Model using honeybee-core=={} and ' \
|
|
3531
3540
|
'honeybee-schema=={}'.format(c_ver, s_ver)
|
|
3532
3541
|
# run the check function
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
report = check_func(*args, **kwargs)
|
|
3542
|
+
kwargs['detailed'] = False
|
|
3543
|
+
report = check_func(*args, **kwargs)
|
|
3536
3544
|
# format the results of the check
|
|
3537
3545
|
if report == '':
|
|
3538
3546
|
full_msg = ver_msg + '\nCongratulations! Your Model is valid!'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: honeybee-core
|
|
3
|
-
Version: 1.61.
|
|
3
|
+
Version: 1.61.31
|
|
4
4
|
Summary: A library to create 3D building geometry for various types of environmental simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/honeybee-core
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -14,8 +14,8 @@ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: ladybug-core==0.44.
|
|
18
|
-
Requires-Dist: ladybug-geometry-polyskel==1.7.
|
|
17
|
+
Requires-Dist: ladybug-core==0.44.20
|
|
18
|
+
Requires-Dist: ladybug-geometry-polyskel==1.7.31
|
|
19
19
|
Requires-Dist: honeybee-schema==1.59.0; python_version >= "3.7"
|
|
20
20
|
|
|
21
21
|

|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/existing_model.hbjson
RENAMED
|
File without changes
|
{honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/updated_model.hbjson
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|