ladybug-core 0.39.16__tar.gz → 0.44.30__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 (178) hide show
  1. ladybug_core-0.44.30/MANIFEST.in +10 -0
  2. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/PKG-INFO +55 -11
  3. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/README.md +34 -4
  4. ladybug_core-0.44.30/dev-requirements.txt +19 -0
  5. ladybug_core-0.44.30/ladybug/WMM.COF +93 -0
  6. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/__init__.py +3 -1
  7. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/_datacollectionbase.py +182 -38
  8. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/analysisperiod.py +2 -2
  9. ladybug_core-0.44.30/ladybug/cli/translate.py +190 -0
  10. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/color.py +107 -22
  11. ladybug_core-0.44.30/ladybug/commandutil.py +64 -0
  12. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/compass.py +8 -4
  13. ladybug_core-0.44.30/ladybug/config.py +285 -0
  14. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datacollection.py +121 -38
  15. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/base.py +37 -9
  16. ladybug_core-0.44.30/ladybug/datatype/conductance.py +39 -0
  17. ladybug_core-0.44.30/ladybug/datatype/conductivity.py +45 -0
  18. ladybug_core-0.44.30/ladybug/datatype/density.py +55 -0
  19. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/generic.py +38 -11
  20. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/illuminance.py +2 -2
  21. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/luminance.py +2 -2
  22. ladybug_core-0.44.30/ladybug/datatype/resistance.py +39 -0
  23. ladybug_core-0.44.30/ladybug/datatype/resistivity.py +39 -0
  24. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/rvalue.py +22 -11
  25. ladybug_core-0.44.30/ladybug/datatype/specificheatcapacity.py +60 -0
  26. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/speed.py +8 -2
  27. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/temperature.py +33 -1
  28. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/temperaturedelta.py +1 -1
  29. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/thermalcondition.py +14 -6
  30. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/uvalue.py +2 -2
  31. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/volumeflowrate.py +0 -1
  32. ladybug_core-0.44.30/ladybug/datatype/volumeheatcapacity.py +66 -0
  33. ladybug_core-0.44.30/ladybug/datautil.py +235 -0
  34. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/designday.py +49 -23
  35. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/epw.py +337 -151
  36. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/futil.py +20 -11
  37. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/graphic.py +47 -34
  38. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/header.py +35 -2
  39. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/hourlyplot.py +76 -25
  40. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/legend.py +1075 -295
  41. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/location.py +8 -1
  42. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/monthlychart.py +268 -64
  43. ladybug_core-0.44.30/ladybug/north.py +295 -0
  44. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/psychchart.py +11 -10
  45. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/psychrometrics.py +10 -8
  46. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/rootfinding.py +55 -9
  47. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/skymodel.py +3 -3
  48. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/sql.py +136 -30
  49. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/stat.py +113 -21
  50. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/sunpath.py +145 -51
  51. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/viewsphere.py +265 -7
  52. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/wea.py +24 -11
  53. ladybug_core-0.44.30/ladybug/windprofile.py +812 -0
  54. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/windrose.py +69 -48
  55. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug_core.egg-info/PKG-INFO +55 -11
  56. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug_core.egg-info/SOURCES.txt +13 -76
  57. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug_core.egg-info/entry_points.txt +0 -1
  58. ladybug_core-0.44.30/ladybug_core.egg-info/requires.txt +7 -0
  59. ladybug_core-0.44.30/requirements.txt +3 -0
  60. ladybug_core-0.44.30/setup.cfg +4 -0
  61. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/setup.py +6 -2
  62. ladybug-core-0.39.16/.dockerignore +0 -6
  63. ladybug-core-0.39.16/.github/FUNDING.yml +0 -3
  64. ladybug-core-0.39.16/.github/ISSUE_TEMPLATE.md +0 -15
  65. ladybug-core-0.39.16/.github/workflows/ci.yaml +0 -134
  66. ladybug-core-0.39.16/.github/workflows/dependency-release.yaml +0 -32
  67. ladybug-core-0.39.16/.gitignore +0 -17
  68. ladybug-core-0.39.16/.releaserc.json +0 -10
  69. ladybug-core-0.39.16/Dockerfile +0 -41
  70. ladybug-core-0.39.16/MANIFEST.in +0 -1
  71. ladybug-core-0.39.16/deploy.sh +0 -28
  72. ladybug-core-0.39.16/dev-requirements.txt +0 -20
  73. ladybug-core-0.39.16/docs/README.md +0 -14
  74. ladybug-core-0.39.16/docs/_build/.nojekyll +0 -1
  75. ladybug-core-0.39.16/docs/_build/README.md +0 -1
  76. ladybug-core-0.39.16/docs/_build/docs/README.md +0 -1
  77. ladybug-core-0.39.16/docs/_static/custom.css +0 -40
  78. ladybug-core-0.39.16/docs/_templates/layout.html +0 -107
  79. ladybug-core-0.39.16/docs/cli/index.rst +0 -7
  80. ladybug-core-0.39.16/docs/conf.py +0 -606
  81. ladybug-core-0.39.16/docs/index.rst +0 -41
  82. ladybug-core-0.39.16/docs/modules.rst +0 -7
  83. ladybug-core-0.39.16/ladybug/cli/translate.py +0 -112
  84. ladybug-core-0.39.16/ladybug/config.py +0 -151
  85. ladybug-core-0.39.16/ladybug_core.egg-info/requires.txt +0 -2
  86. ladybug-core-0.39.16/requirements.txt +0 -2
  87. ladybug-core-0.39.16/setup.cfg +0 -10
  88. ladybug-core-0.39.16/tests/__init__.py +0 -0
  89. ladybug-core-0.39.16/tests/analysisperiod_test.py +0 -193
  90. ladybug-core-0.39.16/tests/assets/ddy/chicago.ddy +0 -536
  91. ladybug-core-0.39.16/tests/assets/ddy/chicago_edited.ddy +0 -535
  92. ladybug-core-0.39.16/tests/assets/ddy/chicago_monthly.ddy +0 -355
  93. ladybug-core-0.39.16/tests/assets/ddy/tokyo.ddy +0 -533
  94. ladybug-core-0.39.16/tests/assets/epw/chicago.epw +0 -8768
  95. ladybug-core-0.39.16/tests/assets/epw/tokyo.epw +0 -8768
  96. ladybug-core-0.39.16/tests/assets/geo/faces.json +0 -338
  97. ladybug-core-0.39.16/tests/assets/geo/mesh.json +0 -2490
  98. ladybug-core-0.39.16/tests/assets/sql/eplusout_daily.sql +0 -0
  99. ladybug-core-0.39.16/tests/assets/sql/eplusout_dday_runper.sql +0 -0
  100. ladybug-core-0.39.16/tests/assets/sql/eplusout_design_days.sql +0 -0
  101. ladybug-core-0.39.16/tests/assets/sql/eplusout_hourly.sql +0 -0
  102. ladybug-core-0.39.16/tests/assets/sql/eplusout_monthly.sql +0 -0
  103. ladybug-core-0.39.16/tests/assets/sql/eplusout_odd_zonesize.sql +0 -0
  104. ladybug-core-0.39.16/tests/assets/sql/eplusout_openstudio.sql +0 -0
  105. ladybug-core-0.39.16/tests/assets/sql/eplusout_openstudio_error.sql +0 -0
  106. ladybug-core-0.39.16/tests/assets/sql/eplusout_timestep.sql +0 -0
  107. ladybug-core-0.39.16/tests/assets/stat/chicago.stat +0 -554
  108. ladybug-core-0.39.16/tests/assets/stat/santamonica.stat +0 -492
  109. ladybug-core-0.39.16/tests/assets/stat/tokyo.stat +0 -545
  110. ladybug-core-0.39.16/tests/assets/wea/chicago.wea +0 -8766
  111. ladybug-core-0.39.16/tests/assets/wea/chicago_filtered.wea +0 -4433
  112. ladybug-core-0.39.16/tests/assets/wea/san_francisco_10min.wea +0 -52566
  113. ladybug-core-0.39.16/tests/assets/wea/san_francisco_10min_daysim.wea +0 -52566
  114. ladybug-core-0.39.16/tests/assets/zip/test.zip +0 -0
  115. ladybug-core-0.39.16/tests/cli_main_test.py +0 -21
  116. ladybug-core-0.39.16/tests/cli_translate_test.py +0 -55
  117. ladybug-core-0.39.16/tests/color_test.py +0 -164
  118. ladybug-core-0.39.16/tests/compass_test.py +0 -109
  119. ladybug-core-0.39.16/tests/config_test.py +0 -8
  120. ladybug-core-0.39.16/tests/datacollection_test.py +0 -1516
  121. ladybug-core-0.39.16/tests/datacollectionimmutable_test.py +0 -249
  122. ladybug-core-0.39.16/tests/datatype_test.py +0 -609
  123. ladybug-core-0.39.16/tests/ddy_test.py +0 -188
  124. ladybug-core-0.39.16/tests/dt_test.py +0 -213
  125. ladybug-core-0.39.16/tests/epw_test.py +0 -402
  126. ladybug-core-0.39.16/tests/futil_test.py +0 -37
  127. ladybug-core-0.39.16/tests/graphic_test.py +0 -164
  128. ladybug-core-0.39.16/tests/hourlyplot_test.py +0 -230
  129. ladybug-core-0.39.16/tests/legend_test.py +0 -514
  130. ladybug-core-0.39.16/tests/location_test.py +0 -143
  131. ladybug-core-0.39.16/tests/monthlychart_test.py +0 -403
  132. ladybug-core-0.39.16/tests/psychchart_test.py +0 -145
  133. ladybug-core-0.39.16/tests/psychrometrics_test.py +0 -196
  134. ladybug-core-0.39.16/tests/rootfinding_test.py +0 -20
  135. ladybug-core-0.39.16/tests/skymodel_test.py +0 -83
  136. ladybug-core-0.39.16/tests/solarenvelope_test.py +0 -35
  137. ladybug-core-0.39.16/tests/sql_test.py +0 -319
  138. ladybug-core-0.39.16/tests/stat_test.py +0 -153
  139. ladybug-core-0.39.16/tests/sunpath_test.py +0 -324
  140. ladybug-core-0.39.16/tests/viewsphere_test.py +0 -79
  141. ladybug-core-0.39.16/tests/wea_test.py +0 -431
  142. ladybug-core-0.39.16/tests/windrose_test.py +0 -725
  143. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/.coveragerc +0 -0
  144. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/CODE_OF_CONDUCT.md +0 -0
  145. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/CONTRIBUTING.md +0 -0
  146. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/LICENSE +0 -0
  147. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/__main__.py +0 -0
  148. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/cli/__init__.py +0 -0
  149. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/cli/_helper.py +0 -0
  150. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/cli/setconfig.py +0 -0
  151. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/climatezone.py +0 -0
  152. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/config.json +0 -0
  153. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datacollectionimmutable.py +0 -0
  154. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/__init__.py +0 -0
  155. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/angle.py +0 -0
  156. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/area.py +0 -0
  157. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/current.py +0 -0
  158. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/distance.py +0 -0
  159. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/energy.py +0 -0
  160. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/energyflux.py +0 -0
  161. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/energyintensity.py +0 -0
  162. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/fraction.py +0 -0
  163. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/mass.py +0 -0
  164. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/massflowrate.py +0 -0
  165. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/power.py +0 -0
  166. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/pressure.py +0 -0
  167. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/specificenergy.py +0 -0
  168. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/temperaturetime.py +0 -0
  169. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/time.py +0 -0
  170. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/voltage.py +0 -0
  171. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/volume.py +0 -0
  172. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/datatype/volumeflowrateintensity.py +0 -0
  173. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/ddy.py +0 -0
  174. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/dt.py +0 -0
  175. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/logutil.py +0 -0
  176. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug/solarenvelope.py +0 -0
  177. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug_core.egg-info/dependency_links.txt +0 -0
  178. {ladybug-core-0.39.16 → ladybug_core-0.44.30}/ladybug_core.egg-info/top_level.txt +0 -0
@@ -0,0 +1,10 @@
1
+ include ladybug/config.json
2
+ include ladybug/WMM.COF
3
+ recursive-exclude tests *
4
+ recursive-exclude docs *
5
+ recursive-exclude .github *
6
+ exclude .gitignore
7
+ exclude .dockerignore
8
+ exclude .releaserc.json
9
+ exclude deploy.sh
10
+ exclude Dockerfile
@@ -1,35 +1,50 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: ladybug-core
3
- Version: 0.39.16
3
+ Version: 0.44.30
4
4
  Summary: Python library to load, analyze and modify EnergyPlus Weather files (epw).
5
5
  Home-page: https://github.com/ladybug-tools/ladybug
6
6
  Author: Ladybug Tools
7
7
  Author-email: info@ladybug.tools
8
8
  License: AGPL-3.0
9
- Platform: UNKNOWN
10
9
  Classifier: Programming Language :: Python :: 2.7
11
- Classifier: Programming Language :: Python :: 3.6
12
10
  Classifier: Programming Language :: Python :: 3.7
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
13
16
  Classifier: Programming Language :: Python :: Implementation :: CPython
14
- Classifier: License :: OSI Approved :: GNU Affero General Public License v3
17
+ Classifier: Programming Language :: Python :: Implementation :: IronPython
15
18
  Classifier: Operating System :: OS Independent
16
19
  Description-Content-Type: text/markdown
17
20
  License-File: LICENSE
21
+ Requires-Dist: ladybug-geometry==1.34.14
22
+ Requires-Dist: click==7.1.2; python_version < "3.8"
23
+ Requires-Dist: click==8.1.7; python_version >= "3.8"
24
+ Dynamic: author
25
+ Dynamic: author-email
26
+ Dynamic: classifier
27
+ Dynamic: description
28
+ Dynamic: description-content-type
29
+ Dynamic: home-page
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
18
34
 
19
35
 
20
36
  ![Ladybug](http://www.ladybug.tools/assets/img/ladybug.png)
21
37
 
22
-
23
- [![Build Status](https://travis-ci.com/ladybug-tools/ladybug.svg?branch=master)](https://travis-ci.com/ladybug-tools/ladybug)
38
+ [![Build Status](https://github.com/ladybug-tools/ladybug/workflows/CI/badge.svg)](https://github.com/ladybug-tools/ladybug/actions)
24
39
  [![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/ladybug/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/ladybug)
25
40
 
26
41
  [![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
27
42
 
28
43
  # ladybug
29
44
 
30
- Ladybug is a Python library to load, analyze and modify EnergyPlus Weather files (epw). You can download epw files from [EPWMap](http://www.ladybug.tools/epwmap/).
45
+ Ladybug is a Python library to analyze, modify, and visualize EnergyPlus Weather files (epw). You can download epw files from [EPWMap](http://www.ladybug.tools/epwmap/).
31
46
 
32
- This repository includes the core library which is the base for Ladybug. For plugin-specific questions and comments refer to [ladybug-grasshopper](https://github.com/ladybug-tools/ladybug-grasshopper) or [ladybug-dynamo](https://github.com/ladybug-tools/ladybug-dynamo) repositories.
47
+ This repository is the core library that is the base for the [Ladybug Grasshopper Plugin](https://www.ladybug.tools/#intro). For plugin-specific questions and comments refer to [ladybug-grasshopper](https://github.com/ladybug-tools/ladybug-grasshopper).
33
48
 
34
49
  ## Note
35
50
 
@@ -39,8 +54,12 @@ For the Legacy Ladybug Grasshopper Plugin see [this repository](https://github.c
39
54
 
40
55
  ## Installation
41
56
 
57
+ To install the library use:
58
+
42
59
  `pip install ladybug-core`
43
60
 
61
+ To check if Honeybee command line interface is installed correctly use `ladybug viz` and you
62
+ should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response!
44
63
 
45
64
  ## Usage
46
65
 
@@ -65,6 +84,33 @@ print('altitude: {}, azimuth: {}'.format(sun.altitude, sun.azimuth))
65
84
  >>> altitude: 72.26, azimuth: 32.37
66
85
  ```
67
86
 
87
+ ## Local Development
88
+ 1. Clone this repo locally
89
+ ```console
90
+ git clone git@github.com:ladybug-tools/ladybug.git
91
+
92
+ # or
93
+
94
+ git clone https://github.com/ladybug-tools/ladybug.git
95
+ ```
96
+ 2. Install dependencies:
97
+ ```console
98
+ cd ladybug
99
+ pip install -r dev-requirements.txt
100
+ pip install -r requirements.txt
101
+ ```
102
+
103
+ 3. Run Tests:
104
+ ```console
105
+ python -m pytest ./tests
106
+ ```
107
+
108
+ 4. Generate Documentation:
109
+ ```console
110
+ sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug
111
+ sphinx-build -b html ./docs ./docs/_build/docs
112
+ ```
113
+
68
114
  ### Derivative Work
69
115
 
70
116
  Ladybug is a derivative work of the following software projects:
@@ -73,5 +119,3 @@ Ladybug is a derivative work of the following software projects:
73
119
  * [PsychroLib](https://github.com/psychrometrics/psychrolib) for psychrometric calculations. Available under MIT License.
74
120
 
75
121
  Applicable copyright notices for these works can be found within the relevant .py files.
76
-
77
-
@@ -1,17 +1,16 @@
1
1
 
2
2
  ![Ladybug](http://www.ladybug.tools/assets/img/ladybug.png)
3
3
 
4
-
5
- [![Build Status](https://travis-ci.com/ladybug-tools/ladybug.svg?branch=master)](https://travis-ci.com/ladybug-tools/ladybug)
4
+ [![Build Status](https://github.com/ladybug-tools/ladybug/workflows/CI/badge.svg)](https://github.com/ladybug-tools/ladybug/actions)
6
5
  [![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/ladybug/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/ladybug)
7
6
 
8
7
  [![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
9
8
 
10
9
  # ladybug
11
10
 
12
- Ladybug is a Python library to load, analyze and modify EnergyPlus Weather files (epw). You can download epw files from [EPWMap](http://www.ladybug.tools/epwmap/).
11
+ Ladybug is a Python library to analyze, modify, and visualize EnergyPlus Weather files (epw). You can download epw files from [EPWMap](http://www.ladybug.tools/epwmap/).
13
12
 
14
- This repository includes the core library which is the base for Ladybug. For plugin-specific questions and comments refer to [ladybug-grasshopper](https://github.com/ladybug-tools/ladybug-grasshopper) or [ladybug-dynamo](https://github.com/ladybug-tools/ladybug-dynamo) repositories.
13
+ This repository is the core library that is the base for the [Ladybug Grasshopper Plugin](https://www.ladybug.tools/#intro). For plugin-specific questions and comments refer to [ladybug-grasshopper](https://github.com/ladybug-tools/ladybug-grasshopper).
15
14
 
16
15
  ## Note
17
16
 
@@ -21,8 +20,12 @@ For the Legacy Ladybug Grasshopper Plugin see [this repository](https://github.c
21
20
 
22
21
  ## Installation
23
22
 
23
+ To install the library use:
24
+
24
25
  `pip install ladybug-core`
25
26
 
27
+ To check if Honeybee command line interface is installed correctly use `ladybug viz` and you
28
+ should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response!
26
29
 
27
30
  ## Usage
28
31
 
@@ -47,6 +50,33 @@ print('altitude: {}, azimuth: {}'.format(sun.altitude, sun.azimuth))
47
50
  >>> altitude: 72.26, azimuth: 32.37
48
51
  ```
49
52
 
53
+ ## Local Development
54
+ 1. Clone this repo locally
55
+ ```console
56
+ git clone git@github.com:ladybug-tools/ladybug.git
57
+
58
+ # or
59
+
60
+ git clone https://github.com/ladybug-tools/ladybug.git
61
+ ```
62
+ 2. Install dependencies:
63
+ ```console
64
+ cd ladybug
65
+ pip install -r dev-requirements.txt
66
+ pip install -r requirements.txt
67
+ ```
68
+
69
+ 3. Run Tests:
70
+ ```console
71
+ python -m pytest ./tests
72
+ ```
73
+
74
+ 4. Generate Documentation:
75
+ ```console
76
+ sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug
77
+ sphinx-build -b html ./docs ./docs/_build/docs
78
+ ```
79
+
50
80
  ### Derivative Work
51
81
 
52
82
  Ladybug is a derivative work of the following software projects:
@@ -0,0 +1,19 @@
1
+ pytest==8.3.2;python_version>='3.6'
2
+ Sphinx==8.0.2;python_version>='3.6'
3
+ sphinx-bootstrap-theme==0.8.1
4
+ sphinxcontrib-fulltoc==1.2.0
5
+ sphinxcontrib-websupport==2.0.0;python_version>='3.6'
6
+ sphinx-click==6.0.0;python_version>='3.6'
7
+ twine==6.1.0;python_version>='3.6'
8
+ wheel==0.45.1;python_version>='3.6'
9
+ setuptools==80.9.0;python_version>='3.6'
10
+ build==1.3.0;python_version>='3.6'
11
+ pytest==4.6.9;python_version<'3.0'
12
+ Sphinx==1.8.5;python_version<'3.0'
13
+ sphinxcontrib-websupport==1.1.2;python_version<'3.0'
14
+ sphinx-click==4.4.0;python_version<'3.0'
15
+ twine==1.13.0;python_version<'3.0'
16
+ wheel==0.38.1;python_version<'3.0'
17
+ setuptools==44.1.0;python_version<'3.0'
18
+ build==0.1.0;python_version<'3.0'
19
+ importlib-metadata==2.0.0;python_version<'3.0'
@@ -0,0 +1,93 @@
1
+ 2020.0 WMM-2020 12/10/2019
2
+ 1 0 -29404.5 0.0 6.7 0.0
3
+ 1 1 -1450.7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79
+ 12 0 -2.0 0.0 0.0 0.0
80
+ 12 1 -0.1 -1.2 -0.0 -0.0
81
+ 12 2 0.5 0.5 -0.0 0.0
82
+ 12 3 1.3 1.3 0.0 -0.1
83
+ 12 4 -1.2 -1.8 -0.0 0.1
84
+ 12 5 0.7 0.1 -0.0 -0.0
85
+ 12 6 0.3 0.7 0.0 0.0
86
+ 12 7 0.5 -0.1 -0.0 -0.0
87
+ 12 8 -0.2 0.6 0.0 0.1
88
+ 12 9 -0.5 0.2 -0.0 -0.0
89
+ 12 10 0.1 -0.9 -0.0 -0.0
90
+ 12 11 -1.1 -0.0 -0.0 0.0
91
+ 12 12 -0.3 0.5 -0.1 -0.1
92
+ 999999999999999999999999999999999999999999999999
93
+ 999999999999999999999999999999999999999999999999
@@ -7,6 +7,7 @@ from ladybug.logutil import get_logger
7
7
 
8
8
  import importlib
9
9
  import pkgutil
10
+ import sys
10
11
 
11
12
  # set up the logger
12
13
  logger = get_logger(__name__)
@@ -20,6 +21,7 @@ for finder, name, ispkg in pkgutil.iter_modules():
20
21
  try:
21
22
  extensions[name] = importlib.import_module(name)
22
23
  except Exception:
23
- logger.exception('Failed to import {0}!'.format(name))
24
+ if (sys.version_info >= (3, 0)) and name != 'ladybug_vtk':
25
+ logger.exception('Failed to import {0}!'.format(name))
24
26
  else:
25
27
  logger.info('Successfully imported Ladybug plugin: {}'.format(name))