pyedb 0.2.0__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.

Potentially problematic release.


This version of pyedb might be problematic. Click here for more details.

Files changed (128) hide show
  1. pyedb-0.2.0/LICENSE +21 -0
  2. pyedb-0.2.0/PKG-INFO +208 -0
  3. pyedb-0.2.0/README.md +99 -0
  4. pyedb-0.2.0/pyproject.toml +195 -0
  5. pyedb-0.2.0/src/pyedb/__init__.py +17 -0
  6. pyedb-0.2.0/src/pyedb/dotnet/__init__.py +0 -0
  7. pyedb-0.2.0/src/pyedb/dotnet/application/Variables.py +2261 -0
  8. pyedb-0.2.0/src/pyedb/dotnet/application/__init__.py +0 -0
  9. pyedb-0.2.0/src/pyedb/dotnet/clr_module.py +103 -0
  10. pyedb-0.2.0/src/pyedb/dotnet/edb.py +4237 -0
  11. pyedb-0.2.0/src/pyedb/dotnet/edb_core/__init__.py +1 -0
  12. pyedb-0.2.0/src/pyedb/dotnet/edb_core/cell/__init__.py +0 -0
  13. pyedb-0.2.0/src/pyedb/dotnet/edb_core/cell/hierarchy/__init__.py +0 -0
  14. pyedb-0.2.0/src/pyedb/dotnet/edb_core/cell/hierarchy/model.py +66 -0
  15. pyedb-0.2.0/src/pyedb/dotnet/edb_core/components.py +2669 -0
  16. pyedb-0.2.0/src/pyedb/dotnet/edb_core/configuration.py +423 -0
  17. pyedb-0.2.0/src/pyedb/dotnet/edb_core/definition/__init__.py +0 -0
  18. pyedb-0.2.0/src/pyedb/dotnet/edb_core/definition/component_def.py +166 -0
  19. pyedb-0.2.0/src/pyedb/dotnet/edb_core/definition/component_model.py +30 -0
  20. pyedb-0.2.0/src/pyedb/dotnet/edb_core/definition/definition_obj.py +18 -0
  21. pyedb-0.2.0/src/pyedb/dotnet/edb_core/definition/definitions.py +12 -0
  22. pyedb-0.2.0/src/pyedb/dotnet/edb_core/dotnet/__init__.py +0 -0
  23. pyedb-0.2.0/src/pyedb/dotnet/edb_core/dotnet/database.py +1218 -0
  24. pyedb-0.2.0/src/pyedb/dotnet/edb_core/dotnet/layout.py +238 -0
  25. pyedb-0.2.0/src/pyedb/dotnet/edb_core/dotnet/primitive.py +1517 -0
  26. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/__init__.py +0 -0
  27. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/components_data.py +938 -0
  28. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/connectable.py +113 -0
  29. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/control_file.py +1268 -0
  30. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/design_options.py +35 -0
  31. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/edbvalue.py +45 -0
  32. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/hfss_extent_info.py +330 -0
  33. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/hfss_simulation_setup_data.py +1607 -0
  34. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/layer_data.py +576 -0
  35. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/nets_data.py +281 -0
  36. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/obj_base.py +19 -0
  37. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/padstacks_data.py +2080 -0
  38. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/ports.py +287 -0
  39. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/primitives_data.py +1397 -0
  40. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/simulation_configuration.py +2914 -0
  41. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/simulation_setup.py +716 -0
  42. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/siwave_simulation_setup_data.py +1205 -0
  43. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/sources.py +514 -0
  44. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/terminals.py +632 -0
  45. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/utilities.py +148 -0
  46. pyedb-0.2.0/src/pyedb/dotnet/edb_core/edb_data/variables.py +91 -0
  47. pyedb-0.2.0/src/pyedb/dotnet/edb_core/general.py +181 -0
  48. pyedb-0.2.0/src/pyedb/dotnet/edb_core/hfss.py +1646 -0
  49. pyedb-0.2.0/src/pyedb/dotnet/edb_core/layout.py +1244 -0
  50. pyedb-0.2.0/src/pyedb/dotnet/edb_core/layout_validation.py +272 -0
  51. pyedb-0.2.0/src/pyedb/dotnet/edb_core/materials.py +939 -0
  52. pyedb-0.2.0/src/pyedb/dotnet/edb_core/net_class.py +335 -0
  53. pyedb-0.2.0/src/pyedb/dotnet/edb_core/nets.py +1215 -0
  54. pyedb-0.2.0/src/pyedb/dotnet/edb_core/padstack.py +1389 -0
  55. pyedb-0.2.0/src/pyedb/dotnet/edb_core/siwave.py +1427 -0
  56. pyedb-0.2.0/src/pyedb/dotnet/edb_core/stackup.py +2703 -0
  57. pyedb-0.2.0/src/pyedb/edb_logger.py +396 -0
  58. pyedb-0.2.0/src/pyedb/generic/__init__.py +0 -0
  59. pyedb-0.2.0/src/pyedb/generic/constants.py +1063 -0
  60. pyedb-0.2.0/src/pyedb/generic/data_handlers.py +320 -0
  61. pyedb-0.2.0/src/pyedb/generic/design_types.py +104 -0
  62. pyedb-0.2.0/src/pyedb/generic/filesystem.py +150 -0
  63. pyedb-0.2.0/src/pyedb/generic/general_methods.py +1535 -0
  64. pyedb-0.2.0/src/pyedb/generic/plot.py +1840 -0
  65. pyedb-0.2.0/src/pyedb/generic/process.py +285 -0
  66. pyedb-0.2.0/src/pyedb/generic/settings.py +224 -0
  67. pyedb-0.2.0/src/pyedb/ipc2581/__init__.py +0 -0
  68. pyedb-0.2.0/src/pyedb/ipc2581/bom/__init__.py +0 -0
  69. pyedb-0.2.0/src/pyedb/ipc2581/bom/bom.py +21 -0
  70. pyedb-0.2.0/src/pyedb/ipc2581/bom/bom_item.py +32 -0
  71. pyedb-0.2.0/src/pyedb/ipc2581/bom/characteristics.py +37 -0
  72. pyedb-0.2.0/src/pyedb/ipc2581/bom/refdes.py +16 -0
  73. pyedb-0.2.0/src/pyedb/ipc2581/content/__init__.py +0 -0
  74. pyedb-0.2.0/src/pyedb/ipc2581/content/color.py +38 -0
  75. pyedb-0.2.0/src/pyedb/ipc2581/content/content.py +55 -0
  76. pyedb-0.2.0/src/pyedb/ipc2581/content/dictionary_color.py +29 -0
  77. pyedb-0.2.0/src/pyedb/ipc2581/content/dictionary_fill.py +28 -0
  78. pyedb-0.2.0/src/pyedb/ipc2581/content/dictionary_line.py +30 -0
  79. pyedb-0.2.0/src/pyedb/ipc2581/content/entry_color.py +13 -0
  80. pyedb-0.2.0/src/pyedb/ipc2581/content/entry_line.py +14 -0
  81. pyedb-0.2.0/src/pyedb/ipc2581/content/fill.py +15 -0
  82. pyedb-0.2.0/src/pyedb/ipc2581/content/layer_ref.py +10 -0
  83. pyedb-0.2.0/src/pyedb/ipc2581/content/standard_geometries_dictionary.py +72 -0
  84. pyedb-0.2.0/src/pyedb/ipc2581/ecad/__init__.py +0 -0
  85. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/__init__.py +0 -0
  86. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/assembly_drawing.py +26 -0
  87. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/cad_data.py +37 -0
  88. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/component.py +41 -0
  89. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/drill.py +30 -0
  90. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/feature.py +54 -0
  91. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/layer.py +41 -0
  92. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/layer_feature.py +151 -0
  93. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/logical_net.py +32 -0
  94. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/outline.py +25 -0
  95. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/package.py +104 -0
  96. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/padstack_def.py +38 -0
  97. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/padstack_hole_def.py +24 -0
  98. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/padstack_instance.py +62 -0
  99. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/padstack_pad_def.py +26 -0
  100. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/path.py +89 -0
  101. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/phy_net.py +80 -0
  102. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/pin.py +31 -0
  103. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/polygon.py +169 -0
  104. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/profile.py +40 -0
  105. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/stackup.py +31 -0
  106. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/stackup_group.py +42 -0
  107. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/stackup_layer.py +21 -0
  108. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_data/step.py +275 -0
  109. pyedb-0.2.0/src/pyedb/ipc2581/ecad/cad_header.py +33 -0
  110. pyedb-0.2.0/src/pyedb/ipc2581/ecad/ecad.py +19 -0
  111. pyedb-0.2.0/src/pyedb/ipc2581/ecad/spec.py +46 -0
  112. pyedb-0.2.0/src/pyedb/ipc2581/history_record.py +37 -0
  113. pyedb-0.2.0/src/pyedb/ipc2581/ipc2581.py +387 -0
  114. pyedb-0.2.0/src/pyedb/ipc2581/logistic_header.py +25 -0
  115. pyedb-0.2.0/src/pyedb/misc/__init__.py +0 -0
  116. pyedb-0.2.0/src/pyedb/misc/aedtlib_personalib_install.py +14 -0
  117. pyedb-0.2.0/src/pyedb/misc/downloads.py +322 -0
  118. pyedb-0.2.0/src/pyedb/misc/misc.py +67 -0
  119. pyedb-0.2.0/src/pyedb/misc/pyedb.runtimeconfig.json +13 -0
  120. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/__init__.py +0 -0
  121. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc/__init__.py +0 -0
  122. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc/component_tags.py +46 -0
  123. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc/net_tags.py +37 -0
  124. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc/tag_library.py +62 -0
  125. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc/xml_generic.py +78 -0
  126. pyedb-0.2.0/src/pyedb/misc/siw_feature_config/emc_rule_checker_settings.py +179 -0
  127. pyedb-0.2.0/src/pyedb/misc/utilities.py +27 -0
  128. pyedb-0.2.0/src/pyedb/modeler/geometry_operators.py +2082 -0
pyedb-0.2.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 ANSYS, Inc. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
pyedb-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,208 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyedb
3
+ Version: 0.2.0
4
+ Summary: Higher-Level Pythonic Ansys Electronics Data Base
5
+ Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
+ Maintainer-email: PyEDB developers <simon.vandenbrouck@ansys.com>
7
+ Requires-Python: >=3.8,<4
8
+ Description-Content-Type: text/markdown
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Requires-Dist: cffi == 1.15.1;platform_system=='Linux' and python_version == '3.7'
18
+ Requires-Dist: cffi == 1.16.0;platform_system=='Linux' and python_version > '3.7'
19
+ Requires-Dist: pywin32 >= 303;platform_system=='Windows'
20
+ Requires-Dist: ansys-pythonnet >= 3.1.0rc3
21
+ Requires-Dist: rpyc==5.3.1
22
+ Requires-Dist: psutil
23
+ Requires-Dist: dotnetcore2 ==3.1.23;platform_system=='Linux'
24
+ Requires-Dist: ansys-sphinx-theme==0.13.1 ; extra == "doc"
25
+ Requires-Dist: imageio==2.31.5 ; extra == "doc"
26
+ Requires-Dist: imageio-ffmpeg==0.4.9 ; extra == "doc"
27
+ Requires-Dist: ipython==8.13.0 ; extra == "doc" and ( python_version < '3.9')
28
+ Requires-Dist: ipython==8.17.2 ; extra == "doc" and ( python_version >= '3.9')
29
+ Requires-Dist: ipywidgets==8.1.1 ; extra == "doc"
30
+ Requires-Dist: joblib==1.3.2 ; extra == "doc"
31
+ Requires-Dist: jupyterlab==4.0.6 ; extra == "doc"
32
+ Requires-Dist: matplotlib==3.5.3 ; extra == "doc" and ( python_version == '3.7')
33
+ Requires-Dist: matplotlib==3.7.3 ; extra == "doc" and ( python_version == '3.8')
34
+ Requires-Dist: matplotlib==3.8.2 ; extra == "doc" and ( python_version > '3.8')
35
+ Requires-Dist: nbsphinx==0.9.3 ; extra == "doc"
36
+ Requires-Dist: numpydoc==1.5.0 ; extra == "doc" and ( python_version == '3.7')
37
+ Requires-Dist: numpydoc==1.6.0 ; extra == "doc" and ( python_version > '3.7')
38
+ Requires-Dist: osmnx ; extra == "doc"
39
+ Requires-Dist: pypandoc==1.11 ; extra == "doc"
40
+ Requires-Dist: pytest-sphinx==0.5.0 ; extra == "doc"
41
+ Requires-Dist: pyvista==0.42.2 ; extra == "doc" and ( python_version > '3.7')
42
+ Requires-Dist: pyvista==0.38.0 ; extra == "doc" and ( python_version <= '3.7')
43
+ Requires-Dist: recommonmark==0.7.1 ; extra == "doc"
44
+ Requires-Dist: scikit-learn==1.3.0 ; extra == "doc" and ( python_version == '3.7')
45
+ Requires-Dist: scikit-learn==1.3.1 ; extra == "doc" and ( python_version > '3.7')
46
+ Requires-Dist: Sphinx==7.1.2 ; extra == "doc" and ( python_version <= '3.9')
47
+ Requires-Dist: Sphinx==7.2.6 ; extra == "doc" and ( python_version >= '3.9')
48
+ Requires-Dist: sphinx-autobuild==2021.3.14 ; extra == "doc"
49
+ Requires-Dist: sphinx-autodoc-typehints==1.24.0 ; extra == "doc"
50
+ Requires-Dist: sphinx-copybutton==0.5.2 ; extra == "doc"
51
+ Requires-Dist: sphinx-gallery==0.14.0 ; extra == "doc"
52
+ Requires-Dist: sphinx-notfound-page==1.0.0 ; extra == "doc"
53
+ Requires-Dist: sphinxcontrib-websupport==1.2.4 ; extra == "doc" and ( python_version <= '3.9')
54
+ Requires-Dist: sphinxcontrib-websupport==1.2.5 ; extra == "doc" and ( python_version <= '3.7')
55
+ Requires-Dist: SRTM.py ; extra == "doc"
56
+ Requires-Dist: utm ; extra == "doc"
57
+ Requires-Dist: scikit-rf ; extra == "doc"
58
+ Requires-Dist: openpyxl==3.1.2 ; extra == "doc"
59
+ Requires-Dist: sphinx_design ; extra == "doc"
60
+ Requires-Dist: sphinx_jinja ; extra == "doc"
61
+ Requires-Dist: imageio ; extra == "full"
62
+ Requires-Dist: matplotlib==3.5.3 ; extra == "full" and ( python_version == '3.7')
63
+ Requires-Dist: matplotlib==3.7.3 ; extra == "full" and ( python_version == '3.8')
64
+ Requires-Dist: matplotlib==3.8.2 ; extra == "full" and ( python_version > '3.8')
65
+ Requires-Dist: numpy==1.21.6 ; extra == "full" and ( python_version <= '3.9')
66
+ Requires-Dist: numpy==1.26.0 ; extra == "full" and ( python_version > '3.9')
67
+ Requires-Dist: pandas==1.3.5 ; extra == "full" and ( python_version == '3.7')
68
+ Requires-Dist: pandas==2.0.3 ; extra == "full" and ( python_version == '3.9')
69
+ Requires-Dist: pandas==2.1.1 ; extra == "full" and ( python_version > '3.9')
70
+ Requires-Dist: osmnx ; extra == "full"
71
+ Requires-Dist: pyvista==0.42.2 ; extra == "full" and ( python_version > '3.7')
72
+ Requires-Dist: pyvista==0.38.0 ; extra == "full" and ( python_version <= '3.7')
73
+ Requires-Dist: vtk==9.2.6 ; extra == "full"
74
+ Requires-Dist: SRTM.py ; extra == "full"
75
+ Requires-Dist: utm ; extra == "full"
76
+ Requires-Dist: scikit-rf ; extra == "full"
77
+ Requires-Dist: openpyxl==3.1.2 ; extra == "full"
78
+ Requires-Dist: ansys-edb-core ; extra == "grpc"
79
+ Requires-Dist: ipython==8.13.0 ; extra == "tests" and ( python_version < '3.9')
80
+ Requires-Dist: ipython==8.17.2 ; extra == "tests" and ( python_version >= '3.9')
81
+ Requires-Dist: imageio==2.31.5 ; extra == "tests"
82
+ Requires-Dist: joblib==1.3.2 ; extra == "tests"
83
+ Requires-Dist: matplotlib==3.5.3 ; extra == "tests" and ( python_version == '3.7')
84
+ Requires-Dist: matplotlib==3.7.3 ; extra == "tests" and ( python_version == '3.8')
85
+ Requires-Dist: matplotlib==3.8.2 ; extra == "tests" and ( python_version > '3.8')
86
+ Requires-Dist: numpy==1.21.6 ; extra == "tests" and ( python_version <= '3.9')
87
+ Requires-Dist: numpy==1.26.0 ; extra == "tests" and ( python_version > '3.9')
88
+ Requires-Dist: mock ; extra == "tests"
89
+ Requires-Dist: openpyxl==3.1.2 ; extra == "tests"
90
+ Requires-Dist: osmnx ; extra == "tests"
91
+ Requires-Dist: pandas==1.3.5 ; extra == "tests" and ( python_version == '3.7')
92
+ Requires-Dist: pandas==2.0.3 ; extra == "tests" and ( python_version == '3.8')
93
+ Requires-Dist: pandas==2.1.1 ; extra == "tests" and ( python_version > '3.9')
94
+ Requires-Dist: pytest==7.4.3 ; extra == "tests"
95
+ Requires-Dist: pytest-cov==4.1.0 ; extra == "tests"
96
+ Requires-Dist: pytest-xdist==3.3.1 ; extra == "tests"
97
+ Requires-Dist: pyvista==0.38.0 ; extra == "tests" and ( python_version <= '3.7')
98
+ Requires-Dist: pyvista==0.42.2 ; extra == "tests" and ( python_version > '3.7')
99
+ Requires-Dist: scikit-learn==1.3.0 ; extra == "tests" and ( python_version == '3.7')
100
+ Requires-Dist: scikit-learn==1.3.1 ; extra == "tests" and ( python_version > '3.7')
101
+ Requires-Dist: scikit-rf==0.31.0 ; extra == "tests"
102
+ Requires-Dist: SRTM.py ; extra == "tests"
103
+ Requires-Dist: utm ; extra == "tests"
104
+ Provides-Extra: doc
105
+ Provides-Extra: full
106
+ Provides-Extra: grpc
107
+ Provides-Extra: tests
108
+
109
+ <!-- -->
110
+ <a name="readme-top"></a>
111
+ <!--
112
+ *** PyEDB README
113
+ -->
114
+
115
+
116
+ # PyEDB
117
+
118
+ [![PyAnsys](https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC)](https://docs.pyansys.com/)
119
+ [![PythonVersion](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/)
120
+ [![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
121
+
122
+ ## What is PyEDB?
123
+
124
+ PyEDB is Python client library for processing complex and large layout designs in the
125
+ Ansys Electronics Database (EDB) format, which stores information describing designs for
126
+ [Ansys Electronics Desktop](https://www.ansys.com/products/electronics) (AEDT).
127
+
128
+ While you can also use the [PyEDB-Core](https://github.com/ansys/pyedb-core) API to automate EDB workflows,
129
+ using it requires a deep comprehension of the EDB architecture and class inheritances, resulting in
130
+ a learning curve not always compatible with daily work loads.
131
+
132
+ To speed up EDB adoption and improve user experience, PyEDB provides high-level classes that call
133
+ the PyEDB-Core API. Thanks to PyEDB's application-oriented architecture, you can start using EDB
134
+ faster and easier.
135
+
136
+ ## About PyEDB
137
+
138
+ PyEDB is part of the larger [PyAnsys](https://docs.pyansys.com "PyAnsys") effort to facilitate the use
139
+ of Ansys technologies directly from Python. It is intended to consolidate and extend all existing
140
+ functionalities around scripting for EDB to allow reuse of existing code, sharing of best practices,
141
+ and increased collaboration.
142
+
143
+ PyEDB includes functionality for interacting with Ansys electromagnetic simulators: : HFSS,
144
+ HFSS 3D Layout, Icepak, Maxwell, Q3D, and SIwave.
145
+
146
+ ## What is EDB?
147
+
148
+ EDB provides a proprietary database file format (AEDB) for efficient and fast layout design
149
+ handling and processing for building ready-to-solve projects. EDB addresses signal integrity
150
+ (SI), power integrity (PI-DC), and electro-thermal work flows. You can import an AEDB file
151
+ into AEDT to modify the layout, assign materials, and define ports, simulations, and constraints.
152
+ You can then launch any of the Ansys electromagnetic simulators.
153
+
154
+ EDB runs as a standalone API, which means that you don't need to open a user interface (UI).
155
+ Because EDB opens the ``aedb`` folder for directly querying and manipulating layout design in
156
+ memory, it provides the fastest and most efficient way to handle a large and complex layout.
157
+
158
+ You can also parse an AEDB file from a command line in batch in an Ansys electromagnetic simulator
159
+ like HFSS or SIwave. Thus, you can deploy completely non-graphical flows, from layout
160
+ translation through simulatiom results.
161
+
162
+ Additionally, you can use PyAEDT to import an AEDB file into AEDT to view a project,
163
+ combine 3D designs, or perform simulation postprocessing. EDB also supports 3D component models.
164
+
165
+ ## Documentation and issues
166
+
167
+ Documentation for the latest stable release of PyEDB is hosted at
168
+ [PyEDB documentation](https://edb.docs.pyansys.com/version/stable/index.html).
169
+ The documentation has five sections:
170
+
171
+ - [Getting started](https://edb.docs.pyansys.com/version/version/stable/getting_started/index.html): Describes
172
+ how to install PyEDB in user mode.
173
+ - [User guide](https://edb.docs.pyansys.com/version/version/stable/user_guide/index.html): Describes how to
174
+ use PyEDB.
175
+ - [API reference](https://edb.docs.pyansys.com/version/version/stable/api/index.html): Provides API member descriptions
176
+ and usage examples.
177
+ - [Examples](https://edb.docs.pyansys.com/version/version/stable/examples/index.html): Provides examples showing
178
+ end-to-end workflows for using PyEDB.
179
+ - [Contribute](https://edb.docs.pyansys.com/version/version/stable/contribute.html): Describes how to install
180
+ PyEDB in developer mode and how to contribute to this PyAnsys library.
181
+
182
+ In the upper right corner of the documentation's title bar, there is an option
183
+ for switching from viewing the documentation for the latest stable release
184
+ to viewing the documentation for the development version or previously
185
+ released versions.
186
+
187
+ On the [PyEDB Issues](https://github.com/ansys/pyedb/issues) page, you can
188
+ create issues to report bugs and request new features. On the
189
+ [PyEDB Discussions](https://github.com/ansys/pyedb/discussions) page or the
190
+ [Discussions](https://discuss.ansys.com/) page on the Ansys Developer portal,
191
+ you can post questions, share ideas, and get community feedback.
192
+
193
+ To reach the project support team, email [pyansys.core@ansys.com](mailto:pyansys.core@ansys.com).
194
+
195
+ ## License
196
+
197
+ PyEDB is licensed under the [MIT License](https://github.com/ansys/pyedb/blob/main/LICENSE).
198
+
199
+ PyEDB makes no commercial claim over Ansys whatsoever. This library extends the
200
+ functionality of EDB by adding a Python interface to PyEDB-Core without changing the
201
+ core behavior or license of the original software. The use of PyEDB requires a
202
+ legally licensed local copy of AEDT.
203
+
204
+ To get a copy of AEDT, see the [Ansys Electronics](https://www.ansys.com/products/electronics)
205
+ page on the Ansys website.
206
+
207
+ <p style="text-align: right;"> <a href="#readme-top">back to top</a> </p>
208
+
pyedb-0.2.0/README.md ADDED
@@ -0,0 +1,99 @@
1
+ <!-- -->
2
+ <a name="readme-top"></a>
3
+ <!--
4
+ *** PyEDB README
5
+ -->
6
+
7
+
8
+ # PyEDB
9
+
10
+ [![PyAnsys](https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC)](https://docs.pyansys.com/)
11
+ [![PythonVersion](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/)
12
+ [![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
13
+
14
+ ## What is PyEDB?
15
+
16
+ PyEDB is Python client library for processing complex and large layout designs in the
17
+ Ansys Electronics Database (EDB) format, which stores information describing designs for
18
+ [Ansys Electronics Desktop](https://www.ansys.com/products/electronics) (AEDT).
19
+
20
+ While you can also use the [PyEDB-Core](https://github.com/ansys/pyedb-core) API to automate EDB workflows,
21
+ using it requires a deep comprehension of the EDB architecture and class inheritances, resulting in
22
+ a learning curve not always compatible with daily work loads.
23
+
24
+ To speed up EDB adoption and improve user experience, PyEDB provides high-level classes that call
25
+ the PyEDB-Core API. Thanks to PyEDB's application-oriented architecture, you can start using EDB
26
+ faster and easier.
27
+
28
+ ## About PyEDB
29
+
30
+ PyEDB is part of the larger [PyAnsys](https://docs.pyansys.com "PyAnsys") effort to facilitate the use
31
+ of Ansys technologies directly from Python. It is intended to consolidate and extend all existing
32
+ functionalities around scripting for EDB to allow reuse of existing code, sharing of best practices,
33
+ and increased collaboration.
34
+
35
+ PyEDB includes functionality for interacting with Ansys electromagnetic simulators: : HFSS,
36
+ HFSS 3D Layout, Icepak, Maxwell, Q3D, and SIwave.
37
+
38
+ ## What is EDB?
39
+
40
+ EDB provides a proprietary database file format (AEDB) for efficient and fast layout design
41
+ handling and processing for building ready-to-solve projects. EDB addresses signal integrity
42
+ (SI), power integrity (PI-DC), and electro-thermal work flows. You can import an AEDB file
43
+ into AEDT to modify the layout, assign materials, and define ports, simulations, and constraints.
44
+ You can then launch any of the Ansys electromagnetic simulators.
45
+
46
+ EDB runs as a standalone API, which means that you don't need to open a user interface (UI).
47
+ Because EDB opens the ``aedb`` folder for directly querying and manipulating layout design in
48
+ memory, it provides the fastest and most efficient way to handle a large and complex layout.
49
+
50
+ You can also parse an AEDB file from a command line in batch in an Ansys electromagnetic simulator
51
+ like HFSS or SIwave. Thus, you can deploy completely non-graphical flows, from layout
52
+ translation through simulatiom results.
53
+
54
+ Additionally, you can use PyAEDT to import an AEDB file into AEDT to view a project,
55
+ combine 3D designs, or perform simulation postprocessing. EDB also supports 3D component models.
56
+
57
+ ## Documentation and issues
58
+
59
+ Documentation for the latest stable release of PyEDB is hosted at
60
+ [PyEDB documentation](https://edb.docs.pyansys.com/version/stable/index.html).
61
+ The documentation has five sections:
62
+
63
+ - [Getting started](https://edb.docs.pyansys.com/version/version/stable/getting_started/index.html): Describes
64
+ how to install PyEDB in user mode.
65
+ - [User guide](https://edb.docs.pyansys.com/version/version/stable/user_guide/index.html): Describes how to
66
+ use PyEDB.
67
+ - [API reference](https://edb.docs.pyansys.com/version/version/stable/api/index.html): Provides API member descriptions
68
+ and usage examples.
69
+ - [Examples](https://edb.docs.pyansys.com/version/version/stable/examples/index.html): Provides examples showing
70
+ end-to-end workflows for using PyEDB.
71
+ - [Contribute](https://edb.docs.pyansys.com/version/version/stable/contribute.html): Describes how to install
72
+ PyEDB in developer mode and how to contribute to this PyAnsys library.
73
+
74
+ In the upper right corner of the documentation's title bar, there is an option
75
+ for switching from viewing the documentation for the latest stable release
76
+ to viewing the documentation for the development version or previously
77
+ released versions.
78
+
79
+ On the [PyEDB Issues](https://github.com/ansys/pyedb/issues) page, you can
80
+ create issues to report bugs and request new features. On the
81
+ [PyEDB Discussions](https://github.com/ansys/pyedb/discussions) page or the
82
+ [Discussions](https://discuss.ansys.com/) page on the Ansys Developer portal,
83
+ you can post questions, share ideas, and get community feedback.
84
+
85
+ To reach the project support team, email [pyansys.core@ansys.com](mailto:pyansys.core@ansys.com).
86
+
87
+ ## License
88
+
89
+ PyEDB is licensed under the [MIT License](https://github.com/ansys/pyedb/blob/main/LICENSE).
90
+
91
+ PyEDB makes no commercial claim over Ansys whatsoever. This library extends the
92
+ functionality of EDB by adding a Python interface to PyEDB-Core without changing the
93
+ core behavior or license of the original software. The use of PyEDB requires a
94
+ legally licensed local copy of AEDT.
95
+
96
+ To get a copy of AEDT, see the [Ansys Electronics](https://www.ansys.com/products/electronics)
97
+ page on the Ansys website.
98
+
99
+ <p style="text-align: right;"> <a href="#readme-top">back to top</a> </p>
@@ -0,0 +1,195 @@
1
+ [build-system]
2
+ requires = ["flit_core >=3.2,<4"]
3
+ build-backend = "flit_core.buildapi"
4
+
5
+
6
+ [project]
7
+ name = "pyedb"
8
+ dynamic = ["version"]
9
+ description = "Higher-Level Pythonic Ansys Electronics Data Base"
10
+ readme = "README.md"
11
+ requires-python = ">=3.8,<4"
12
+ license = {file = "LICENSE"}
13
+ authors = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
14
+ maintainers = [{name = "PyEDB developers", email = "simon.vandenbrouck@ansys.com"}]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Science/Research",
18
+ "Topic :: Scientific/Engineering :: Information Analysis",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Operating System :: OS Independent",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ ]
25
+
26
+ dependencies = [
27
+ "cffi == 1.15.1;platform_system=='Linux' and python_version == '3.7'",
28
+ "cffi == 1.16.0;platform_system=='Linux' and python_version > '3.7'",
29
+ "pywin32 >= 303;platform_system=='Windows'",
30
+ "ansys-pythonnet >= 3.1.0rc3",
31
+ "rpyc==5.3.1",
32
+ "psutil",
33
+ "dotnetcore2 ==3.1.23;platform_system=='Linux'",
34
+ ]
35
+
36
+ [project.optional-dependencies]
37
+ tests = [
38
+ "ipython==8.13.0; python_version < '3.9'",
39
+ "ipython==8.17.2; python_version >= '3.9'",
40
+ "imageio==2.31.5",
41
+ "joblib==1.3.2",
42
+ "matplotlib==3.5.3; python_version == '3.7'",
43
+ "matplotlib==3.7.3; python_version == '3.8'",
44
+ "matplotlib==3.8.2; python_version > '3.8'",
45
+ "numpy==1.21.6; python_version <= '3.9'",
46
+ "numpy==1.26.0; python_version > '3.9'",
47
+ "mock",
48
+ "openpyxl==3.1.2",
49
+ "osmnx",
50
+ "pandas==1.3.5; python_version == '3.7'",
51
+ "pandas==2.0.3; python_version == '3.8'",
52
+ "pandas==2.1.1; python_version > '3.9'",
53
+ "pytest==7.4.3",
54
+ "pytest-cov==4.1.0",
55
+ "pytest-xdist==3.3.1",
56
+ "pyvista==0.38.0; python_version <= '3.7'",
57
+ "pyvista==0.42.2; python_version > '3.7'",
58
+ "scikit-learn==1.3.0; python_version == '3.7'",
59
+ "scikit-learn==1.3.1; python_version > '3.7'",
60
+ "scikit-rf==0.31.0",
61
+ "SRTM.py",
62
+ "utm",
63
+ ]
64
+ doc = [
65
+ "ansys-sphinx-theme==0.13.1",
66
+ "imageio==2.31.5",
67
+ "imageio-ffmpeg==0.4.9",
68
+ "ipython==8.13.0; python_version < '3.9'",
69
+ "ipython==8.17.2; python_version >= '3.9'",
70
+ "ipywidgets==8.1.1",
71
+ "joblib==1.3.2",
72
+ "jupyterlab==4.0.6",
73
+ "matplotlib==3.5.3; python_version == '3.7'",
74
+ "matplotlib==3.7.3; python_version == '3.8'",
75
+ "matplotlib==3.8.2; python_version > '3.8'",
76
+ "nbsphinx==0.9.3",
77
+ "numpydoc==1.5.0; python_version == '3.7'",
78
+ "numpydoc==1.6.0; python_version > '3.7'",
79
+ "osmnx",
80
+ "pypandoc==1.11",
81
+ "pytest-sphinx==0.5.0",
82
+ "pyvista==0.42.2; python_version > '3.7'",
83
+ "pyvista==0.38.0; python_version <= '3.7'",
84
+ "recommonmark==0.7.1",
85
+ "scikit-learn==1.3.0; python_version == '3.7'",
86
+ "scikit-learn==1.3.1; python_version > '3.7'",
87
+ "Sphinx==7.1.2; python_version <= '3.9'",
88
+ "Sphinx==7.2.6; python_version >= '3.9'",
89
+ "sphinx-autobuild==2021.3.14",
90
+ "sphinx-autodoc-typehints==1.24.0",
91
+ "sphinx-copybutton==0.5.2",
92
+ "sphinx-gallery==0.14.0",
93
+ "sphinx-notfound-page==1.0.0",
94
+ "sphinxcontrib-websupport==1.2.4; python_version <= '3.9'",
95
+ "sphinxcontrib-websupport==1.2.5; python_version <= '3.7'",
96
+ "SRTM.py",
97
+ "utm",
98
+ "scikit-rf",
99
+ "openpyxl==3.1.2",
100
+ "sphinx_design",
101
+ "sphinx_jinja",
102
+ ]
103
+ full = [
104
+ "imageio",
105
+ "matplotlib==3.5.3; python_version == '3.7'",
106
+ "matplotlib==3.7.3; python_version == '3.8'",
107
+ "matplotlib==3.8.2; python_version > '3.8'",
108
+ "numpy==1.21.6; python_version <= '3.9'",
109
+ "numpy==1.26.0; python_version > '3.9'",
110
+ "pandas==1.3.5; python_version == '3.7'",
111
+ "pandas==2.0.3; python_version == '3.9'",
112
+ "pandas==2.1.1; python_version > '3.9'",
113
+ "osmnx",
114
+ "pyvista==0.42.2; python_version > '3.7'",
115
+ "pyvista==0.38.0; python_version <= '3.7'",
116
+ "vtk==9.2.6",
117
+ "SRTM.py",
118
+ "utm",
119
+ "scikit-rf",
120
+ "openpyxl==3.1.2",
121
+ ]
122
+ grpc = [
123
+ "ansys-edb-core"
124
+ ]
125
+
126
+ [tool.flit.module]
127
+ name = "pyedb"
128
+
129
+ # TODO: update once the repo is public
130
+ # [project.urls]
131
+ # Bugs = "https://github.com/ansys/pyedb/issues"
132
+ # Documentation = "https://aedt.docs.pyansys.com"
133
+ # Source = "https://github.com/ansys/pyedb"
134
+ # Discussions = "https://github.com/ansys/pyedb/discussions"
135
+ # Releases = "https://github.com/ansys/pyedb/releases"
136
+
137
+ [tool.black]
138
+ line-length = 88
139
+
140
+ [tool.isort]
141
+ profile = "black"
142
+ force_sort_within_sections = true
143
+ default_section = "THIRDPARTY"
144
+ src_paths = ["doc", "src", "tests"]
145
+
146
+ [tool.codespell]
147
+ skip = '*.pyc,*.txt,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,*.a3dcomp,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,./doc/source/examples/*,*cover,*.dat,*.mac,*.cdb,*.CDB,build,./factory/*,PKG-INFO,*.mypy_cache/*,./_unused/*'
148
+ ignore-words = "doc/styles/Vocab/ANSYS/accept.txt"
149
+ ignore-words-list = "renabled, sie, mot"
150
+ enable-colors = true
151
+
152
+ [tool.coverage.run]
153
+ relative_files = true
154
+ source = ["pyedb"]
155
+
156
+ [tool.coverage.report]
157
+ show_missing = true
158
+
159
+ [tool.pytest.ini_options]
160
+ minversion = "7.1"
161
+ xfail_strict = false
162
+ filterwarnings = [
163
+ "ignore::DeprecationWarning",
164
+ ]
165
+ markers = [
166
+ "legacy: mark test as related to the legacy API.",
167
+ "unit: mark test as an unit test.",
168
+ "integration: mark test as an integration test.",
169
+ "system: mark test as a system test.",
170
+ "slow: mark test as slow.",
171
+ "no_licence: mark test that do not need a licence.",
172
+ ]
173
+ testpaths = "tests"
174
+ #addopts = "-ra --cov=src/pyedb --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term -vv"
175
+
176
+ [tool.numpydoc_validation]
177
+ checks = [
178
+ "GL06", # Found unknown section
179
+ "GL07", # Sections are in the wrong order.
180
+ "GL08", # The object does not have a docstring
181
+ "GL09", # Deprecation warning should precede extended summary
182
+ "GL10", # reST directives {directives} must be followed by two colons
183
+ # Return
184
+ "RT04", # Return value description should start with a capital letter"
185
+ "RT05", # Return value description should finish with "."
186
+ # Summary
187
+ "SS01", # No summary found
188
+ "SS02", # Summary does not start with a capital letter
189
+ "SS03", # Summary does not end with a period
190
+ "SS04", # Summary contains heading whitespaces
191
+ "SS05", # Summary must start with infinitive verb, not third person
192
+ # Parameters
193
+ "PR10", # Parameter "{param_name}" requires a space before the colon
194
+ # separating the parameter name and type",
195
+ ]
@@ -0,0 +1,17 @@
1
+ # -*- coding: utf-8 -*-
2
+ import os
3
+
4
+ if os.name == "nt":
5
+ os.environ["PYTHONMALLOC"] = "malloc"
6
+
7
+ pyedb_path = os.path.dirname(__file__)
8
+
9
+ __version__ = "0.2.0"
10
+
11
+ version = __version__
12
+
13
+ # By default we use pyedb legacy implementation
14
+ if "PYEDB_USE_DOTNET" not in os.environ:
15
+ os.environ["PYEDB_USE_DOTNET"] = "0"
16
+
17
+ from pyedb.generic.design_types import Edb
File without changes