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

Files changed (37) hide show
  1. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/PKG-INFO +3 -2
  2. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/pyproject.toml +3 -2
  3. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +9 -1
  4. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/LICENSE +0 -0
  5. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/README.rst +0 -0
  6. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/__init__.py +0 -0
  7. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/common.py +0 -0
  8. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
  9. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/dockerlauncher.py +0 -0
  10. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/dvs.py +0 -0
  11. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/enscontext.py +0 -0
  12. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
  13. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/ensight_grpc.py +0 -0
  14. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/ensobj.py +0 -0
  15. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/launch_ensight.py +0 -0
  16. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/launcher.py +0 -0
  17. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/libuserd.py +0 -0
  18. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/listobj.py +0 -0
  19. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/locallauncher.py +0 -0
  20. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/py.typed +0 -0
  21. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/renderable.py +0 -0
  22. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/session.py +0 -0
  23. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
  24. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/__init__.py +0 -0
  25. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/adr.py +0 -0
  26. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/dsg_server.py +0 -0
  27. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/export.py +0 -0
  28. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/omniverse.py +0 -0
  29. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/omniverse_cli.py +0 -0
  30. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/omniverse_glb_server.py +0 -0
  31. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/parts.py +0 -0
  32. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/query.py +0 -0
  33. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/readers.py +0 -0
  34. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
  35. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/support.py +0 -0
  36. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/src/ansys/pyensight/core/utils/variables.py +0 -0
  37. {ansys_pyensight_core-0.9.17 → ansys_pyensight_core-0.10.0}/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.17
3
+ Version: 0.10.0
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>
@@ -14,6 +14,7 @@ Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
17
18
  License-File: LICENSE
18
19
  Requires-Dist: importlib-metadata>=4.0; python_version<='3.8'
19
20
  Requires-Dist: ansys-api-pyensight==0.4.7
@@ -24,7 +25,7 @@ Requires-Dist: numpy>=1.21.0,<3
24
25
  Requires-Dist: Pillow>=9.3.0
25
26
  Requires-Dist: pypng>=0.0.20
26
27
  Requires-Dist: psutil>=5.9.2
27
- Requires-Dist: usd-core==24.8
28
+ Requires-Dist: usd-core==24.8; python_version < '3.13'
28
29
  Requires-Dist: pygltflib>=1.16.2
29
30
  Requires-Dist: build>=0.10.0 ; extra == "dev"
30
31
  Requires-Dist: bump2version>=1.0.1 ; extra == "dev"
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
6
6
 
7
7
  [project]
8
8
  name = "ansys-pyensight-core"
9
- version = "0.9.17"
9
+ version = "0.10.0"
10
10
  description = "A python wrapper for Ansys EnSight"
11
11
  readme = "README.rst"
12
12
  requires-python = ">=3.10,<3.14"
@@ -22,6 +22,7 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.10",
23
23
  "Programming Language :: Python :: 3.11",
24
24
  "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
25
26
  ]
26
27
 
27
28
  dependencies = [
@@ -34,7 +35,7 @@ dependencies = [
34
35
  "Pillow>=9.3.0",
35
36
  "pypng>=0.0.20",
36
37
  "psutil>=5.9.2",
37
- "usd-core==24.8",
38
+ "usd-core==24.8; python_version < '3.13'",
38
39
  "pygltflib>=1.16.2"
39
40
  ]
40
41
 
@@ -27,13 +27,21 @@ import logging
27
27
  import math
28
28
  import os
29
29
  import shutil
30
+ import sys
30
31
  import tempfile
31
32
  from typing import Any, Dict, List, Optional
33
+ import warnings
32
34
 
33
35
  from ansys.pyensight.core.utils.dsg_server import Part, UpdateHandler
34
36
  import numpy
35
37
  import png
36
- from pxr import Gf, Kind, Sdf, Usd, UsdGeom, UsdLux, UsdShade
38
+
39
+ try:
40
+ from pxr import Gf, Kind, Sdf, Usd, UsdGeom, UsdLux, UsdShade
41
+ except ModuleNotFoundError:
42
+ if sys.version_info.minor >= 13:
43
+ warnings.warn("USD Export not supported for Python >= 3.13")
44
+ sys.exit(1)
37
45
 
38
46
 
39
47
  class OmniverseWrapper(object):