honeybee-core 1.64.8__tar.gz → 1.64.10__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 (114) hide show
  1. honeybee_core-1.64.10/MANIFEST.in +7 -0
  2. {honeybee_core-1.64.8/honeybee_core.egg-info → honeybee_core-1.64.10}/PKG-INFO +2 -2
  3. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/model.py +3 -13
  4. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/typing.py +4 -4
  5. {honeybee_core-1.64.8 → honeybee_core-1.64.10/honeybee_core.egg-info}/PKG-INFO +2 -2
  6. honeybee_core-1.64.10/honeybee_core.egg-info/SOURCES.txt +56 -0
  7. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee_core.egg-info/requires.txt +1 -1
  8. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/requirements.txt +1 -1
  9. honeybee_core-1.64.8/.github/workflows/ci.yaml +0 -125
  10. honeybee_core-1.64.8/.github/workflows/dependency-release.yaml +0 -86
  11. honeybee_core-1.64.8/.gitignore +0 -16
  12. honeybee_core-1.64.8/.releaserc.json +0 -19
  13. honeybee_core-1.64.8/MANIFEST.in +0 -1
  14. honeybee_core-1.64.8/deploy.sh +0 -6
  15. honeybee_core-1.64.8/docs/_build/.nojekyll +0 -0
  16. honeybee_core-1.64.8/docs/_build/README.md +0 -1
  17. honeybee_core-1.64.8/docs/_build/docs/README.md +0 -1
  18. honeybee_core-1.64.8/docs/_static/custom.css +0 -65
  19. honeybee_core-1.64.8/docs/_templates/layout.html +0 -108
  20. honeybee_core-1.64.8/docs/cli/index.rst +0 -8
  21. honeybee_core-1.64.8/docs/conf.py +0 -595
  22. honeybee_core-1.64.8/docs/index.rst +0 -62
  23. honeybee_core-1.64.8/honeybee_core.egg-info/SOURCES.txt +0 -110
  24. honeybee_core-1.64.8/tests/__init__.py +0 -0
  25. honeybee_core-1.64.8/tests/aperture_test.py +0 -438
  26. honeybee_core-1.64.8/tests/boundary_condition_test.py +0 -108
  27. honeybee_core-1.64.8/tests/cli_compare_test.py +0 -24
  28. honeybee_core-1.64.8/tests/cli_create_test.py +0 -122
  29. honeybee_core-1.64.8/tests/cli_edit_test.py +0 -158
  30. honeybee_core-1.64.8/tests/cli_validate_test.py +0 -79
  31. honeybee_core-1.64.8/tests/colorobj_test.py +0 -109
  32. honeybee_core-1.64.8/tests/config_test.py +0 -18
  33. honeybee_core-1.64.8/tests/dictutil_test.py +0 -58
  34. honeybee_core-1.64.8/tests/door_test.py +0 -338
  35. honeybee_core-1.64.8/tests/face_test.py +0 -708
  36. honeybee_core-1.64.8/tests/facetype_test.py +0 -60
  37. honeybee_core-1.64.8/tests/json/ShoeBox.json +0 -1
  38. honeybee_core-1.64.8/tests/json/bad_geometry_model.hbjson +0 -3911
  39. honeybee_core-1.64.8/tests/json/colliding_room_volumes.hbjson +0 -1
  40. honeybee_core-1.64.8/tests/json/compare_model_1.hbjson +0 -1
  41. honeybee_core-1.64.8/tests/json/compare_model_2.hbjson +0 -1
  42. honeybee_core-1.64.8/tests/json/complex_polyfaces.json +0 -590
  43. honeybee_core-1.64.8/tests/json/minor_geometry/existing_model.hbjson +0 -1
  44. honeybee_core-1.64.8/tests/json/minor_geometry/updated_model.hbjson +0 -1
  45. honeybee_core-1.64.8/tests/json/mismatched_area_adj.hbjson +0 -1
  46. honeybee_core-1.64.8/tests/json/model_with_adiabatic.hbjson +0 -79246
  47. honeybee_core-1.64.8/tests/json/model_with_holes.hbjson +0 -1
  48. honeybee_core-1.64.8/tests/json/model_without_adjacency.hbjson +0 -1
  49. honeybee_core-1.64.8/tests/json/nonascii_face.json +0 -37
  50. honeybee_core-1.64.8/tests/json/polygons_for_gap_boundary.json +0 -972
  51. honeybee_core-1.64.8/tests/json/room_for_envelope_edges.hbjson +0 -1
  52. honeybee_core-1.64.8/tests/json/room_for_window_offset.hbjson +0 -1
  53. honeybee_core-1.64.8/tests/json/single_family_home.hbjson +0 -1
  54. honeybee_core-1.64.8/tests/lockable_test.py +0 -141
  55. honeybee_core-1.64.8/tests/model_test.py +0 -1439
  56. honeybee_core-1.64.8/tests/orientation_test.py +0 -43
  57. honeybee_core-1.64.8/tests/room_test.py +0 -863
  58. honeybee_core-1.64.8/tests/search_test.py +0 -56
  59. honeybee_core-1.64.8/tests/shade_test.py +0 -297
  60. honeybee_core-1.64.8/tests/shademesh_test.py +0 -264
  61. honeybee_core-1.64.8/tests/stl/cube_ascii.stl +0 -86
  62. honeybee_core-1.64.8/tests/stl/cube_binary.stl +0 -0
  63. honeybee_core-1.64.8/tests/typing_test.py +0 -265
  64. honeybee_core-1.64.8/tests/units_test.py +0 -22
  65. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/CODE_OF_CONDUCT.md +0 -0
  66. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/CONTRIBUTING.md +0 -0
  67. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/LICENSE +0 -0
  68. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/README.md +0 -0
  69. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/dev-requirements.txt +0 -0
  70. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/__init__.py +0 -0
  71. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/__main__.py +0 -0
  72. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/_base.py +0 -0
  73. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/_basewithshade.py +0 -0
  74. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/_lockable.py +0 -0
  75. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/altnumber.py +0 -0
  76. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/aperture.py +0 -0
  77. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/boundarycondition.py +0 -0
  78. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/checkdup.py +0 -0
  79. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/__init__.py +0 -0
  80. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/compare.py +0 -0
  81. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/create.py +0 -0
  82. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/edit.py +0 -0
  83. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/lib.py +0 -0
  84. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/setconfig.py +0 -0
  85. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/cli/validate.py +0 -0
  86. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/colorobj.py +0 -0
  87. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/config.json +0 -0
  88. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/config.py +0 -0
  89. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/dictutil.py +0 -0
  90. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/door.py +0 -0
  91. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/extensionutil.py +0 -0
  92. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/face.py +0 -0
  93. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/facetype.py +0 -0
  94. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/logutil.py +0 -0
  95. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/orientation.py +0 -0
  96. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/properties.py +0 -0
  97. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/room.py +0 -0
  98. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/search.py +0 -0
  99. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/shade.py +0 -0
  100. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/shademesh.py +0 -0
  101. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/units.py +0 -0
  102. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/__init__.py +0 -0
  103. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/aperture.py +0 -0
  104. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/door.py +0 -0
  105. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/face.py +0 -0
  106. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/model.py +0 -0
  107. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/room.py +0 -0
  108. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/shade.py +0 -0
  109. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee/writer/shademesh.py +0 -0
  110. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee_core.egg-info/dependency_links.txt +0 -0
  111. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee_core.egg-info/entry_points.txt +0 -0
  112. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/honeybee_core.egg-info/top_level.txt +0 -0
  113. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/setup.cfg +0 -0
  114. {honeybee_core-1.64.8 → honeybee_core-1.64.10}/setup.py +0 -0
@@ -0,0 +1,7 @@
1
+ include honeybee/config.json
2
+ recursive-exclude tests *
3
+ recursive-exclude docs *
4
+ recursive-exclude .github *
5
+ exclude .gitignore
6
+ exclude .releaserc.json
7
+ exclude deploy.sh
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: honeybee-core
3
- Version: 1.64.8
3
+ Version: 1.64.10
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
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: Implementation :: IronPython
18
18
  Classifier: Operating System :: OS Independent
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: ladybug-core==0.44.29
21
+ Requires-Dist: ladybug-core==0.44.30
22
22
  Requires-Dist: ladybug-geometry-polyskel==1.7.35
23
23
  Requires-Dist: honeybee-schema==1.59.1; python_version >= "3.7"
24
24
  Dynamic: author
@@ -14,8 +14,7 @@ except ImportError: # wea are in cPython
14
14
  import pickle
15
15
 
16
16
  from ladybug_geometry.geometry2d import Polygon2D
17
- from ladybug_geometry.geometry3d import Vector3D, Point3D, Plane, Face3D, \
18
- Mesh3D, Polyface3D
17
+ from ladybug_geometry.geometry3d import Vector3D, Plane, Face3D, Mesh3D, Polyface3D
19
18
  from ladybug_geometry.bounding import overlapping_bounding_boxes
20
19
  from ladybug_geometry.interop.stl import STL
21
20
 
@@ -2407,23 +2406,14 @@ class Model(_Base):
2407
2406
  high that floating point tolerance interferes with the proper
2408
2407
  representation of the model's details.
2409
2408
 
2410
- In addition to moving the model such that the new_origin sets the
2411
- coordinate values of the geometry, this method will also set the
2412
- reference_vector of this object such that any models added into this
2413
- one from the original source coordinate system respect the new system.
2414
-
2415
2409
  Args:
2416
2410
  new_origin: A Point3D in the model's current coordinate system that
2417
2411
  will become the origin of the new coordinate system. If unspecified,
2418
2412
  the minimum of the bounding box around the model geometry will
2419
- be used and the average_height_above_ground will be used to
2420
- set the Z coordinate. (Default: None).
2413
+ be used. (Default: None).
2421
2414
  """
2422
- # compute the new_origin from the bounding box around the geometry
2423
2415
  if new_origin is None:
2424
- min_2d = self.min
2425
- z_val = self.average_height - self.average_height_above_ground
2426
- new_origin = Point3D(min_2d.x, min_2d.y, z_val)
2416
+ new_origin = self.min
2427
2417
  # move the geometry using a vector that is the inverse of the origin
2428
2418
  ref_vec = Vector3D(-new_origin.x, -new_origin.y, -new_origin.z)
2429
2419
  self.move(ref_vec)
@@ -184,8 +184,8 @@ def clean_string(value, input_name=''):
184
184
  sha256_hash = hashlib.sha256(value.encode('utf-8'))
185
185
  hash_str = str(sha256_hash.hexdigest())
186
186
  return hash_str[:8] if len(hash_str) > 8 else hash_str
187
- assert len(val) <= 100, 'Input {} "{}" must be less than 100 characters.'.format(
188
- input_name, value)
187
+ if len(val) > 100:
188
+ val = val[:100]
189
189
  return val
190
190
 
191
191
 
@@ -228,8 +228,8 @@ def clean_ep_string(value, input_name=''):
228
228
  sha256_hash = hashlib.sha256(value.encode('utf-8'))
229
229
  hash_str = str(sha256_hash.hexdigest())
230
230
  return hash_str[:8] if len(hash_str) > 8 else hash_str
231
- assert len(val) <= 100, 'Input {} "{}" must be less than 100 characters.'.format(
232
- input_name, value)
231
+ if len(val) > 100:
232
+ val = val[:100]
233
233
  return val
234
234
 
235
235
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: honeybee-core
3
- Version: 1.64.8
3
+ Version: 1.64.10
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
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: Implementation :: IronPython
18
18
  Classifier: Operating System :: OS Independent
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: ladybug-core==0.44.29
21
+ Requires-Dist: ladybug-core==0.44.30
22
22
  Requires-Dist: ladybug-geometry-polyskel==1.7.35
23
23
  Requires-Dist: honeybee-schema==1.59.1; python_version >= "3.7"
24
24
  Dynamic: author
@@ -0,0 +1,56 @@
1
+ CODE_OF_CONDUCT.md
2
+ CONTRIBUTING.md
3
+ LICENSE
4
+ MANIFEST.in
5
+ README.md
6
+ dev-requirements.txt
7
+ requirements.txt
8
+ setup.py
9
+ honeybee/__init__.py
10
+ honeybee/__main__.py
11
+ honeybee/_base.py
12
+ honeybee/_basewithshade.py
13
+ honeybee/_lockable.py
14
+ honeybee/altnumber.py
15
+ honeybee/aperture.py
16
+ honeybee/boundarycondition.py
17
+ honeybee/checkdup.py
18
+ honeybee/colorobj.py
19
+ honeybee/config.json
20
+ honeybee/config.py
21
+ honeybee/dictutil.py
22
+ honeybee/door.py
23
+ honeybee/extensionutil.py
24
+ honeybee/face.py
25
+ honeybee/facetype.py
26
+ honeybee/logutil.py
27
+ honeybee/model.py
28
+ honeybee/orientation.py
29
+ honeybee/properties.py
30
+ honeybee/room.py
31
+ honeybee/search.py
32
+ honeybee/shade.py
33
+ honeybee/shademesh.py
34
+ honeybee/typing.py
35
+ honeybee/units.py
36
+ honeybee/cli/__init__.py
37
+ honeybee/cli/compare.py
38
+ honeybee/cli/create.py
39
+ honeybee/cli/edit.py
40
+ honeybee/cli/lib.py
41
+ honeybee/cli/setconfig.py
42
+ honeybee/cli/validate.py
43
+ honeybee/writer/__init__.py
44
+ honeybee/writer/aperture.py
45
+ honeybee/writer/door.py
46
+ honeybee/writer/face.py
47
+ honeybee/writer/model.py
48
+ honeybee/writer/room.py
49
+ honeybee/writer/shade.py
50
+ honeybee/writer/shademesh.py
51
+ honeybee_core.egg-info/PKG-INFO
52
+ honeybee_core.egg-info/SOURCES.txt
53
+ honeybee_core.egg-info/dependency_links.txt
54
+ honeybee_core.egg-info/entry_points.txt
55
+ honeybee_core.egg-info/requires.txt
56
+ honeybee_core.egg-info/top_level.txt
@@ -1,4 +1,4 @@
1
- ladybug-core==0.44.29
1
+ ladybug-core==0.44.30
2
2
  ladybug-geometry-polyskel==1.7.35
3
3
 
4
4
  [:python_version >= "3.7"]
@@ -1,3 +1,3 @@
1
- ladybug-core==0.44.29
1
+ ladybug-core==0.44.30
2
2
  ladybug-geometry-polyskel==1.7.35
3
3
  honeybee-schema==1.59.1;python_version>='3.7'
@@ -1,125 +0,0 @@
1
- ---
2
- name: CI
3
-
4
- on: [push, pull_request]
5
-
6
- jobs:
7
-
8
- test:
9
- name: Unit tests
10
- strategy:
11
- matrix:
12
- python-version: ['3.10', '3.12']
13
- os: [macos-latest, ubuntu-latest, windows-latest]
14
-
15
- runs-on: ${{ matrix.os }}
16
- steps:
17
- - uses: actions/checkout@v2
18
- - name: set up Python
19
- uses: actions/setup-python@v2
20
- with:
21
- python-version: ${{ matrix.python-version }}
22
- - name: install python dependencies
23
- run: |
24
- python -m pip install --upgrade pip
25
- pip install -r requirements.txt
26
- pip install -r dev-requirements.txt
27
- - name: run tests
28
- run: python -m pytest tests/
29
-
30
- deploy:
31
- name: Deploy to GitHub and PyPI
32
- runs-on: ubuntu-latest
33
- needs: test
34
- if: github.ref == 'refs/heads/master' && github.repository_owner == 'ladybug-tools'
35
- steps:
36
- - uses: actions/checkout@v2
37
- - name: set up Python
38
- uses: actions/setup-python@v2
39
- with:
40
- python-version: '3.12'
41
- - name: set up node # we need node for for semantic release
42
- uses: actions/setup-node@v4
43
- with:
44
- node-version: 22.2.0
45
- - name: install python dependencies
46
- run: |
47
- python -m pip install --upgrade pip
48
- pip install -r requirements.txt
49
- pip install -r dev-requirements.txt
50
- - name: install semantic-release
51
- run:
52
- npm install @semantic-release/exec
53
- - name: run semantic release
54
- id: new_release
55
- run: |
56
- nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`"
57
- npx semantic-release@^23.1.1
58
- echo "tag=$nextRelease" >> $GITHUB_OUTPUT
59
- env:
60
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
- PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
62
- PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
63
- - name: sleep for 10 minutes for PyPI update
64
- if: contains(steps.new_release.outputs.tag, '.')
65
- run: sleep 600s
66
- shell: bash
67
- - name: Update honeybee-energy
68
- if: contains(steps.new_release.outputs.tag, '.')
69
- env:
70
- DISPATCH_REPO: ladybug-tools/honeybee-energy
71
- DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
72
- run: |
73
- curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
74
- -H "Accept: application/vnd.github.everest-preview+json" \
75
- -d '{"event_type": "honeybee_core_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
76
- -u ladybugbot:$DEPS_TOKEN
77
- - name: Update honeybee-radiance
78
- if: contains(steps.new_release.outputs.tag, '.')
79
- env:
80
- DISPATCH_REPO: ladybug-tools/honeybee-radiance
81
- DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
82
- run: |
83
- curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
84
- -H "Accept: application/vnd.github.everest-preview+json" \
85
- -d '{"event_type": "honeybee_core_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
86
- -u ladybugbot:$DEPS_TOKEN
87
- - name: Update dragonfly-core
88
- if: contains(steps.new_release.outputs.tag, '.')
89
- env:
90
- DISPATCH_REPO: ladybug-tools/dragonfly-core
91
- DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
92
- run: |
93
- curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
94
- -H "Accept: application/vnd.github.everest-preview+json" \
95
- -d '{"event_type": "honeybee_core_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
96
- -u ladybugbot:$DEPS_TOKEN
97
-
98
- docs:
99
- name: Generate docs
100
- runs-on: ubuntu-latest
101
- needs: test
102
- if: github.ref == 'refs/heads/master' && github.repository_owner == 'ladybug-tools'
103
- steps:
104
- - uses: actions/checkout@v2
105
- - name: set up Python
106
- uses: actions/setup-python@v2
107
- with:
108
- python-version: '3.12'
109
- - name: install dependencies
110
- run: |
111
- pip install -U .
112
- pip install -r dev-requirements.txt
113
- sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee
114
- sphinx-build -b html ./docs ./docs/_build/docs
115
-
116
- - name: deploy to github pages
117
- uses: peaceiris/actions-gh-pages@v3
118
- with:
119
- # this will use ladybugbot token
120
- github_token: ${{ secrets.GITHUB_TOKEN }}
121
- publish_branch: gh-pages
122
- publish_dir: docs/_build/
123
- force_orphan: true
124
- keep_files: false
125
- full_commit_message: 'deploy: update docs'
@@ -1,86 +0,0 @@
1
- name: CI-On-Dispatch
2
-
3
- on: repository_dispatch
4
-
5
- jobs:
6
-
7
- bump_ladybug_core:
8
- name: "Check Event"
9
- runs-on: ubuntu-latest
10
- if: github.event.action == 'ladybug_core_release'
11
- steps:
12
- - name: "Checkout Master Branch"
13
- uses: actions/checkout@v2
14
- with:
15
- ref: refs/heads/master
16
- token: ${{ secrets.DEPS_UPDATING }}
17
- - name: "Run Update Script"
18
- env:
19
- VERSION: ${{ github.event.client_payload.version }}
20
- run: |
21
- export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g')
22
- sed -i --regexp-extended 's/(ladybug-core==).*/ladybug-core=='"$CLEAN_VERSION"'/' requirements.txt
23
- - name: "Commit and Push Changes"
24
- id: push
25
- env:
26
- VERSION: ${{ github.event.client_payload.version }}
27
- run: |
28
- git config --global user.name 'ladybugbot'
29
- git config --global user.email 'ladybugbot@users.noreply.github.com'
30
- git add .
31
- git commit -m "fix(deps): Bump ladybug-core to $VERSION"
32
- git push
33
-
34
- bump_ladybug_geometry_polyskel:
35
- name: "Check Event"
36
- runs-on: ubuntu-latest
37
- if: github.event.action == 'ladybug_geometry_polyskel_release'
38
- steps:
39
- - name: "Checkout Master Branch"
40
- uses: actions/checkout@v2
41
- with:
42
- ref: refs/heads/master
43
- token: ${{ secrets.DEPS_UPDATING }}
44
- - name: "Run Update Script"
45
- env:
46
- VERSION: ${{ github.event.client_payload.version }}
47
- run: |
48
- export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g')
49
- sed -i --regexp-extended 's/(ladybug-geometry-polyskel==).*/ladybug-geometry-polyskel=='"$CLEAN_VERSION"'/' requirements.txt
50
- - name: "Commit and Push Changes"
51
- id: push
52
- env:
53
- VERSION: ${{ github.event.client_payload.version }}
54
- run: |
55
- git config --global user.name 'ladybugbot'
56
- git config --global user.email 'ladybugbot@users.noreply.github.com'
57
- git add .
58
- git commit -m "fix(deps): Bump ladybug-geometry-polyskel to $VERSION"
59
- git push
60
-
61
- bump_honeybee_schema:
62
- name: "Check Event"
63
- runs-on: ubuntu-latest
64
- if: github.event.action == 'honeybee_schema_release'
65
- steps:
66
- - name: "Checkout Master Branch"
67
- uses: actions/checkout@v2
68
- with:
69
- ref: refs/heads/master
70
- token: ${{ secrets.DEPS_UPDATING }}
71
- - name: "Run Update Script"
72
- env:
73
- VERSION: ${{ github.event.client_payload.version }}
74
- run: |
75
- export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g')
76
- sed -i --regexp-extended 's/(honeybee-schema==).*;/honeybee-schema=='"$CLEAN_VERSION"';/' requirements.txt
77
- - name: "Commit and Push Changes"
78
- id: push
79
- env:
80
- VERSION: ${{ github.event.client_payload.version }}
81
- run: |
82
- git config --global user.name 'ladybugbot'
83
- git config --global user.email 'ladybugbot@users.noreply.github.com'
84
- git add .
85
- git commit -m "fix(deps): Bump honeybee-schema to $VERSION"
86
- git push
@@ -1,16 +0,0 @@
1
- *.pyc
2
- test.py
3
- *.gh
4
- .pytest_cache
5
- /__pycache__
6
- .coverage
7
- *.ipynb
8
- .ipynb_checkpoints
9
- .tox
10
- *.egg-info
11
- tox.ini
12
- /.cache
13
- /.vscode
14
- .eggs
15
- honeybee.log*
16
- /build
@@ -1,19 +0,0 @@
1
- {
2
- "plugins": [
3
- "@semantic-release/commit-analyzer",
4
- "@semantic-release/release-notes-generator",
5
- [
6
- "@semantic-release/github",
7
- {
8
- "successComment": false,
9
- "failTitle": false
10
- }
11
- ],
12
- [
13
- "@semantic-release/exec",
14
- {
15
- "publishCmd": "bash deploy.sh"
16
- }
17
- ]
18
- ]
19
- }
@@ -1 +0,0 @@
1
- include honeybee/config.json
@@ -1,6 +0,0 @@
1
- #!/bin/sh
2
-
3
- echo "Building distribution"
4
- python -m build
5
- echo "Pushing new version to PyPi"
6
- twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD
File without changes
@@ -1 +0,0 @@
1
- # documentation
@@ -1 +0,0 @@
1
- # documentation
@@ -1,65 +0,0 @@
1
- /*
2
- * bootstrap-sphinx.css
3
- * ~~~~~~~~~~~~~~~~~~~~
4
- *
5
- * Sphinx stylesheet -- Bootstrap theme.
6
- */
7
-
8
- /* Overwrite colors */
9
- div.navbar-inverse {
10
- background-color: #B87102;
11
- border-color: #B87102;
12
- }
13
- a {
14
- color: #B87102;
15
- }
16
- a:visited {
17
- color: #B87102;
18
- }
19
- code {
20
- color: #B87102;
21
- }
22
- div.bs-sidenav a {
23
- color: #333333;
24
- }
25
-
26
- /* Prevent top nav from blocking docs */
27
- div.navbar-fixed-top {
28
- position: absolute;
29
- }
30
-
31
- /* Indent the side nav when in mobile mode */
32
- @media screen and (min-width: 0px) {
33
- div.bs-sidenav ul {
34
- margin-bottom: 0;
35
- padding-left: 5px;
36
- list-style: none;
37
- }
38
- }
39
-
40
- /* Widen and de-indent the side nav when space is restricted */
41
- @media screen and (min-width: 992px) {
42
- .bs-sidenav .nav > .active > ul {
43
- display: block;
44
- }
45
- div.bs-sidenav ul {
46
- margin-bottom: 0;
47
- padding-left: 0px;
48
- list-style: none;
49
- }
50
- .bs-sidenav {
51
- width: 300px;
52
- }
53
- }
54
-
55
- /* Slightly indent the side nav when space allows it */
56
- @media screen and (min-width: 1200px) {
57
- div.bs-sidenav ul {
58
- margin-bottom: 0;
59
- padding-left: 5px;
60
- list-style: none;
61
- }
62
- .bs-sidenav {
63
- width: 370px;
64
- }
65
- }
@@ -1,108 +0,0 @@
1
- {% extends "basic/layout.html" %}
2
-
3
- {% if theme_bootstrap_version == "3" %}
4
- {% set bootstrap_version, navbar_version = "3.3.7", "" %}
5
- {% set bs_span_prefix = "col-md-" %}
6
- {% else %}
7
- {% set bootstrap_version, navbar_version = "2.3.2", "-2" %}
8
- {% set bs_span_prefix = "span" %}
9
- {% endif %}
10
-
11
- {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and sidebars %}
12
-
13
- {%- set bs_content_width = render_sidebar and "8" or "12"%}
14
-
15
- {%- block doctype -%}
16
- <!DOCTYPE html>
17
- {%- endblock %}
18
-
19
- {# Sidebar: Rework into our Bootstrap nav section. #}
20
- {% macro navBar() %}
21
- {% include "navbar" + navbar_version + ".html" %}
22
- {% endmacro %}
23
-
24
- {% if theme_bootstrap_version == "3" %}
25
- {%- macro bsidebar() %}
26
- {%- if render_sidebar %}
27
- <div class="{{ bs_span_prefix }}4">
28
- <div id="sidebar" class="bs-sidenav" role="complementary">
29
- {%- for sidebartemplate in sidebars %}
30
- {%- include sidebartemplate %}
31
- {%- endfor %}
32
- </div>
33
- </div>
34
- {%- endif %}
35
- {%- endmacro %}
36
- {% else %}
37
- {%- macro bsidebar() %}
38
- {%- if render_sidebar %}
39
- <div class="{{ bs_span_prefix }}4">
40
- <div id="sidebar" class="bs-sidenav well" data-spy="affix">
41
- {%- for sidebartemplate in sidebars %}
42
- {%- include sidebartemplate %}
43
- {%- endfor %}
44
- </div>
45
- </div>
46
- {%- endif %}
47
- {%- endmacro %}
48
- {% endif %}
49
-
50
- {%- block extrahead %}
51
- <link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
52
- <meta charset='utf-8'>
53
- <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
54
- <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
55
- <meta name="apple-mobile-web-app-capable" content="yes">
56
- <script type="text/javascript" src="{{ pathto('_static/js/jquery-1.11.0.min.js', 1) }} "></script>
57
- <script type="text/javascript" src="{{ pathto('_static/js/jquery-fix.js', 1) }} "></script>
58
- <script type="text/javascript" src="{{ pathto('_static', 1) + '/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js' }} "></script>
59
- <script type="text/javascript" src="{{ pathto('_static/bootstrap-sphinx.js', 1) }} "></script>
60
- {% endblock %}
61
-
62
- {# Silence the sidebar's, relbar's #}
63
- {% block header %}{% endblock %}
64
- {% block relbar1 %}{% endblock %}
65
- {% block relbar2 %}{% endblock %}
66
- {% block sidebarsourcelink %}{% endblock %}
67
-
68
- {%- block content %}
69
- {{ navBar() }}
70
- <div class="container">
71
- <div class="row">
72
- {%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
73
- <div class="body {{ bs_span_prefix }}{{ bs_content_width }} content" role="main">
74
- {% block body %}{% endblock %}
75
- </div>
76
- {% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
77
- </div>
78
- </div>
79
- {%- endblock %}
80
-
81
- {%- block footer %}
82
- <footer class="footer">
83
- <div class="container">
84
- <p class="pull-right">
85
- <a href="#">Back to top</a>
86
- {% if theme_source_link_position == "footer" %}
87
- <br/>
88
- {% include "sourcelink.html" %}
89
- {% endif %}
90
- </p>
91
- <p>
92
- {%- if show_copyright %}
93
- {%- if hasdoc('copyright') %}
94
- {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
95
- {%- else %}
96
- {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
97
- {%- endif %}
98
- {%- endif %}
99
- {%- if last_updated %}
100
- {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
101
- {%- endif %}
102
- {%- if show_sphinx %}
103
- {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
104
- {%- endif %}
105
- </p>
106
- </div>
107
- </footer>
108
- {%- endblock %}
@@ -1,8 +0,0 @@
1
- CLI Docs
2
- ========
3
-
4
- Installation
5
- ------------
6
-
7
- To check if the Honeybee command line interface is installed correctly try ``honeybee viz`` and you
8
- should get a ``viiiiiiiiiiiiizzzzzzzzz!`` back in response!