Skip to content

Commit cd953ee

Browse files
svandenb-devmaxcapodi78SMoraisAnsysdrewm102
authored
FEAT: Grpc transition speed optimization (#1010)
* test #47 done * test #48 done * test #49 done * test #49 done * test #50 done * test #51 done * test #52 done * test #53 done * test #54 done * test #55 done * test #56 done * test #57 done * test #58 done * test #59 done * test #60 done * test #61 done * test #62 done * test #62 done * test #63 done * test #64 done * test #65 done * test #66 done * test #67 done * test #68 done * test #69 done * test #70 done * test #71 done * test #72 done * test #73 done * test #74 done * test #75 done * test #75 done * test #76 done * test #77 done * test #78 done * test #79 done * test #80 done * test #81 done * test #82 done * test #83 done * test #83 done * test #84 done * test #85 done * test #86 done * test #87 done * test #88 done * test #89 done * test #90 done * test #91 done * test #92 done * test #93 done * test #94 done * test #95 done * test #96 done * test #96 done * material done * test #97 * test #98 * test #98 * test #100 * test #101 * rpc init * rpc server * rpc server * rpc server * rpc server * added new method to plot * test #101 * layout plot updated * refactor naming * test 104 * Added new common class and refactored Plot method * Added new common class and refactored Plot method * Added new common class and refactored Plot method * Fixed UT * test 105 * test 110 * test #112 * test #113 * test #114 * test #ipc * ipc grpc * added requirements * modeler * added requirements * added requirements * REFACTOR: Material implementation * test modeler duplicate * test modeler #2 * test modeler #arbitrary waveports * test modeler #arbitrary waveports * test modeler #4 * test modeler #5 * test modeler #6 * test modeler #7 * test materials completed * test materials completed * test materials completed * mesh op fix * custom cutout 0 fixed * component * test #110 * test #111 * test #112 * test #113 * test #114 * test #115 * test #116 * test #117 * test #118 * test #119 * test #120 * test #121 * test #120 * test #121 * test #130 * test #131 * test #132 * test #133 * test #134 * test #134 * new feature via clustering * edbcore doc removing * edbcore doc removing * bug fix * grpc * grpc * Fixed grpc layer construction * grpc * grpc * grpc * edb caching * revert * revert * ipc caching * ipc caching * ipc caching * test modeler * edb grpc * doc string * renaming EdbGrpc to Edb * doc string * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring * doc refactoring all ref pass * doc refactoring all ref pass * doc refactoring all ref pass * doc refactoring all ref pass * doc refactoring all ref pass * doc refactoring all ref pass * doc refactoring * bundle terminal docstring * terminal docstring * terminal docstring * def docstring * def docstring * material docstring * docstring * geometry docstring * component.py docstring * docstring * docstring * doc string * doc string * doc string * ports doc string * primitive.py doc string * simulation_setup.py doc string * utility.py doc string * example repo doc string * removing caching * rpc_session.py * grpc optim speed * fixes for test_edb.py * fixes for test_edb.py part 2 * adding grpc tag * doc removed * doc removed * .NET doc recovered * cicd * grpc markers * grpc markers * grpc markers * grpc markers * grpc markers * doc fix * pytest mark * pytest mark * pytest mark * cicd * primitive aedt name --------- Co-authored-by: maxcapodi78 <Shark78> Co-authored-by: mcapodif <[email protected]> Co-authored-by: Sebastien Morais <[email protected]> Co-authored-by: dmiller <[email protected]>
1 parent bf6bed1 commit cd953ee

File tree

276 files changed

+46259
-894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+46259
-894
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ testing:
2020

2121
grpc-transition:
2222
- changed-files:
23-
- any-glob-to-any-file: ['src/pyedb/dotnet/edb_core/*',]
23+
- any-glob-to-any-file: ['src/pyedb/dotnet/database/*',]

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
timeout_minutes: 15
110110
command: |
111111
. .venv\Scripts\Activate.ps1
112-
pytest -m "legacy" -n auto --dist loadfile -v --cov
112+
pytest tests/legacy -n auto --dist loadfile -v --cov
113113
114114
- name: "Create coverage files"
115115
run: |
@@ -179,7 +179,7 @@ jobs:
179179
command: |
180180
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT251 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
181181
. .venv/bin/activate
182-
xvfb-run pytest -m "legacy" -n auto --dist loadfile -v --cov
182+
xvfb-run pytest tests/legacy -n auto --dist loadfile -v --cov
183183
184184
- name: "Create coverage files"
185185
run: |

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ coverage:
1515
ignore:
1616
- "examples" # ignore folders and all its contents
1717
- "tests" # ignore folders and all its contents
18-
- "src/pyedb/legacy/edb_core/siwave.py" # ignore folders and all its contents
18+
- "src/pyedb/legacy/database/siwave.py" # ignore folders and all its contents
1919
- "src/pyedb/misc/*.py" # ignore folders and all its contents

doc/source/api/CoreEdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This section lists the core EDB modules for reading and writing information
3131
to AEDB files.
3232

3333

34-
.. currentmodule:: pyedb.dotnet.edb_core
34+
.. currentmodule:: pyedb.dotnet.database
3535

3636
.. autosummary::
3737
:toctree: _autosummary

doc/source/api/SimulationConfigurationEdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Simulation configuration
33
These classes are the containers of simulation configuration constructors for the EDB.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.simulation_configuration
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.simulation_configuration
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/XmlControlFile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ XML control file
33
Convert a technology file to EDB control file.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.control_file
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.control_file
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/edb_data/EdbValue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ EDB value
33
Class managing EDB Value.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.edbvalue
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.edbvalue
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/edb_data/HfssExtentInfo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HFSS extent info
33
These class is the containers of HFSS Extent.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.hfss_extent_info
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.hfss_extent_info
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/edb_data/LayerData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These classes are the containers of the layer and stackup manager of the EDB API
1717
...
1818
1919
20-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.layer_data
20+
.. currentmodule:: pyedb.dotnet.database.edb_data.layer_data
2121

2222
.. autosummary::
2323
:toctree: _autosummary

doc/source/api/edb_data/NetData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Net properties
66
The following class is the container of data management for nets, extended nets and differential pairs.
77

88

9-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.nets_data
9+
.. currentmodule:: pyedb.dotnet.database.edb_data.nets_data
1010

1111
.. autosummary::
1212
:toctree: _autosummary

doc/source/api/edb_data/PadstackData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Instances and definitions
66
These classes are the containers of data management for padstacks instances and padstack definitions.
77

88

9-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.padstacks_data
9+
.. currentmodule:: pyedb.dotnet.database.edb_data.padstacks_data
1010

1111
.. autosummary::
1212
:toctree: _autosummary

doc/source/api/edb_data/PortsData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These classes are the containers of ports methods of the EDB for both HFSS and S
1616
...
1717
1818
19-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.ports
19+
.. currentmodule:: pyedb.dotnet.database.edb_data.ports
2020

2121
.. autosummary::
2222
:toctree: _autosummary

doc/source/api/edb_data/PrimitivesData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Primitives properties
88
---------------------
99
These classes are the containers of data management for primitives and arcs.
1010

11-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.primitives_data
11+
.. currentmodule:: pyedb.dotnet.database.edb_data.primitives_data
1212

1313
.. autosummary::
1414
:toctree: _autosummary

doc/source/api/edb_data/RaptorXSimulationSetup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RaptorX simulation setup
33
These classes are the containers of RaptorX simulation setup.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.raptor_x_simulation_setup_data
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.raptor_x_simulation_setup_data
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/edb_data/SourceData.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These classes are the containers of sources methods of the EDB for both HFSS and
1414
...
1515
1616
17-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.sources
17+
.. currentmodule:: pyedb.dotnet.database.edb_data.sources
1818

1919
.. autosummary::
2020
:toctree: _autosummary

doc/source/api/edb_data/Utilities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ EDB utilities
33
Class managing EDB utilities.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.utilities
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.utilities
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/edb_data/Variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Variables
33
Class managing EDB Variables.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.edb_data.variables
6+
.. currentmodule:: pyedb.dotnet.database.edb_data.variables
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/adaptive_frequency_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Adaptive frequency data
33
This class is the container of HFSS adaptive frequency data.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.adaptive_frequency_data
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.adaptive_frequency_data
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/mesh_operation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Mesh operation
33
This class is the container of HFSS mesh operation.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.mesh_operation
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.mesh_operation
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HFSS simulation setup settings
33
These classes are the containers of HFSS simulation setup settings.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.settings
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.settings
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/sim_setup_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Simulation setup info
33
This class is the container of simulation setup info.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.sim_setup_info
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.sim_setup_info
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/simulation_settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Simulation settings
33
These classes are the containers of simulation settings.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.simulation_settings
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.simulation_settings
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/siw_dc_ir_settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SIwave DC-IR settings
33
This class is the container of SIwave DC-IR settings.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.siw_dc_ir_settings
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.siw_dc_ir_settings
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/data/sweep_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Sweep data
33
This class is the container of sweep data.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.data.sweep_data
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.data.sweep_data
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/sim_setup_data/io/siwave.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SIwave IO
33
This class is the container of SIwave IO.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.sim_setup_data.io.siwave
6+
.. currentmodule:: pyedb.dotnet.database.sim_setup_data.io.siwave
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/utilities/heatsink.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Icepak heat sink
33
This class is the container of Icepak heat sink.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.utilities.heatsink
6+
.. currentmodule:: pyedb.dotnet.database.utilities.heatsink
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/utilities/hfss_simulation_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HFSS simulation setup
33
These classes are the containers of HFSS simulation setup.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.utilities.hfss_simulation_setup
6+
.. currentmodule:: pyedb.dotnet.database.utilities.hfss_simulation_setup
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/utilities/simulation_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Simulation setup
33
This class is the container of simulation setup.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.utilities.simulation_setup
6+
.. currentmodule:: pyedb.dotnet.database.utilities.simulation_setup
77

88
.. autosummary::
99
:toctree: _autosummary

doc/source/api/utilities/siwave_simulation_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SIwave simulation setup
33
These classes are the containers of siwave simulation setup.
44

55

6-
.. currentmodule:: pyedb.dotnet.edb_core.utilities.siwave_simulation_setup
6+
.. currentmodule:: pyedb.dotnet.database.utilities.siwave_simulation_setup
77

88
.. autosummary::
99
:toctree: _autosummary

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ dependencies = [
3434
"pydantic>=2.6.4,<2.11",
3535
"Rtree >= 1.2.0",
3636
"toml == 0.10.2",
37-
"scikit-rf"
37+
"scikit-rf",
38+
"ansys-edb-core",
39+
"ansys-api-edb",
40+
"psutil",
3841
]
3942

4043
[project.optional-dependencies]
@@ -48,7 +51,7 @@ tests = [
4851
"shapely"
4952
]
5053
doc = [
51-
"ansys-sphinx-theme>=0.10.0,<1.1",
54+
"ansys-sphinx-theme>=0.10.0,<1.4",
5255
"imageio>=2.30.0,<2.37",
5356
"ipython>=8.13.0,<8.32",
5457
"jupyterlab>=4.0.0,<4.4",
@@ -115,6 +118,7 @@ filterwarnings = [
115118
]
116119
markers = [
117120
"legacy: mark test as related to the legacy API.",
121+
"grpc: mark test as related to the gRPC API.",
118122
"unit: mark test as an unit test.",
119123
"integration: mark test as an integration test.",
120124
"system: mark test as a system test.",

0 commit comments

Comments
 (0)