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.
Files changed (113) hide show
  1. {honeybee_core-1.61.30/honeybee_core.egg-info → honeybee_core-1.61.31}/PKG-INFO +3 -3
  2. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/model.py +17 -9
  3. {honeybee_core-1.61.30 → honeybee_core-1.61.31/honeybee_core.egg-info}/PKG-INFO +3 -3
  4. honeybee_core-1.61.31/honeybee_core.egg-info/requires.txt +5 -0
  5. honeybee_core-1.61.31/requirements.txt +3 -0
  6. honeybee_core-1.61.30/honeybee_core.egg-info/requires.txt +0 -5
  7. honeybee_core-1.61.30/requirements.txt +0 -3
  8. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.github/workflows/ci.yaml +0 -0
  9. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.github/workflows/dependency-release.yaml +0 -0
  10. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.gitignore +0 -0
  11. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/.releaserc.json +0 -0
  12. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/CODE_OF_CONDUCT.md +0 -0
  13. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/CONTRIBUTING.md +0 -0
  14. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/LICENSE +0 -0
  15. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/MANIFEST.in +0 -0
  16. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/README.md +0 -0
  17. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/deploy.sh +0 -0
  18. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/dev-requirements.txt +0 -0
  19. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/.nojekyll +0 -0
  20. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/README.md +0 -0
  21. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_build/docs/README.md +0 -0
  22. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_static/custom.css +0 -0
  23. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/_templates/layout.html +0 -0
  24. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/cli/index.rst +0 -0
  25. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/conf.py +0 -0
  26. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/docs/index.rst +0 -0
  27. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/__init__.py +0 -0
  28. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/__main__.py +0 -0
  29. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_base.py +0 -0
  30. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_basewithshade.py +0 -0
  31. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/_lockable.py +0 -0
  32. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/altnumber.py +0 -0
  33. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/aperture.py +0 -0
  34. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/boundarycondition.py +0 -0
  35. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/checkdup.py +0 -0
  36. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/__init__.py +0 -0
  37. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/compare.py +0 -0
  38. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/create.py +0 -0
  39. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/edit.py +0 -0
  40. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/lib.py +0 -0
  41. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/setconfig.py +0 -0
  42. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/cli/validate.py +0 -0
  43. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/colorobj.py +0 -0
  44. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/config.json +0 -0
  45. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/config.py +0 -0
  46. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/dictutil.py +0 -0
  47. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/door.py +0 -0
  48. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/extensionutil.py +0 -0
  49. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/face.py +0 -0
  50. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/facetype.py +0 -0
  51. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/logutil.py +0 -0
  52. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/orientation.py +0 -0
  53. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/properties.py +0 -0
  54. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/room.py +0 -0
  55. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/search.py +0 -0
  56. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/shade.py +0 -0
  57. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/shademesh.py +0 -0
  58. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/typing.py +0 -0
  59. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/units.py +0 -0
  60. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/__init__.py +0 -0
  61. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/aperture.py +0 -0
  62. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/door.py +0 -0
  63. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/face.py +0 -0
  64. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/model.py +0 -0
  65. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/room.py +0 -0
  66. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/shade.py +0 -0
  67. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee/writer/shademesh.py +0 -0
  68. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/SOURCES.txt +0 -0
  69. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/dependency_links.txt +0 -0
  70. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/entry_points.txt +0 -0
  71. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/honeybee_core.egg-info/top_level.txt +0 -0
  72. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/setup.cfg +0 -0
  73. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/setup.py +0 -0
  74. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/__init__.py +0 -0
  75. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/aperture_test.py +0 -0
  76. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/boundary_condition_test.py +0 -0
  77. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_compare_test.py +0 -0
  78. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_create_test.py +0 -0
  79. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_edit_test.py +0 -0
  80. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/cli_validate_test.py +0 -0
  81. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/colorobj_test.py +0 -0
  82. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/config_test.py +0 -0
  83. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/dictutil_test.py +0 -0
  84. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/door_test.py +0 -0
  85. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/face_test.py +0 -0
  86. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/facetype_test.py +0 -0
  87. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/ShoeBox.json +0 -0
  88. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/bad_geometry_model.hbjson +0 -0
  89. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/colliding_room_volumes.hbjson +0 -0
  90. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/compare_model_1.hbjson +0 -0
  91. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/compare_model_2.hbjson +0 -0
  92. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/complex_polyfaces.json +0 -0
  93. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/existing_model.hbjson +0 -0
  94. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/minor_geometry/updated_model.hbjson +0 -0
  95. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/mismatched_area_adj.hbjson +0 -0
  96. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_with_adiabatic.hbjson +0 -0
  97. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_with_holes.hbjson +0 -0
  98. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/model_without_adjacency.hbjson +0 -0
  99. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/nonascii_face.json +0 -0
  100. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/polygons_for_gap_boundary.json +0 -0
  101. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/room_for_window_offset.hbjson +0 -0
  102. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/json/single_family_home.hbjson +0 -0
  103. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/lockable_test.py +0 -0
  104. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/model_test.py +0 -0
  105. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/orientation_test.py +0 -0
  106. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/room_test.py +0 -0
  107. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/search_test.py +0 -0
  108. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/shade_test.py +0 -0
  109. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/shademesh_test.py +0 -0
  110. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/stl/cube_ascii.stl +0 -0
  111. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/stl/cube_binary.stl +0 -0
  112. {honeybee_core-1.61.30 → honeybee_core-1.61.31}/tests/typing_test.py +0 -0
  113. {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.30
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.19
18
- Requires-Dist: ladybug-geometry-polyskel==1.7.30
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
  ![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
@@ -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 = [model] if check_args is None else [model] + list(check_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
- if isinstance(args[0], Model):
3534
- kwargs['detailed'] = False
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.30
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.19
18
- Requires-Dist: ladybug-geometry-polyskel==1.7.30
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
  ![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
@@ -0,0 +1,5 @@
1
+ ladybug-core==0.44.20
2
+ ladybug-geometry-polyskel==1.7.31
3
+
4
+ [:python_version >= "3.7"]
5
+ honeybee-schema==1.59.0
@@ -0,0 +1,3 @@
1
+ ladybug-core==0.44.20
2
+ ladybug-geometry-polyskel==1.7.31
3
+ honeybee-schema==1.59.0;python_version>='3.7'
@@ -1,5 +0,0 @@
1
- ladybug-core==0.44.19
2
- ladybug-geometry-polyskel==1.7.30
3
-
4
- [:python_version >= "3.7"]
5
- honeybee-schema==1.59.0
@@ -1,3 +0,0 @@
1
- ladybug-core==0.44.19
2
- ladybug-geometry-polyskel==1.7.30
3
- honeybee-schema==1.59.0;python_version>='3.7'
File without changes