PySimultan 0.1.54__tar.gz → 0.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- pysimultan-0.2/LICENSE.txt +17 -0
- {PySimultan-0.1.54 → pysimultan-0.2}/MANIFEST.in +1 -0
- pysimultan-0.2/PKG-INFO +36 -0
- pysimultan-0.2/README.md +5 -0
- {PySimultan-0.1.54 → pysimultan-0.2}/pyproject.toml +20 -2
- {PySimultan-0.1.54 → pysimultan-0.2}/requirements.txt +4 -3
- {PySimultan-0.1.54 → pysimultan-0.2}/setup.py +14 -20
- pysimultan-0.2/src/PySimultan.egg-info/PKG-INFO +36 -0
- pysimultan-0.2/src/PySimultan.egg-info/SOURCES.txt +89 -0
- pysimultan-0.2/src/PySimultan.egg-info/top_level.txt +2 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/__init__.py +11 -6
- pysimultan-0.2/src/PySimultan2/config.py +52 -0
- pysimultan-0.2/src/PySimultan2/data_model.py +713 -0
- pysimultan-0.2/src/PySimultan2/default_types.py +507 -0
- pysimultan-0.2/src/PySimultan2/files.py +371 -0
- pysimultan-0.2/src/PySimultan2/geometry/__init__.py +4 -0
- pysimultan-0.2/src/PySimultan2/geometry/geometry_base.py +654 -0
- pysimultan-0.2/src/PySimultan2/geometry/utils.py +181 -0
- pysimultan-0.2/src/PySimultan2/multi_values.py +277 -0
- pysimultan-0.2/src/PySimultan2/object_mapper.py +200 -0
- pysimultan-0.2/src/PySimultan2/resources/AssimpNet.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/AvalonDock.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/BruTile.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/ClosedXML.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/ComponentBuilder.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/ComponentBuilder.exe.config → pysimultan-0.2/src/PySimultan2/resources/ComponentBuilder.dll.config +6 -2
- pysimultan-0.2/src/PySimultan2/resources/ComponentBuilder.runtimeconfig.json +18 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/ComponentBuilder.xml +11877 -6754
- pysimultan-0.2/src/PySimultan2/resources/ControlzEx.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/DocumentFormat.OpenXml.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/ExcelNumberFormat.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Fluent.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/GeometryViewer.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/GeometryViewer.xml +2201 -1155
- pysimultan-0.2/src/PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/HelixToolkit.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/MathNet.Numerics.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.AspNetCore.Authorization.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.AspNetCore.Metadata.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.Extensions.Options.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.Extensions.Primitives.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.WindowsAPICodePack.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Microsoft.Xaml.Behaviors.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Newtonsoft.Json.Bson.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/Newtonsoft.Json.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +15 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SIMULTAN.Lang.xml +5282 -3252
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SIMULTAN.Plugins.xml +110 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.UI.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SIMULTAN.UI.xml +10483 -4937
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SIMULTAN.xml +34122 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.D3DCompiler.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.DXGI.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.Direct2D1.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.Direct3D11.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.Direct3D9.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SharpDX.Mathematics.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/SharpDX.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SitePlanner.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SitePlanner.xml +959 -1110
- pysimultan-0.2/src/PySimultan2/resources/Sprache.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/System.Data.OleDb.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/System.Net.Http.Formatting.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/XAMLMarkupExtensions.dll +0 -0
- pysimultan-0.2/src/PySimultan2/resources/assimp.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/defaultsettings.xml +0 -0
- pysimultan-0.2/src/PySimultan2/simultan_object.py +366 -0
- pysimultan-0.2/src/PySimultan2/taxonomy_maps.py +169 -0
- pysimultan-0.2/src/PySimultan2/utils.py +1383 -0
- PySimultan-0.1.54/LICENSE.txt +0 -674
- PySimultan-0.1.54/PKG-INFO +0 -683
- PySimultan-0.1.54/PySimultan.egg-info/PKG-INFO +0 -683
- PySimultan-0.1.54/PySimultan.egg-info/SOURCES.txt +0 -120
- PySimultan-0.1.54/PySimultan.egg-info/entry_points.txt +0 -3
- PySimultan-0.1.54/PySimultan.egg-info/requires.txt +0 -7
- PySimultan-0.1.54/PySimultan.egg-info/top_level.txt +0 -1
- PySimultan-0.1.54/README.rst +0 -651
- PySimultan-0.1.54/src/PySimultan/config.py +0 -57
- PySimultan-0.1.54/src/PySimultan/data_model.py +0 -376
- PySimultan-0.1.54/src/PySimultan/default_types.py +0 -1771
- PySimultan-0.1.54/src/PySimultan/geo_default_types.py +0 -763
- PySimultan-0.1.54/src/PySimultan/geometry.py +0 -309
- PySimultan-0.1.54/src/PySimultan/resources/AssimpNet.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/AssimpNet.xml +0 -12074
- PySimultan-0.1.54/src/PySimultan/resources/BruTile.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/BruTile.xml +0 -1845
- PySimultan-0.1.54/src/PySimultan/resources/ControlzEx.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/DXFImportExport.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/DotSpatial.Projections.xml +0 -5879
- PySimultan-0.1.54/src/PySimultan/resources/EXCELImportExport.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Fluent.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Fluent.xml +0 -9103
- PySimultan-0.1.54/src/PySimultan/resources/GeoJSON.Net.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Data.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Data.xml +0 -4443
- PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Shared.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.Shared.xml +0 -588
- PySimultan-0.1.54/src/PySimultan/resources/GeometryViewer.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.SharpDX.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.SharpDX.xml +0 -43219
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.Wpf.xml +0 -22363
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/HelixToolkit.xml +0 -144
- PySimultan-0.1.54/src/PySimultan/resources/ImportLog_SMART_CAMPUS_TU_WIEN_BIBLIOTHEK_20210305_ZONENMODELL_23_11_2021-06_54_54.txt +0 -1
- PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.dll.config +0 -4
- PySimultan-0.1.54/src/PySimultan/resources/LibGit2Sharp.xml +0 -13770
- PySimultan-0.1.54/src/PySimultan/resources/MathNet.Numerics.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/MathNet.Numerics.xml +0 -57152
- PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.xml +0 -25496
- PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Microsoft.WindowsAPICodePack.xml +0 -2934
- PySimultan-0.1.54/src/PySimultan/resources/Newtonsoft.Json.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Newtonsoft.Json.xml +0 -11305
- PySimultan-0.1.54/src/PySimultan/resources/ParameterStructure.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/ParameterStructure.xml +0 -10750
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.DataExchange.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Lang.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Legacy.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Legacy.xml +0 -254
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Plugins.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Project.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Project.dll.config +0 -11
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.UI.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Util.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SIMULTAN.Util.xml +0 -3430
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.D3DCompiler.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.D3DCompiler.xml +0 -5897
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.DXGI.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.DXGI.xml +0 -8737
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct2D1.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct2D1.xml +0 -46691
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D11.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D11.xml +0 -31826
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D9.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Direct3D9.xml +0 -36489
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.Mathematics.xml +0 -16449
- PySimultan-0.1.54/src/PySimultan/resources/SharpDX.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Sprache.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Sprache.xml +0 -1199
- PySimultan-0.1.54/src/PySimultan/resources/System.Net.Http.Formatting.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/System.Net.Http.Formatting.xml +0 -2094
- PySimultan-0.1.54/src/PySimultan/resources/System.Windows.Interactivity.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/TalkGit.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/TalkGit.dll.config +0 -11
- PySimultan-0.1.54/src/PySimultan/resources/WebServiceConnector.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/WebServiceConnector.dll.config +0 -11
- PySimultan-0.1.54/src/PySimultan/resources/XAMLMarkupExtensions.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/XAMLMarkupExtensions.xml +0 -862
- PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Aero.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Metro.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.VS2010.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.AvalonDock.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/Xceed.Wpf.Toolkit.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/assimp.dll +0 -0
- PySimultan-0.1.54/src/PySimultan/resources/schema.yaml +0 -13
- PySimultan-0.1.54/src/PySimultan/simultan_geometry_utils.py +0 -81
- PySimultan-0.1.54/src/PySimultan/simultan_utils.py +0 -165
- PySimultan-0.1.54/src/PySimultan/slots.py +0 -51
- PySimultan-0.1.54/src/PySimultan/template_tools.py +0 -631
- PySimultan-0.1.54/src/PySimultan/utils.py +0 -298
- {PySimultan-0.1.54 → pysimultan-0.2}/setup.cfg +0 -0
- {PySimultan-0.1.54 → pysimultan-0.2/src}/PySimultan.egg-info/dependency_links.txt +0 -0
- /PySimultan-0.1.54/PySimultan.egg-info/zip-safe → /pysimultan-0.2/src/PySimultan.egg-info/not-zip-safe +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/DotSpatial.Projections.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/GeometryViewer.dll.config +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/SitePlanner.dll.config +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/Sprache.Calc.dll +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/src/PySimultan2}/resources/__init__.py +0 -0
- {PySimultan-0.1.54/src/PySimultan → pysimultan-0.2/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.
|
pysimultan-0.2/PKG-INFO
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: PySimultan
|
3
|
+
Version: 0.2
|
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
|
pysimultan-0.2/README.md
ADDED
@@ -1,11 +1,29 @@
|
|
1
|
+
[project]
|
2
|
+
name = "PySimultan"
|
3
|
+
version = "0.2"
|
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
|
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 = ["
|
26
|
+
target-version = ["py38", "py39", "py310", "py311", "py312"]
|
9
27
|
exclude = '''
|
10
28
|
/(
|
11
29
|
\.eggs
|
@@ -1,32 +1,29 @@
|
|
1
|
-
|
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.
|
17
|
-
description="
|
11
|
+
version="0.2",
|
12
|
+
description="Integrate SIMULTAN into Python",
|
18
13
|
# Allow UTF-8 characters in README with encoding argument.
|
19
|
-
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="
|
24
|
-
packages=
|
25
|
-
package_dir={"
|
26
|
-
package_data={
|
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/*"]
|
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.
|
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=
|
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
|
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,89 @@
|
|
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
|
@@ -2,14 +2,19 @@ import sys
|
|
2
2
|
import colorlog
|
3
3
|
from .config import *
|
4
4
|
from .data_model import DataModel
|
5
|
-
from .
|
6
|
-
from .
|
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
|
-
|
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
|
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
|