PySimultan 0.1.54__tar.gz → 0.2.1__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 (204) hide show
  1. pysimultan-0.2.1/LICENSE.txt +17 -0
  2. {PySimultan-0.1.54 → pysimultan-0.2.1}/MANIFEST.in +3 -1
  3. pysimultan-0.2.1/PKG-INFO +36 -0
  4. pysimultan-0.2.1/README.md +5 -0
  5. {PySimultan-0.1.54 → pysimultan-0.2.1}/pyproject.toml +20 -2
  6. {PySimultan-0.1.54 → pysimultan-0.2.1}/requirements.txt +4 -3
  7. {PySimultan-0.1.54 → pysimultan-0.2.1}/setup.py +14 -20
  8. pysimultan-0.2.1/src/PySimultan.egg-info/PKG-INFO +36 -0
  9. pysimultan-0.2.1/src/PySimultan.egg-info/SOURCES.txt +107 -0
  10. pysimultan-0.2.1/src/PySimultan.egg-info/top_level.txt +2 -0
  11. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/__init__.py +11 -6
  12. pysimultan-0.2.1/src/PySimultan2/config.py +52 -0
  13. pysimultan-0.2.1/src/PySimultan2/data_model.py +713 -0
  14. pysimultan-0.2.1/src/PySimultan2/default_types.py +507 -0
  15. pysimultan-0.2.1/src/PySimultan2/files.py +371 -0
  16. pysimultan-0.2.1/src/PySimultan2/geometry/__init__.py +4 -0
  17. pysimultan-0.2.1/src/PySimultan2/geometry/geometry_base.py +654 -0
  18. pysimultan-0.2.1/src/PySimultan2/geometry/utils.py +181 -0
  19. pysimultan-0.2.1/src/PySimultan2/multi_values.py +277 -0
  20. pysimultan-0.2.1/src/PySimultan2/object_mapper.py +200 -0
  21. pysimultan-0.2.1/src/PySimultan2/resources/AssimpNet.dll +0 -0
  22. pysimultan-0.2.1/src/PySimultan2/resources/AvalonDock.dll +0 -0
  23. pysimultan-0.2.1/src/PySimultan2/resources/BruTile.dll +0 -0
  24. pysimultan-0.2.1/src/PySimultan2/resources/ClosedXML.dll +0 -0
  25. pysimultan-0.2.1/src/PySimultan2/resources/ComponentBuilder.dll +0 -0
  26. PySimultan-0.1.54/src/PySimultan/resources/ComponentBuilder.exe.config → pysimultan-0.2.1/src/PySimultan2/resources/ComponentBuilder.dll.config +6 -2
  27. pysimultan-0.2.1/src/PySimultan2/resources/ComponentBuilder.runtimeconfig.json +18 -0
  28. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/ComponentBuilder.xml +11877 -6754
  29. pysimultan-0.2.1/src/PySimultan2/resources/ControlzEx.dll +0 -0
  30. pysimultan-0.2.1/src/PySimultan2/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
  31. pysimultan-0.2.1/src/PySimultan2/resources/DocumentFormat.OpenXml.dll +0 -0
  32. pysimultan-0.2.1/src/PySimultan2/resources/ExcelNumberFormat.dll +0 -0
  33. pysimultan-0.2.1/src/PySimultan2/resources/Fluent.dll +0 -0
  34. pysimultan-0.2.1/src/PySimultan2/resources/GeometryViewer.dll +0 -0
  35. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/GeometryViewer.xml +2201 -1155
  36. pysimultan-0.2.1/src/PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  37. pysimultan-0.2.1/src/PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  38. pysimultan-0.2.1/src/PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  39. pysimultan-0.2.1/src/PySimultan2/resources/HelixToolkit.dll +0 -0
  40. pysimultan-0.2.1/src/PySimultan2/resources/MathNet.Numerics.dll +0 -0
  41. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.AspNetCore.Authorization.dll +0 -0
  42. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.AspNetCore.Metadata.dll +0 -0
  43. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  44. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  45. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.Extensions.Options.dll +0 -0
  46. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.Extensions.Primitives.dll +0 -0
  47. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
  48. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.WindowsAPICodePack.dll +0 -0
  49. pysimultan-0.2.1/src/PySimultan2/resources/Microsoft.Xaml.Behaviors.dll +0 -0
  50. pysimultan-0.2.1/src/PySimultan2/resources/Newtonsoft.Json.Bson.dll +0 -0
  51. pysimultan-0.2.1/src/PySimultan2/resources/Newtonsoft.Json.dll +0 -0
  52. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  53. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  54. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +15 -0
  55. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  56. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SIMULTAN.Lang.xml +5282 -3252
  57. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  58. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SIMULTAN.Plugins.xml +110 -0
  59. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  60. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SIMULTAN.UI.xml +10483 -4937
  61. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.dll +0 -0
  62. pysimultan-0.2.1/src/PySimultan2/resources/SIMULTAN.xml +34122 -0
  63. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.D3DCompiler.dll +0 -0
  64. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.DXGI.dll +0 -0
  65. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.Direct2D1.dll +0 -0
  66. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.Direct3D11.dll +0 -0
  67. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.Direct3D9.dll +0 -0
  68. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SharpDX.Mathematics.dll +0 -0
  69. pysimultan-0.2.1/src/PySimultan2/resources/SharpDX.dll +0 -0
  70. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SitePlanner.dll +0 -0
  71. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SitePlanner.xml +959 -1110
  72. pysimultan-0.2.1/src/PySimultan2/resources/Sprache.dll +0 -0
  73. pysimultan-0.2.1/src/PySimultan2/resources/System.Data.OleDb.dll +0 -0
  74. pysimultan-0.2.1/src/PySimultan2/resources/System.Net.Http.Formatting.dll +0 -0
  75. pysimultan-0.2.1/src/PySimultan2/resources/XAMLMarkupExtensions.dll +0 -0
  76. pysimultan-0.2.1/src/PySimultan2/resources/assimp.dll +0 -0
  77. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/defaultsettings.xml +0 -0
  78. pysimultan-0.2.1/src/PySimultan2/simultan_object.py +366 -0
  79. pysimultan-0.2.1/src/PySimultan2/taxonomy_maps.py +169 -0
  80. pysimultan-0.2.1/src/PySimultan2/utils.py +1383 -0
  81. pysimultan-0.2.1/tests/test_calc_static_zone_temperature.py +0 -0
  82. pysimultan-0.2.1/tests/test_calculate_steady_state_temperature.py +512 -0
  83. pysimultan-0.2.1/tests/test_create_geometry.py +166 -0
  84. pysimultan-0.2.1/tests/test_files.py +109 -0
  85. pysimultan-0.2.1/tests/test_files_load.py +97 -0
  86. pysimultan-0.2.1/tests/test_load_geometry.py +148 -0
  87. pysimultan-0.2.1/tests/test_load_multi_values.py +17 -0
  88. pysimultan-0.2.1/tests/test_new_dll.py +24 -0
  89. pysimultan-0.2.1/tests/test_new_project_creation.py +25 -0
  90. pysimultan-0.2.1/tests/test_numeric_map.py +122 -0
  91. pysimultan-0.2.1/tests/test_pythonnet.py +2 -0
  92. pysimultan-0.2.1/tests/test_register_class.py +149 -0
  93. pysimultan-0.2.1/tests/test_set_attr_property.py +65 -0
  94. pysimultan-0.2.1/tests/test_set_dictionary.py +88 -0
  95. pysimultan-0.2.1/tests/test_set_properties.py +159 -0
  96. pysimultan-0.2.1/tests/test_taxonomie_maps.py +33 -0
  97. pysimultan-0.2.1/tests/test_taxonomies.py +15 -0
  98. pysimultan-0.2.1/tests/test_ui.py +517 -0
  99. PySimultan-0.1.54/LICENSE.txt +0 -674
  100. PySimultan-0.1.54/PKG-INFO +0 -683
  101. PySimultan-0.1.54/PySimultan.egg-info/PKG-INFO +0 -683
  102. PySimultan-0.1.54/PySimultan.egg-info/SOURCES.txt +0 -120
  103. PySimultan-0.1.54/PySimultan.egg-info/entry_points.txt +0 -3
  104. PySimultan-0.1.54/PySimultan.egg-info/requires.txt +0 -7
  105. PySimultan-0.1.54/PySimultan.egg-info/top_level.txt +0 -1
  106. PySimultan-0.1.54/README.rst +0 -651
  107. PySimultan-0.1.54/src/PySimultan/config.py +0 -57
  108. PySimultan-0.1.54/src/PySimultan/data_model.py +0 -376
  109. PySimultan-0.1.54/src/PySimultan/default_types.py +0 -1771
  110. PySimultan-0.1.54/src/PySimultan/geo_default_types.py +0 -763
  111. PySimultan-0.1.54/src/PySimultan/geometry.py +0 -309
  112. PySimultan-0.1.54/src/PySimultan/resources/AssimpNet.dll +0 -0
  113. PySimultan-0.1.54/src/PySimultan/resources/AssimpNet.xml +0 -12074
  114. PySimultan-0.1.54/src/PySimultan/resources/BruTile.dll +0 -0
  115. PySimultan-0.1.54/src/PySimultan/resources/BruTile.xml +0 -1845
  116. PySimultan-0.1.54/src/PySimultan/resources/ControlzEx.dll +0 -0
  117. PySimultan-0.1.54/src/PySimultan/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
  118. PySimultan-0.1.54/src/PySimultan/resources/DXFImportExport.dll +0 -0
  119. PySimultan-0.1.54/src/PySimultan/resources/DotSpatial.Projections.xml +0 -5879
  120. PySimultan-0.1.54/src/PySimultan/resources/EXCELImportExport.dll +0 -0
  121. PySimultan-0.1.54/src/PySimultan/resources/Fluent.dll +0 -0
  122. PySimultan-0.1.54/src/PySimultan/resources/Fluent.xml +0 -9103
  123. PySimultan-0.1.54/src/PySimultan/resources/GeoJSON.Net.dll +0 -0
  124. PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Data.dll +0 -0
  125. PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Data.xml +0 -4443
  126. PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Shared.dll +0 -0
  127. PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Shared.xml +0 -588
  128. PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.dll +0 -0
  129. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.SharpDX.dll +0 -0
  130. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.SharpDX.xml +0 -43219
  131. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.dll +0 -0
  132. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.xml +0 -22363
  133. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.dll +0 -0
  134. PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.xml +0 -144
  135. PySimultan-0.1.54/src/PySimultan/resources/ImportLog_SMART_CAMPUS_TU_WIEN_BIBLIOTHEK_20210305_ZONENMODELL_23_11_2021-06_54_54.txt +0 -1
  136. PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.dll +0 -0
  137. PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.dll.config +0 -4
  138. PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.xml +0 -13770
  139. PySimultan-0.1.54/src/PySimultan/resources/MathNet.Numerics.dll +0 -0
  140. PySimultan-0.1.54/src/PySimultan/resources/MathNet.Numerics.xml +0 -57152
  141. PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
  142. PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.xml +0 -25496
  143. PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.dll +0 -0
  144. PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.xml +0 -2934
  145. PySimultan-0.1.54/src/PySimultan/resources/Newtonsoft.Json.dll +0 -0
  146. PySimultan-0.1.54/src/PySimultan/resources/Newtonsoft.Json.xml +0 -11305
  147. PySimultan-0.1.54/src/PySimultan/resources/ParameterStructure.dll +0 -0
  148. PySimultan-0.1.54/src/PySimultan/resources/ParameterStructure.xml +0 -10750
  149. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  150. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.DataExchange.dll +0 -0
  151. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Lang.dll +0 -0
  152. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Legacy.dll +0 -0
  153. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Legacy.xml +0 -254
  154. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Plugins.dll +0 -0
  155. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Project.dll +0 -0
  156. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Project.dll.config +0 -11
  157. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.UI.dll +0 -0
  158. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Util.dll +0 -0
  159. PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Util.xml +0 -3430
  160. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.D3DCompiler.dll +0 -0
  161. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.D3DCompiler.xml +0 -5897
  162. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.DXGI.dll +0 -0
  163. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.DXGI.xml +0 -8737
  164. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct2D1.dll +0 -0
  165. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct2D1.xml +0 -46691
  166. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D11.dll +0 -0
  167. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D11.xml +0 -31826
  168. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D9.dll +0 -0
  169. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D9.xml +0 -36489
  170. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Mathematics.xml +0 -16449
  171. PySimultan-0.1.54/src/PySimultan/resources/SharpDX.dll +0 -0
  172. PySimultan-0.1.54/src/PySimultan/resources/Sprache.dll +0 -0
  173. PySimultan-0.1.54/src/PySimultan/resources/Sprache.xml +0 -1199
  174. PySimultan-0.1.54/src/PySimultan/resources/System.Net.Http.Formatting.dll +0 -0
  175. PySimultan-0.1.54/src/PySimultan/resources/System.Net.Http.Formatting.xml +0 -2094
  176. PySimultan-0.1.54/src/PySimultan/resources/System.Windows.Interactivity.dll +0 -0
  177. PySimultan-0.1.54/src/PySimultan/resources/TalkGit.dll +0 -0
  178. PySimultan-0.1.54/src/PySimultan/resources/TalkGit.dll.config +0 -11
  179. PySimultan-0.1.54/src/PySimultan/resources/WebServiceConnector.dll +0 -0
  180. PySimultan-0.1.54/src/PySimultan/resources/WebServiceConnector.dll.config +0 -11
  181. PySimultan-0.1.54/src/PySimultan/resources/XAMLMarkupExtensions.dll +0 -0
  182. PySimultan-0.1.54/src/PySimultan/resources/XAMLMarkupExtensions.xml +0 -862
  183. PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Aero.dll +0 -0
  184. PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Metro.dll +0 -0
  185. PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.VS2010.dll +0 -0
  186. PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.dll +0 -0
  187. PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.Toolkit.dll +0 -0
  188. PySimultan-0.1.54/src/PySimultan/resources/assimp.dll +0 -0
  189. PySimultan-0.1.54/src/PySimultan/resources/schema.yaml +0 -13
  190. PySimultan-0.1.54/src/PySimultan/simultan_geometry_utils.py +0 -81
  191. PySimultan-0.1.54/src/PySimultan/simultan_utils.py +0 -165
  192. PySimultan-0.1.54/src/PySimultan/slots.py +0 -51
  193. PySimultan-0.1.54/src/PySimultan/template_tools.py +0 -631
  194. PySimultan-0.1.54/src/PySimultan/utils.py +0 -298
  195. {PySimultan-0.1.54 → pysimultan-0.2.1}/setup.cfg +0 -0
  196. {PySimultan-0.1.54 → pysimultan-0.2.1/src}/PySimultan.egg-info/dependency_links.txt +0 -0
  197. /PySimultan-0.1.54/PySimultan.egg-info/zip-safe → /pysimultan-0.2.1/src/PySimultan.egg-info/not-zip-safe +0 -0
  198. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/DotSpatial.Projections.dll +0 -0
  199. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/GeometryViewer.dll.config +0 -0
  200. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -0
  201. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/SitePlanner.dll.config +0 -0
  202. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/Sprache.Calc.dll +0 -0
  203. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/__init__.py +0 -0
  204. {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2.1/src/PySimultan2}/resources/setup.bat +0 -0
@@ -0,0 +1,17 @@
1
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2
+ of this software and associated documentation files (the "Software"), to
3
+ deal in the Software without restriction, including without limitation the
4
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
5
+ sell copies of the Software, and to permit persons to whom the Software is
6
+ furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in
9
+ all copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
17
+ IN THE SOFTWARE.
@@ -1,7 +1,9 @@
1
1
  include README.rst
2
2
  include LICENSE.txt
3
3
  include requirements.txt
4
- recursive-exclude tests *
4
+
5
5
  graft src/py_plot_tools/resources
6
6
  graft src/py_plot_tools/basic_geometries/gui_adaptions/infos/generated
7
7
  graft src/py_plot_tools/generated
8
+ recursive-exclude src/tests *
9
+ recursive-include src/resources *
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.1
2
+ Name: PySimultan
3
+ Version: 0.2.1
4
+ Home-page:
5
+ Author: Max Buehler
6
+ Author-email: Max Bühler <maximilian.buehler@tuwien.ac.at>
7
+ License: Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to
9
+ deal in the Software without restriction, including without limitation the
10
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11
+ sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23
+ IN THE SOFTWARE.
24
+
25
+ Classifier: Programming Language :: Python :: 3
26
+ Classifier: License :: OSI Approved :: MIT License
27
+ Classifier: Operating System :: OS Independent
28
+ Requires-Python: >=3.10
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE.txt
31
+
32
+ ===================================================
33
+ geometry_utils: Several tools to work with geometry
34
+ ===================================================
35
+
36
+ Python library with several tools to work with geometry
@@ -0,0 +1,5 @@
1
+ ===================================================
2
+ geometry_utils: Several tools to work with geometry
3
+ ===================================================
4
+
5
+ Python library with several tools to work with geometry
@@ -1,11 +1,29 @@
1
+ [project]
2
+ name = "PySimultan"
3
+ version = "0.2.1"
4
+ authors = [
5
+ {name = "Max Bühler", email = "maximilian.buehler@tuwien.ac.at"}
6
+ ]
7
+ readme = "README.md"
8
+ requires-python = ">=3.8"
9
+ classifiers = [
10
+ "Programming Language :: Python :: 3",
11
+ "License :: OSI Approved :: MIT License",
12
+ "Operating System :: OS Independent"
13
+ ]
14
+ license = {file = "LICENSE.txt"}
15
+
1
16
  [build-system]
2
- requires = ["setuptools>=46.0", "wheel"]
17
+ requires = ["setuptools", "wheel"]
3
18
  build-backend = "setuptools.build_meta"
4
19
 
20
+ [tool.setuptools.packages.find]
21
+ where = ["src"]
22
+
5
23
  [tool.black]
6
24
  # Use the more relaxed max line length permitted in PEP8.
7
25
  line-length = 99
8
- target-version = ["py36", "py37", "py38"]
26
+ target-version = ["py38", "py39", "py310", "py311", "py312"]
9
27
  exclude = '''
10
28
  /(
11
29
  \.eggs
@@ -4,10 +4,11 @@
4
4
  #
5
5
  # pip-compile requirements.in
6
6
  #
7
+ six
7
8
  numpy
8
- pandas
9
+ pythonnet
9
10
  colorlog
10
- pythonnet>=3.0.0a2
11
11
  ruamel.yaml
12
12
  tqdm
13
- yamale
13
+ pandas
14
+ pyarrow
@@ -1,32 +1,29 @@
1
- from distutils.core import setup, Extension
1
+ #!/usr/bin/env python3
2
+
2
3
  from pathlib import Path
3
4
 
4
5
  import setuptools
5
6
 
6
7
  project_dir = Path(__file__).parent
7
8
 
8
- from os import path
9
- this_directory = path.abspath(path.dirname(__file__))
10
- with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
11
- long_description = f.read()
12
-
13
-
14
9
  setuptools.setup(
15
10
  name="PySimultan",
16
- version="0.1.54",
17
- description="Python Package to import and work with the SIMULTAN Data model",
11
+ version="0.2.1",
12
+ description="Integrate SIMULTAN into Python",
18
13
  # Allow UTF-8 characters in README with encoding argument.
19
- long_description=long_description,
20
- long_description_content_type='text/markdown',
14
+ long_description=project_dir.joinpath("README.md").read_text(encoding="utf-8"),
21
15
  keywords=["python"],
22
16
  author="Max Buehler",
23
- url="https://github.com/bph-tuwien/PySimultan",
24
- packages=["PySimultan"],
25
- package_dir={"PySimultan": "src/PySimultan"},
26
- package_data={'PySimultan': ['resources/*']},
17
+ url="",
18
+ packages=setuptools.find_packages("src"),
19
+ package_dir={"": "src"},
20
+ package_data={
21
+ # This assumes your package is named "your_package_name"
22
+ "PySimultan2": ["resources/*", "tests/*"]
23
+ },
27
24
  # pip 9.0+ will inspect this field when installing to help users install a
28
25
  # compatible version of the library for their Python version.
29
- python_requires=">=3.7",
26
+ python_requires=">=3.10",
30
27
  setup_requires=["wheel"],
31
28
  # There are some peculiarities on how to include package data for source
32
29
  # distributions using setuptools. You also need to add entries for package
@@ -41,7 +38,7 @@ setuptools.setup(
41
38
  # Example: 'requests @ git+https://github.com/requests/requests.git@branch_or_tag'
42
39
  # See: https://github.com/pypa/pip/issues/6162
43
40
  install_requires=project_dir.joinpath("requirements.txt").read_text().split("\n"),
44
- zip_safe=True,
41
+ zip_safe=False,
45
42
  license="MIT",
46
43
  license_files=["LICENSE.txt"],
47
44
  classifiers=[
@@ -51,8 +48,5 @@ setuptools.setup(
51
48
  "Programming Language :: Python",
52
49
  "Programming Language :: Python :: 3",
53
50
  "Programming Language :: Python :: 3 :: Only",
54
- "Programming Language :: Python :: 3.8",
55
- "Programming Language :: Python :: 3.9",
56
51
  ],
57
- entry_points={"console_scripts": ["PySimultan=PySimultan.cli:main"]},
58
52
  )
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.1
2
+ Name: PySimultan
3
+ Version: 0.2.1
4
+ Home-page:
5
+ Author: Max Buehler
6
+ Author-email: Max Bühler <maximilian.buehler@tuwien.ac.at>
7
+ License: Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to
9
+ deal in the Software without restriction, including without limitation the
10
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11
+ sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23
+ IN THE SOFTWARE.
24
+
25
+ Classifier: Programming Language :: Python :: 3
26
+ Classifier: License :: OSI Approved :: MIT License
27
+ Classifier: Operating System :: OS Independent
28
+ Requires-Python: >=3.10
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE.txt
31
+
32
+ ===================================================
33
+ geometry_utils: Several tools to work with geometry
34
+ ===================================================
35
+
36
+ Python library with several tools to work with geometry
@@ -0,0 +1,107 @@
1
+ LICENSE.txt
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ requirements.txt
6
+ setup.cfg
7
+ setup.py
8
+ src/PySimultan.egg-info/PKG-INFO
9
+ src/PySimultan.egg-info/SOURCES.txt
10
+ src/PySimultan.egg-info/dependency_links.txt
11
+ src/PySimultan.egg-info/not-zip-safe
12
+ src/PySimultan.egg-info/top_level.txt
13
+ src/PySimultan2/__init__.py
14
+ src/PySimultan2/config.py
15
+ src/PySimultan2/data_model.py
16
+ src/PySimultan2/default_types.py
17
+ src/PySimultan2/files.py
18
+ src/PySimultan2/multi_values.py
19
+ src/PySimultan2/object_mapper.py
20
+ src/PySimultan2/simultan_object.py
21
+ src/PySimultan2/taxonomy_maps.py
22
+ src/PySimultan2/utils.py
23
+ src/PySimultan2/geometry/__init__.py
24
+ src/PySimultan2/geometry/geometry_base.py
25
+ src/PySimultan2/geometry/utils.py
26
+ src/PySimultan2/resources/AssimpNet.dll
27
+ src/PySimultan2/resources/AvalonDock.dll
28
+ src/PySimultan2/resources/BruTile.dll
29
+ src/PySimultan2/resources/ClosedXML.dll
30
+ src/PySimultan2/resources/ComponentBuilder.dll
31
+ src/PySimultan2/resources/ComponentBuilder.dll.config
32
+ src/PySimultan2/resources/ComponentBuilder.runtimeconfig.json
33
+ src/PySimultan2/resources/ComponentBuilder.xml
34
+ src/PySimultan2/resources/ControlzEx.dll
35
+ src/PySimultan2/resources/Cyotek.Drawing.BitmapFont.dll
36
+ src/PySimultan2/resources/DocumentFormat.OpenXml.dll
37
+ src/PySimultan2/resources/DotSpatial.Projections.dll
38
+ src/PySimultan2/resources/ExcelNumberFormat.dll
39
+ src/PySimultan2/resources/Fluent.dll
40
+ src/PySimultan2/resources/GeometryViewer.dll
41
+ src/PySimultan2/resources/GeometryViewer.dll.config
42
+ src/PySimultan2/resources/GeometryViewer.xml
43
+ src/PySimultan2/resources/HelixToolkit.Core.Wpf.dll
44
+ src/PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll
45
+ src/PySimultan2/resources/HelixToolkit.SharpDX.Core.dll
46
+ src/PySimultan2/resources/HelixToolkit.dll
47
+ src/PySimultan2/resources/MathNet.Numerics.dll
48
+ src/PySimultan2/resources/Microsoft.AspNetCore.Authorization.dll
49
+ src/PySimultan2/resources/Microsoft.AspNetCore.Metadata.dll
50
+ src/PySimultan2/resources/Microsoft.Extensions.DependencyInjection.Abstractions.dll
51
+ src/PySimultan2/resources/Microsoft.Extensions.Logging.Abstractions.dll
52
+ src/PySimultan2/resources/Microsoft.Extensions.Options.dll
53
+ src/PySimultan2/resources/Microsoft.Extensions.Primitives.dll
54
+ src/PySimultan2/resources/Microsoft.WindowsAPICodePack.Shell.dll
55
+ src/PySimultan2/resources/Microsoft.WindowsAPICodePack.dll
56
+ src/PySimultan2/resources/Microsoft.Xaml.Behaviors.dll
57
+ src/PySimultan2/resources/Newtonsoft.Json.Bson.dll
58
+ src/PySimultan2/resources/Newtonsoft.Json.dll
59
+ src/PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll
60
+ src/PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config
61
+ src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll
62
+ src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config
63
+ src/PySimultan2/resources/SIMULTAN.Lang.dll
64
+ src/PySimultan2/resources/SIMULTAN.Lang.xml
65
+ src/PySimultan2/resources/SIMULTAN.Plugins.dll
66
+ src/PySimultan2/resources/SIMULTAN.Plugins.xml
67
+ src/PySimultan2/resources/SIMULTAN.UI.dll
68
+ src/PySimultan2/resources/SIMULTAN.UI.xml
69
+ src/PySimultan2/resources/SIMULTAN.dll
70
+ src/PySimultan2/resources/SIMULTAN.xml
71
+ src/PySimultan2/resources/SharpDX.D3DCompiler.dll
72
+ src/PySimultan2/resources/SharpDX.DXGI.dll
73
+ src/PySimultan2/resources/SharpDX.Direct2D1.dll
74
+ src/PySimultan2/resources/SharpDX.Direct3D11.dll
75
+ src/PySimultan2/resources/SharpDX.Direct3D9.dll
76
+ src/PySimultan2/resources/SharpDX.Mathematics.dll
77
+ src/PySimultan2/resources/SharpDX.dll
78
+ src/PySimultan2/resources/SitePlanner.dll
79
+ src/PySimultan2/resources/SitePlanner.dll.config
80
+ src/PySimultan2/resources/SitePlanner.xml
81
+ src/PySimultan2/resources/Sprache.Calc.dll
82
+ src/PySimultan2/resources/Sprache.dll
83
+ src/PySimultan2/resources/System.Data.OleDb.dll
84
+ src/PySimultan2/resources/System.Net.Http.Formatting.dll
85
+ src/PySimultan2/resources/XAMLMarkupExtensions.dll
86
+ src/PySimultan2/resources/__init__.py
87
+ src/PySimultan2/resources/assimp.dll
88
+ src/PySimultan2/resources/defaultsettings.xml
89
+ src/PySimultan2/resources/setup.bat
90
+ tests/test_calc_static_zone_temperature.py
91
+ tests/test_calculate_steady_state_temperature.py
92
+ tests/test_create_geometry.py
93
+ tests/test_files.py
94
+ tests/test_files_load.py
95
+ tests/test_load_geometry.py
96
+ tests/test_load_multi_values.py
97
+ tests/test_new_dll.py
98
+ tests/test_new_project_creation.py
99
+ tests/test_numeric_map.py
100
+ tests/test_pythonnet.py
101
+ tests/test_register_class.py
102
+ tests/test_set_attr_property.py
103
+ tests/test_set_dictionary.py
104
+ tests/test_set_properties.py
105
+ tests/test_taxonomie_maps.py
106
+ tests/test_taxonomies.py
107
+ tests/test_ui.py
@@ -0,0 +1,2 @@
1
+ PySimultan2
2
+ SOF
@@ -2,14 +2,19 @@ import sys
2
2
  import colorlog
3
3
  from .config import *
4
4
  from .data_model import DataModel
5
- from .simultan_utils import create_component
6
- from .template_tools import Template, TemplateParser
7
- from .geo_default_types import BaseGeometricLayer, BaseGeometricVertex, BaseGeometricEdge, BaseGeometricEdgeLoop, BaseGeometricFace, BaseGeometricVolume
5
+ from .files import FileInfo
6
+ from .object_mapper import PythonMapper
8
7
 
9
- print(sys.version)
8
+ # from .simultan_utils import create_component
9
+ # from .template_tools import Template, TemplateParser
10
+ # from .geo_default_types import BaseGeometricLayer, BaseGeometricVertex, BaseGeometricEdge, BaseGeometricEdgeLoop, BaseGeometricFace, BaseGeometricVolume
11
+ #
12
+ # print(sys.version)
13
+ #
14
+ # from ParameterStructure.Components import SimComponent
15
+ # from ParameterStructure.Parameters import SimParameter
10
16
 
11
- from ParameterStructure.Components import SimComponent
12
- from ParameterStructure.Parameters import SimParameter
17
+ # from .utils import create_component
13
18
 
14
19
  handler = colorlog.StreamHandler()
15
20
  formatter = colorlog.ColoredFormatter(
@@ -0,0 +1,52 @@
1
+ import os
2
+ import sys
3
+ from ruamel.yaml import YAML, yaml_object, add_representer
4
+
5
+ import colorlog
6
+ try:
7
+ import importlib.resources as pkg_resources
8
+ except ImportError:
9
+ # Try backported to PY<37 importlib_resources.
10
+ import importlib_resources as pkg_resources
11
+
12
+
13
+ from . import resources
14
+ sys.path.append(str(pkg_resources.files(resources)))
15
+
16
+ logger = colorlog.getLogger('PySimultan')
17
+ logger.setLevel('DEBUG')
18
+
19
+ dll_path = os.environ.get('SIMULTAN_SDK_DIR', None)
20
+ if dll_path is None:
21
+ with pkg_resources.path(resources, 'SIMULTAN.dll') as r_path:
22
+ dll_path = str(r_path)
23
+ sys.path.append(dll_path)
24
+
25
+ from pythonnet import load
26
+ from pythonnet import clr_loader, set_runtime
27
+ list(clr_loader.find_runtimes())
28
+ load('coreclr')
29
+ import clr
30
+ test = clr.AddReference(os.path.join(dll_path, 'SIMULTAN.dll') if not dll_path.endswith('SIMULTAN.dll') else dll_path)
31
+ clr.AddReference("System.Security.Cryptography")
32
+ # clr.AddReference(os.path.join(dll_path, 'SIMULTAN'))
33
+
34
+ from SIMULTAN.Data.Components import SimComponent
35
+
36
+ continue_on_error = True
37
+
38
+
39
+ def represent_none(self, _):
40
+ return self.represent_scalar('tag:yaml.org,2002:null', '')
41
+
42
+
43
+ add_representer(type(None), represent_none)
44
+ yaml = YAML()
45
+ yaml.default_flow_style = None
46
+ yaml.preserve_quotes = True
47
+ yaml.allow_unicode = True
48
+
49
+ # define which axis is in up/down direction; 0: x-axis; 1: y-axis; 2: z-axis; In SIMULTAN the y-axis is the up/down axis
50
+ cs_axis_up = 2
51
+ default_data_model = None
52
+ default_mapper = None