ansys-pyensight-core 0.8.11__tar.gz → 0.8.13__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.8.11 → ansys_pyensight_core-0.8.13}/PKG-INFO +11 -9
  2. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/pyproject.toml +191 -189
  3. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/common.py +216 -216
  4. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/deep_pixel_view.html +10 -10
  5. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/ensight_grpc.py +432 -432
  6. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/libuserd.py +1953 -1945
  7. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/locallauncher.py +2 -0
  8. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/renderable.py +853 -844
  9. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/session.py +1820 -1820
  10. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/dsg_server.py +1085 -912
  11. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/export.py +584 -584
  12. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/omniverse.py +362 -362
  13. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/omniverse_cli.py +520 -481
  14. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +882 -690
  15. ansys_pyensight_core-0.8.13/src/ansys/pyensight/core/utils/omniverse_glb_server.py +631 -0
  16. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/parts.py +1199 -1199
  17. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/variables.py +1 -1
  18. ansys_pyensight_core-0.8.11/src/ansys/pyensight/core/utils/omniverse_glb_server.py +0 -279
  19. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/LICENSE +0 -0
  20. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/README.rst +0 -0
  21. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/__init__.py +0 -0
  22. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/dockerlauncher.py +0 -0
  23. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/enscontext.py +0 -0
  24. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
  25. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/ensobj.py +0 -0
  26. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/launch_ensight.py +0 -0
  27. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/launcher.py +0 -0
  28. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/listobj.py +0 -0
  29. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/py.typed +0 -0
  30. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
  31. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/__init__.py +0 -0
  32. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/adr.py +0 -0
  33. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/query.py +0 -0
  34. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/readers.py +0 -0
  35. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
  36. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/support.py +0 -0
  37. {ansys_pyensight_core-0.8.11 → ansys_pyensight_core-0.8.13}/src/ansys/pyensight/core/utils/views.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: ansys-pyensight-core
3
- Version: 0.8.11
3
+ Version: 0.8.13
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>
@@ -32,27 +32,29 @@ Requires-Dist: ipdb>=0.9.4 ; extra == "dev"
32
32
  Requires-Dist: dill>=0.3.5.1 ; extra == "dev"
33
33
  Requires-Dist: pre-commit>=3.3.3 ; extra == "dev"
34
34
  Requires-Dist: Sphinx==8.0.2 ; extra == "doc"
35
- Requires-Dist: numpydoc==1.5.0 ; extra == "doc"
36
- Requires-Dist: ansys-sphinx-theme==0.9.9 ; extra == "doc"
35
+ Requires-Dist: numpydoc==1.8.0 ; extra == "doc"
36
+ Requires-Dist: ansys-sphinx-theme==1.1.1 ; extra == "doc"
37
37
  Requires-Dist: sphinx-copybutton==0.5.2 ; extra == "doc"
38
- Requires-Dist: sphinx-gallery==0.13.0 ; extra == "doc"
38
+ Requires-Dist: sphinx-gallery==0.17.1 ; extra == "doc"
39
39
  Requires-Dist: sphinxcontrib-mermaid==0.9.2 ; extra == "doc"
40
40
  Requires-Dist: docker>=6.1.0 ; extra == "doc"
41
41
  Requires-Dist: matplotlib==3.9.1.post1 ; extra == "doc"
42
42
  Requires-Dist: requests>=2.28.2 ; extra == "doc"
43
43
  Requires-Dist: sphinxcontrib.jquery==4.1 ; extra == "doc"
44
- Requires-Dist: coverage-badge==1.1.0 ; extra == "doc"
45
- Requires-Dist: sphinxcontrib-openapi==0.8.1 ; extra == "doc"
46
- Requires-Dist: sphinxcontrib-video==0.2.0 ; extra == "doc"
44
+ Requires-Dist: sphinxcontrib-openapi==0.8.4 ; extra == "doc"
45
+ Requires-Dist: coverage-badge==1.1.2 ; extra == "doc"
46
+ Requires-Dist: sphinxcontrib-video==0.2.1 ; extra == "doc"
47
47
  Requires-Dist: usd-core>=24.8 ; extra == "doc"
48
48
  Requires-Dist: pygltflib>=1.16.2 ; extra == "doc"
49
49
  Requires-Dist: pytest==8.3.2 ; extra == "tests"
50
- Requires-Dist: pytest-cov==4.1.0 ; extra == "tests"
50
+ Requires-Dist: pytest-cov==5.0.0 ; extra == "tests"
51
51
  Requires-Dist: dill>=0.3.5.1 ; extra == "tests"
52
52
  Requires-Dist: pytest-mock==3.10.0 ; extra == "tests"
53
53
  Requires-Dist: urllib3==2.2.2 ; extra == "tests"
54
54
  Requires-Dist: requests>=2.28.2 ; extra == "tests"
55
55
  Requires-Dist: docker>=6.1.0 ; extra == "tests"
56
+ Requires-Dist: pytest-xdist==3.6.1 ; extra == "tests"
57
+ Requires-Dist: pytest-rerunfailures~=14.0 ; extra == "tests"
56
58
  Project-URL: Changelog, https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst
57
59
  Project-URL: Documentation, https://ensight.docs.pyansys.com/
58
60
  Project-URL: Homepage, https://github.com/ansys/pyensight
@@ -1,189 +1,191 @@
1
- [build-system]
2
- requires = [
3
- "flit_core>=3.2,<4"
4
- ]
5
- build-backend = "flit_core.buildapi"
6
-
7
- [project]
8
- name = "ansys-pyensight-core"
9
- version = "0.8.11"
10
- description = "A python wrapper for Ansys EnSight"
11
- readme = "README.rst"
12
- requires-python = ">=3.9,<4"
13
- license = {file = "LICENSE"}
14
- authors = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
15
- maintainers = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
16
- classifiers = [
17
- "Development Status :: 4 - Beta",
18
- "Intended Audience :: Science/Research",
19
- "Topic :: Scientific/Engineering :: Information Analysis",
20
- "License :: OSI Approved :: MIT License",
21
- "Operating System :: OS Independent",
22
- "Programming Language :: Python :: 3.9",
23
- "Programming Language :: Python :: 3.10",
24
- "Programming Language :: Python :: 3.11",
25
- "Programming Language :: Python :: 3.12",
26
- ]
27
-
28
- dependencies = [
29
- "importlib-metadata>=4.0; python_version<='3.8'",
30
- "ansys-api-pyensight==0.4.2",
31
- "requests>=2.28.2",
32
- "docker>=6.1.0",
33
- "urllib3<3.0.0",
34
- "numpy>=1.21.0,<2",
35
- "Pillow>=9.3.0",
36
- "pypng>=0.0.20",
37
- "psutil>=5.9.2",
38
- "usd-core>=24.8",
39
- "pygltflib>=1.16.2",
40
- ]
41
-
42
- [project.optional-dependencies]
43
- dev = [
44
- "build>=0.10.0",
45
- "bump2version>=1.0.1",
46
- "ipdb>=0.9.4",
47
- "dill>=0.3.5.1",
48
- "pre-commit>=3.3.3",
49
- ]
50
- tests = [
51
- "pytest==8.3.2",
52
- "pytest-cov==4.1.0",
53
- "dill>=0.3.5.1",
54
- "pytest-mock==3.10.0",
55
- "urllib3==2.2.2",
56
- "requests>=2.28.2",
57
- "docker>=6.1.0",
58
- ]
59
- doc = [
60
- "Sphinx==8.0.2",
61
- "numpydoc==1.5.0",
62
- "ansys-sphinx-theme==0.9.9",
63
- "sphinx-copybutton==0.5.2",
64
- "sphinx-gallery==0.13.0",
65
- "sphinxcontrib-mermaid==0.9.2",
66
- "docker>=6.1.0",
67
- "matplotlib==3.9.1.post1",
68
- "requests>=2.28.2",
69
- "sphinxcontrib.jquery==4.1",
70
- "coverage-badge==1.1.0",
71
- "sphinxcontrib-openapi==0.8.1",
72
- "sphinxcontrib-video==0.2.0",
73
- "usd-core>=24.8",
74
- "pygltflib>=1.16.2",
75
- ]
76
-
77
- [project.urls]
78
- Documentation = "https://ensight.docs.pyansys.com/"
79
- Homepage = "https://github.com/ansys/pyensight"
80
- Source = "https://github.com/ansys/pyensight"
81
- Tracker = "https://github.com/ansys/pyensight/issues"
82
- Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"
83
-
84
- [tool.flit.module]
85
- name = "ansys.pyensight.core"
86
-
87
- [tool.coverage.run]
88
- branch = true
89
- omit = [
90
- "*/locallauncher.py",
91
- "*/adr.py",
92
- "*/omniverse*.py",
93
- "*/dsg_server.py",
94
- "*/readers.py",
95
- "*/omniverse/core/*.py",
96
- "*/omniverse/dsgui/*.py",
97
- ]
98
-
99
- [tool.coverage.report]
100
- exclude_lines = [
101
- "pragma: no cover",
102
- "def __repr__",
103
- "if selfdebug",
104
- "raise AssertionError",
105
- "raise NotImplementedError",
106
- "if 0:",
107
- "if __name__ == .__main__.:",
108
- "@(abc.)?abstractmethod",
109
- "if TYPE_CHECKING:",
110
- "def _repr_pretty_",
111
- "self._pim_instance",
112
- "self._pim_file_service",
113
- "def _launch_ensight_with_pim"]
114
-
115
- ignore_errors = true
116
- show_missing = true
117
-
118
- [tool.coverage.html]
119
- show_contexts = true
120
-
121
- [tool.black]
122
- line-length = 100
123
- src_paths = ["src/ansys", "doc"]
124
-
125
- [tool.pytest.ini_options]
126
- minversion = "7.1"
127
- testpaths = [
128
- "tests",
129
- ]
130
- addopts = "--setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
131
- markers =[
132
- "integration:Run integration tests",
133
- "smoke:Run the smoke tests",
134
- "unit:Run the unit tests",
135
- ]
136
- norecursedirs = ".git .idea"
137
- filterwarnings = "ignore:.+:DeprecationWarning"
138
-
139
-
140
- [tool.codespell]
141
- ignore-words-list = "ro, te, pres"
142
- quiet-level = 3
143
- skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"
144
-
145
- [tool.isort]
146
- profile = "black"
147
- skip_gitignore = true
148
- force_sort_within_sections = true
149
- line_length = 100
150
- default_section = "THIRDPARTY"
151
- filter_files = true
152
- src_paths = ["ansys", "doc", "tests"]
153
-
154
- [tool.bandit]
155
- level = "HIGH"
156
- number = "3"
157
- recursive = true
158
- exclude = ["venv/*", "tests/*"]
159
-
160
- [tool.mypy]
161
- python_version = 3.9
162
- strict = false
163
- namespace_packages = true
164
- explicit_package_bases = true
165
- exclude = ["tests/", "^doc"]
166
- no_site_packages = true
167
- follow_imports = "skip"
168
-
169
- [[tool.mypy.overrides]]
170
- module = ["grpc",
171
- "grpc_health",
172
- "grpc_bindings",
173
- "requests",
174
- "ansys",
175
- "ansys.*",
176
- "docker",
177
- "dill",
178
- "IPython.display",
179
- "enve",
180
- "urllib3",
181
- "ensight",
182
- "numpy",
183
- "PIL",
184
- "simple_upload_server.*"
185
- ]
186
- ignore_missing_imports = true
187
-
188
- [pydocstyle]
189
- convention = "numpy"
1
+ [build-system]
2
+ requires = [
3
+ "flit_core>=3.2,<4"
4
+ ]
5
+ build-backend = "flit_core.buildapi"
6
+
7
+ [project]
8
+ name = "ansys-pyensight-core"
9
+ version = "0.8.13"
10
+ description = "A python wrapper for Ansys EnSight"
11
+ readme = "README.rst"
12
+ requires-python = ">=3.9,<4"
13
+ license = {file = "LICENSE"}
14
+ authors = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
15
+ maintainers = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Intended Audience :: Science/Research",
19
+ "Topic :: Scientific/Engineering :: Information Analysis",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Operating System :: OS Independent",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ ]
27
+
28
+ dependencies = [
29
+ "importlib-metadata>=4.0; python_version<='3.8'",
30
+ "ansys-api-pyensight==0.4.2",
31
+ "requests>=2.28.2",
32
+ "docker>=6.1.0",
33
+ "urllib3<3.0.0",
34
+ "numpy>=1.21.0,<2",
35
+ "Pillow>=9.3.0",
36
+ "pypng>=0.0.20",
37
+ "psutil>=5.9.2",
38
+ "usd-core>=24.8",
39
+ "pygltflib>=1.16.2",
40
+ ]
41
+
42
+ [project.optional-dependencies]
43
+ dev = [
44
+ "build>=0.10.0",
45
+ "bump2version>=1.0.1",
46
+ "ipdb>=0.9.4",
47
+ "dill>=0.3.5.1",
48
+ "pre-commit>=3.3.3",
49
+ ]
50
+ tests = [
51
+ "pytest==8.3.2",
52
+ "pytest-cov==5.0.0",
53
+ "dill>=0.3.5.1",
54
+ "pytest-mock==3.10.0",
55
+ "urllib3==2.2.2",
56
+ "requests>=2.28.2",
57
+ "docker>=6.1.0",
58
+ "pytest-xdist==3.6.1",
59
+ "pytest-rerunfailures~=14.0",
60
+ ]
61
+ doc = [
62
+ "Sphinx==8.0.2",
63
+ "numpydoc==1.8.0",
64
+ "ansys-sphinx-theme==1.1.1",
65
+ "sphinx-copybutton==0.5.2",
66
+ "sphinx-gallery==0.17.1",
67
+ "sphinxcontrib-mermaid==0.9.2",
68
+ "docker>=6.1.0",
69
+ "matplotlib==3.9.1.post1",
70
+ "requests>=2.28.2",
71
+ "sphinxcontrib.jquery==4.1",
72
+ "sphinxcontrib-openapi==0.8.4",
73
+ "coverage-badge==1.1.2",
74
+ "sphinxcontrib-video==0.2.1",
75
+ "usd-core>=24.8",
76
+ "pygltflib>=1.16.2",
77
+ ]
78
+
79
+ [project.urls]
80
+ Documentation = "https://ensight.docs.pyansys.com/"
81
+ Homepage = "https://github.com/ansys/pyensight"
82
+ Source = "https://github.com/ansys/pyensight"
83
+ Tracker = "https://github.com/ansys/pyensight/issues"
84
+ Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"
85
+
86
+ [tool.flit.module]
87
+ name = "ansys.pyensight.core"
88
+
89
+ [tool.coverage.run]
90
+ branch = true
91
+ omit = [
92
+ "*/locallauncher.py",
93
+ "*/adr.py",
94
+ "*/omniverse*.py",
95
+ "*/dsg_server.py",
96
+ "*/readers.py",
97
+ "*/omniverse/core/*.py",
98
+ "*/omniverse/dsgui/*.py",
99
+ ]
100
+
101
+ [tool.coverage.report]
102
+ exclude_lines = [
103
+ "pragma: no cover",
104
+ "def __repr__",
105
+ "if selfdebug",
106
+ "raise AssertionError",
107
+ "raise NotImplementedError",
108
+ "if 0:",
109
+ "if __name__ == .__main__.:",
110
+ "@(abc.)?abstractmethod",
111
+ "if TYPE_CHECKING:",
112
+ "def _repr_pretty_",
113
+ "self._pim_instance",
114
+ "self._pim_file_service",
115
+ "def _launch_ensight_with_pim"]
116
+
117
+ ignore_errors = true
118
+ show_missing = true
119
+
120
+ [tool.coverage.html]
121
+ show_contexts = true
122
+
123
+ [tool.black]
124
+ line-length = 100
125
+ src_paths = ["src/ansys", "doc"]
126
+
127
+ [tool.pytest.ini_options]
128
+ minversion = "7.1"
129
+ testpaths = [
130
+ "tests",
131
+ ]
132
+ addopts = "--setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
133
+ markers =[
134
+ "integration:Run integration tests",
135
+ "smoke:Run the smoke tests",
136
+ "unit:Run the unit tests",
137
+ ]
138
+ norecursedirs = ".git .idea"
139
+ filterwarnings = "ignore:.+:DeprecationWarning"
140
+
141
+
142
+ [tool.codespell]
143
+ ignore-words-list = "ro, te, pres"
144
+ quiet-level = 3
145
+ skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"
146
+
147
+ [tool.isort]
148
+ profile = "black"
149
+ skip_gitignore = true
150
+ force_sort_within_sections = true
151
+ line_length = 100
152
+ default_section = "THIRDPARTY"
153
+ filter_files = true
154
+ src_paths = ["ansys", "doc", "tests"]
155
+
156
+ [tool.bandit]
157
+ level = "HIGH"
158
+ number = "3"
159
+ recursive = true
160
+ exclude = ["venv/*", "tests/*"]
161
+
162
+ [tool.mypy]
163
+ python_version = 3.9
164
+ strict = false
165
+ namespace_packages = true
166
+ explicit_package_bases = true
167
+ exclude = ["tests/", "^doc"]
168
+ no_site_packages = true
169
+ follow_imports = "skip"
170
+
171
+ [[tool.mypy.overrides]]
172
+ module = ["grpc",
173
+ "grpc_health",
174
+ "grpc_bindings",
175
+ "requests",
176
+ "ansys",
177
+ "ansys.*",
178
+ "docker",
179
+ "dill",
180
+ "IPython.display",
181
+ "enve",
182
+ "urllib3",
183
+ "ensight",
184
+ "numpy",
185
+ "PIL",
186
+ "simple_upload_server.*"
187
+ ]
188
+ ignore_missing_imports = true
189
+
190
+ [pydocstyle]
191
+ convention = "numpy"