ansys-pyensight-core 0.9.15__tar.gz → 0.9.16__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 ansys-pyensight-core might be problematic. Click here for more details.

Files changed (37) hide show
  1. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/PKG-INFO +2 -2
  2. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/pyproject.toml +2 -2
  3. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/dockerlauncher.py +1 -1
  4. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/readers.py +4 -0
  5. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/LICENSE +0 -0
  6. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/README.rst +0 -0
  7. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/__init__.py +0 -0
  8. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/common.py +0 -0
  9. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
  10. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/dvs.py +0 -0
  11. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/enscontext.py +0 -0
  12. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
  13. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/ensight_grpc.py +0 -0
  14. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/ensobj.py +0 -0
  15. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/launch_ensight.py +0 -0
  16. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/launcher.py +0 -0
  17. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/libuserd.py +0 -0
  18. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/listobj.py +0 -0
  19. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/locallauncher.py +0 -0
  20. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/py.typed +0 -0
  21. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/renderable.py +0 -0
  22. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/session.py +0 -0
  23. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
  24. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/__init__.py +0 -0
  25. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/adr.py +0 -0
  26. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/dsg_server.py +0 -0
  27. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/export.py +0 -0
  28. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/omniverse.py +0 -0
  29. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/omniverse_cli.py +0 -0
  30. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +0 -0
  31. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/omniverse_glb_server.py +0 -0
  32. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/parts.py +0 -0
  33. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/query.py +0 -0
  34. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
  35. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/support.py +0 -0
  36. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/variables.py +0 -0
  37. {ansys_pyensight_core-0.9.15 → ansys_pyensight_core-0.9.16}/src/ansys/pyensight/core/utils/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-pyensight-core
3
- Version: 0.9.15
3
+ Version: 0.9.16
4
4
  Summary: A python wrapper for Ansys EnSight
5
5
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
6
  Maintainer-email: "ANSYS, Inc." <pyansys.core@ansys.com>
@@ -55,7 +55,7 @@ Requires-Dist: urllib3==2.3.0 ; extra == "tests"
55
55
  Requires-Dist: requests>=2.28.2 ; extra == "tests"
56
56
  Requires-Dist: docker>=6.1.0 ; extra == "tests"
57
57
  Requires-Dist: pytest-xdist==3.6.1 ; extra == "tests"
58
- Requires-Dist: pytest-rerunfailures~=14.0 ; extra == "tests"
58
+ Requires-Dist: pytest-rerunfailures>=14,<16 ; extra == "tests"
59
59
  Project-URL: Changelog, https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst
60
60
  Project-URL: Documentation, https://ensight.docs.pyansys.com/
61
61
  Project-URL: Homepage, https://github.com/ansys/pyensight
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
6
6
 
7
7
  [project]
8
8
  name = "ansys-pyensight-core"
9
- version = "0.9.15"
9
+ version = "0.9.16"
10
10
  description = "A python wrapper for Ansys EnSight"
11
11
  readme = "README.rst"
12
12
  requires-python = ">=3.10,<3.14"
@@ -56,7 +56,7 @@ tests = [
56
56
  "requests>=2.28.2",
57
57
  "docker>=6.1.0",
58
58
  "pytest-xdist==3.6.1",
59
- "pytest-rerunfailures~=14.0",
59
+ "pytest-rerunfailures>=14,<16",
60
60
  ]
61
61
  doc = [
62
62
  "Sphinx==8.1.3",
@@ -402,7 +402,7 @@ class DockerLauncher(Launcher):
402
402
  cmd += f" --ensight-ws-port {ws_port}"
403
403
  cmd += f" --ensight-session-directory {self._session_directory}"
404
404
  cmd += f" --ensight-secret-key {self._secret_key}"
405
- cmd += "--main-show-gui 'False'"
405
+ cmd += " --main-show-gui 'False'"
406
406
  logging.debug(f"Starting WebUI: {cmd}\n")
407
407
  ret = self._enshell.start_other(cmd, extra_env=container_env_str)
408
408
  if ret[0] != 0: # pragma: no cover
@@ -68,6 +68,7 @@ class DVS:
68
68
  if monitor_new_timesteps:
69
69
  cmd += f'ensight.solution_time.monitor_for_new_steps("{monitor_new_timesteps}")\n'
70
70
  cmd += 'ensight.part.elt_representation("3D_feature_2D_full")\n'
71
+ cmd += 'ensight.data.format("DVS")\n'
71
72
  cmd += 'err = ensight.data.replace("notexisting.dvs")\n'
72
73
  return cmd
73
74
 
@@ -96,6 +97,7 @@ class DVS:
96
97
  cmd += f"{indent}dvsfile.write(f'SERVER_SECURITY_SECRET={secret_key}\\n')\n"
97
98
  cmd += f'ensight.solution_time.monitor_for_new_steps("{monitor_new_timesteps}")\n'
98
99
  cmd += 'ensight.part.elt_representation("3D_feature_2D_full")\n'
100
+ cmd += 'ensight.data.format("DVS")\n'
99
101
  cmd += "ensight.data.replace(path)\n"
100
102
  return cmd
101
103
 
@@ -154,6 +156,7 @@ class DVS:
154
156
  raise RuntimeError(f"Couldn't write allocated DVS port to {filename}")
155
157
  ensight.part.elt_representation("3D_feature_2D_full")
156
158
  ensight.solution_time.monitor_for_new_steps(f"{monitor_new_timesteps}")
159
+ ensight.data.format("DVS")
157
160
  ensight.data.replace(path)
158
161
  else:
159
162
 
@@ -180,6 +183,7 @@ class DVS:
180
183
  ensight.objs.core.CURRENTCASE[0].client_command_callback(dvs_callback)
181
184
  ensight.solution_time.monitor_for_new_steps(f"{monitor_new_timesteps}")
182
185
  ensight.part.elt_representation("3D_feature_2D_full")
186
+ ensight.data.format("DVS")
183
187
  ensight.data.replace("notexisting.dvs")
184
188
 
185
189
  def launch_live_dvs(