ansys-edb-core 0.3.2__tar.gz → 0.3.2.dev0__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 (147) hide show
  1. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/PKG-INFO +1 -1
  2. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/pyproject.toml +1 -1
  3. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/session.py +31 -22
  4. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/LICENSE +0 -0
  5. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/README.rst +0 -0
  6. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/__init__.py +0 -0
  7. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/database.py +0 -0
  8. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/__init__.py +0 -0
  9. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/bondwire_def.py +0 -0
  10. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/component_def.py +0 -0
  11. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/component_model.py +0 -0
  12. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/component_pin.py +0 -0
  13. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/component_property.py +0 -0
  14. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/dataset_def.py +0 -0
  15. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/debye_model.py +0 -0
  16. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/die_property.py +0 -0
  17. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/dielectric_material_model.py +0 -0
  18. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/djordjecvic_sarkar_model.py +0 -0
  19. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/ic_component_property.py +0 -0
  20. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/io_component_property.py +0 -0
  21. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/material_def.py +0 -0
  22. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/material_property_thermal_modifier.py +0 -0
  23. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/multipole_debye_model.py +0 -0
  24. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/package_def.py +0 -0
  25. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/padstack_def.py +0 -0
  26. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/padstack_def_data.py +0 -0
  27. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/port_property.py +0 -0
  28. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/rlc_component_property.py +0 -0
  29. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/solder_ball_property.py +0 -0
  30. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/definition/technology_def.py +0 -0
  31. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/edb_defs.py +0 -0
  32. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/__init__.py +0 -0
  33. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/arc_data.py +0 -0
  34. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/point3d_data.py +0 -0
  35. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/point_data.py +0 -0
  36. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/polygon_data.py +0 -0
  37. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/r_tree.py +0 -0
  38. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/geometry/triangle3d_data.py +0 -0
  39. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/__init__.py +0 -0
  40. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/cell_instance.py +0 -0
  41. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/component_group.py +0 -0
  42. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/group.py +0 -0
  43. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/hierarchy_obj.py +0 -0
  44. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/inst_array.py +0 -0
  45. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/layout_component.py +0 -0
  46. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/model.py +0 -0
  47. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/netlist_model.py +0 -0
  48. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/pin_group.py +0 -0
  49. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/pin_pair_model.py +0 -0
  50. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/sparameter_model.py +0 -0
  51. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/spice_model.py +0 -0
  52. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/structure3d.py +0 -0
  53. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/hierarchy/via_group.py +0 -0
  54. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/__init__.py +0 -0
  55. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/base.py +0 -0
  56. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/conn_obj.py +0 -0
  57. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/decorators.py +0 -0
  58. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/edb_logging.py +0 -0
  59. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/exceptions.py +0 -0
  60. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/factory.py +0 -0
  61. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/interceptors.py +0 -0
  62. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/layout_obj.py +0 -0
  63. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/messages.py +0 -0
  64. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/parser.py +0 -0
  65. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/rpc_info.py +0 -0
  66. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/rpc_info_utils.py +0 -0
  67. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/rpc_response_map.py +0 -0
  68. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/shared_memory_transport.py +0 -0
  69. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/utils.py +0 -0
  70. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/inner/variable_server.py +0 -0
  71. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layer/__init__.py +0 -0
  72. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layer/layer.py +0 -0
  73. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layer/layer_collection.py +0 -0
  74. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layer/stackup_layer.py +0 -0
  75. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layer/via_layer.py +0 -0
  76. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout/__init__.py +0 -0
  77. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout/cell.py +0 -0
  78. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout/layout.py +0 -0
  79. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout/mcad_model.py +0 -0
  80. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout/voltage_regulator.py +0 -0
  81. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/__init__.py +0 -0
  82. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_instance.py +0 -0
  83. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_instance_context.py +0 -0
  84. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_obj_instance.py +0 -0
  85. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_obj_instance_2d_geometry.py +0 -0
  86. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_obj_instance_3d_geometry.py +0 -0
  87. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/layout_instance/layout_obj_instance_geometry.py +0 -0
  88. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/net/__init__.py +0 -0
  89. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/net/differential_pair.py +0 -0
  90. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/net/extended_net.py +0 -0
  91. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/net/net.py +0 -0
  92. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/net/net_class.py +0 -0
  93. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/__init__.py +0 -0
  94. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/board_bend_def.py +0 -0
  95. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/bondwire.py +0 -0
  96. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/circle.py +0 -0
  97. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/padstack_instance.py +0 -0
  98. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/path.py +0 -0
  99. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/polygon.py +0 -0
  100. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/primitive.py +0 -0
  101. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/primitive_instance_collection.py +0 -0
  102. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/rectangle.py +0 -0
  103. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/primitive/text.py +0 -0
  104. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/__init__.py +0 -0
  105. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/adaptive_solutions.py +0 -0
  106. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/hfss_pi_simulation_settings.py +0 -0
  107. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/hfss_pi_simulation_setup.py +0 -0
  108. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/hfss_simulation_settings.py +0 -0
  109. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/hfss_simulation_setup.py +0 -0
  110. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/mesh_operation.py +0 -0
  111. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/q3d_simulation_settings.py +0 -0
  112. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/q3d_simulation_setup.py +0 -0
  113. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/raptor_x_simulation_settings.py +0 -0
  114. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/raptor_x_simulation_setup.py +0 -0
  115. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/simulation_settings.py +0 -0
  116. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/simulation_setup.py +0 -0
  117. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_dcir_simulation_settings.py +0 -0
  118. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_dcir_simulation_setup.py +0 -0
  119. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_psi_simulation_settings.py +0 -0
  120. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_psi_simulation_setup.py +0 -0
  121. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_simulation_settings.py +0 -0
  122. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/simulation_setup/siwave_simulation_setup.py +0 -0
  123. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/__init__.py +0 -0
  124. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/bundle_terminal.py +0 -0
  125. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/edge_terminal.py +0 -0
  126. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/padstack_instance_terminal.py +0 -0
  127. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/pin_group_terminal.py +0 -0
  128. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/point_terminal.py +0 -0
  129. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/terminal.py +0 -0
  130. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/terminal_instance.py +0 -0
  131. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/terminal/terminal_instance_terminal.py +0 -0
  132. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/typing/__init__.py +0 -0
  133. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/__init__.py +0 -0
  134. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/conversions.py +0 -0
  135. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/edb_error_manager.py +0 -0
  136. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/heat_sink.py +0 -0
  137. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/hfss_extent_info.py +0 -0
  138. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/io_manager.py +0 -0
  139. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/layer_map.py +0 -0
  140. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/material_property_thermal_modifier_params.py +0 -0
  141. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/port_post_processing_prop.py +0 -0
  142. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/rlc.py +0 -0
  143. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/temperature_settings.py +0 -0
  144. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/touchstone_export_settings.py +0 -0
  145. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/transform.py +0 -0
  146. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/transform3d.py +0 -0
  147. {ansys_edb_core-0.3.2 → ansys_edb_core-0.3.2.dev0}/src/ansys/edb/core/utility/value.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-edb-core
3
- Version: 0.3.2
3
+ Version: 0.3.2.dev0
4
4
  Summary: A python wrapper for Ansys Edb service
5
5
  Author-email: "ANSYS, Inc." <pyansys.support@ansys.com>
6
6
  Maintainer-email: PyAnsys developers <pyansys.maintainers@ansys.com>
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
  [project]
6
6
  # Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
7
7
  name = "ansys-edb-core"
8
- version = "0.3.2"
8
+ version = "0.3.2.dev0"
9
9
  description = "A python wrapper for Ansys Edb service"
10
10
  readme = "README.rst"
11
11
  requires-python = ">=3.10"
@@ -217,6 +217,7 @@ class _Session:
217
217
  port_num: int,
218
218
  ansys_em_root: str,
219
219
  dump_traffic_log: bool,
220
+ use_shared_memory_ipc: bool = False,
220
221
  ):
221
222
  if MOD.current_session is not None:
222
223
  raise EDBSessionException(ErrorCode.STARTUP_MULTI_SESSIONS)
@@ -232,16 +233,9 @@ class _Session:
232
233
  self.rpc_counter = defaultdict(int) if dump_traffic_log else None
233
234
  self._shm_transport = None
234
235
 
235
- # Shared memory is attempted automatically for local launches.
236
- # The flag is set here and may be cleared in connect() if the
237
- # server turns out to be an older version without shm support.
238
- # Setting ANSYS_EDB_CORE_DISABLE_SHARED_MEMORY forces legacy gRPC
239
- # mode even on localhost (e.g. when connecting to an older server).
240
- self.shared_memory = (
241
- self.is_local()
242
- and ansys_em_root is not None
243
- and os.environ.get("ANSYS_EDB_CORE_DISABLE_SHARED_MEMORY", "0") != "1"
244
- )
236
+ # Shared memory is only used when explicitly requested via
237
+ # use_shared_memory_ipc=True and a local server is being launched.
238
+ self.shared_memory = use_shared_memory_ipc and self.is_local() and ansys_em_root is not None
245
239
  if self.shared_memory:
246
240
  self._shm_name = f"edb_shm_{os.getpid()}"
247
241
 
@@ -670,13 +664,10 @@ def launch_session(
670
664
  ansys_em_root: str,
671
665
  port_num: int | None = None,
672
666
  dump_traffic_log: bool = False,
667
+ use_shared_memory_ipc: bool = False,
673
668
  ):
674
669
  r"""Launch a local session to an EDB API server.
675
670
 
676
- Shared-memory IPC is used automatically when launching a local
677
- server. If the installed server does not support shared memory,
678
- the session falls back to standard gRPC communication transparently.
679
-
680
671
  The session must be manually disconnected after use by calling session.disconnect()
681
672
 
682
673
  Parameters
@@ -688,6 +679,12 @@ def launch_session(
688
679
  is selected.
689
680
  dump_traffic_log : bool, default: False
690
681
  Flag indicating if the network traffic log should be dumped when the session is disconnected.
682
+ use_shared_memory_ipc : bool, default: False
683
+ Flag indicating if shared-memory IPC should be used for client/server communication.
684
+ When ``True``, data is transferred via a shared memory region instead of over the network,
685
+ which can significantly boost performance for large data transfers.
686
+ If the installed server does not support shared memory, the session falls back to standard
687
+ gRPC communication automatically.
691
688
 
692
689
  Examples
693
690
  --------
@@ -700,7 +697,9 @@ def launch_session(
700
697
  ip_address = None # remote launch is not supported yet
701
698
 
702
699
  try:
703
- _ensure_session(ansys_em_root, port_num, ip_address, dump_traffic_log)
700
+ _ensure_session(
701
+ ansys_em_root, port_num, ip_address, dump_traffic_log, use_shared_memory_ipc
702
+ )
704
703
  return MOD.current_session
705
704
  except Exception as e: # noqa
706
705
  if MOD.current_session is not None:
@@ -714,13 +713,10 @@ def session(
714
713
  port_num: int | None = None,
715
714
  ip_address: str | None = None,
716
715
  dump_traffic_log: bool = False,
716
+ use_shared_memory_ipc: bool = False,
717
717
  ):
718
718
  r"""Launch a local session to an EDB API server in a context manager.
719
719
 
720
- Shared-memory IPC is used automatically when launching a local
721
- server. If the installed server does not support shared memory,
722
- the session falls back to standard gRPC communication transparently.
723
-
724
720
  Parameters
725
721
  ----------
726
722
  ansys_em_root : str
@@ -736,7 +732,13 @@ def session(
736
732
  This parameter is currently not supported. In future releases, this parameter is to
737
733
  support remotely running the API on another machine.
738
734
  dump_traffic_log : bool, default: False
739
- Flag indicating if the network traffic log should be dumped when the session is disconnected
735
+ Flag indicating if the network traffic log should be dumped when the session is disconnected.
736
+ use_shared_memory_ipc : bool, default: False
737
+ Flag indicating if shared-memory IPC should be used for client/server communication.
738
+ When ``True``, data is transferred via a shared memory region instead of over the network,
739
+ which can significantly boost performance for large data transfers.
740
+ If the installed server does not support shared memory, the session falls back to standard
741
+ gRPC communication automatically.
740
742
 
741
743
  Examples
742
744
  --------
@@ -746,7 +748,9 @@ def session(
746
748
  >>> # program goes here
747
749
  """
748
750
  try:
749
- _ensure_session(ansys_em_root, port_num, ip_address, dump_traffic_log)
751
+ _ensure_session(
752
+ ansys_em_root, port_num, ip_address, dump_traffic_log, use_shared_memory_ipc
753
+ )
750
754
  yield
751
755
  except EDBSessionException:
752
756
  raise
@@ -812,6 +816,7 @@ def _ensure_session(
812
816
  port_num: int,
813
817
  ip_address: str | None,
814
818
  dump_traffic_log: bool,
819
+ use_shared_memory_ipc: bool = False,
815
820
  ):
816
821
  """Check for a running local session and create one if it doesn't exist.
817
822
 
@@ -825,12 +830,16 @@ def _ensure_session(
825
830
  IP address where the server executable file is running.
826
831
  dump_traffic_log : bool
827
832
  Flag indicating if the network traffic log should be dumped when the session is disconnected.
833
+ use_shared_memory_ipc : bool, default: False
834
+ Flag indicating if shared-memory IPC should be used for client/server communication.
828
835
  """
829
836
  if MOD.current_session is not None:
830
837
  if (MOD.current_session.port_num) != port_num:
831
838
  raise EDBSessionException(ErrorCode.STARTUP_MULTI_SESSIONS)
832
839
  else:
833
- MOD.current_session = _Session(ip_address, port_num, ansys_em_root, dump_traffic_log)
840
+ MOD.current_session = _Session(
841
+ ip_address, port_num, ansys_em_root, dump_traffic_log, use_shared_memory_ipc
842
+ )
834
843
  MOD.current_session.connect()
835
844
 
836
845