ansys-pyensight-core 0.8.12__tar.gz → 0.9.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 (36) hide show
  1. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/PKG-INFO +3 -3
  2. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/pyproject.toml +191 -191
  3. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/common.py +216 -216
  4. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/ensight_grpc.py +432 -432
  5. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/libuserd.py +1953 -1953
  6. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/renderable.py +853 -853
  7. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/session.py +1820 -1820
  8. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/dsg_server.py +1085 -934
  9. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/export.py +584 -584
  10. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/omniverse.py +362 -362
  11. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/omniverse_cli.py +520 -490
  12. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +882 -692
  13. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/omniverse_glb_server.py +631 -625
  14. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/parts.py +1199 -1199
  15. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/LICENSE +0 -0
  16. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/README.rst +0 -0
  17. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/__init__.py +0 -0
  18. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
  19. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/dockerlauncher.py +0 -0
  20. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/enscontext.py +0 -0
  21. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
  22. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/ensobj.py +0 -0
  23. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/launch_ensight.py +0 -0
  24. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/launcher.py +0 -0
  25. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/listobj.py +0 -0
  26. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/locallauncher.py +0 -0
  27. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/py.typed +0 -0
  28. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
  29. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/__init__.py +0 -0
  30. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/adr.py +0 -0
  31. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/query.py +0 -0
  32. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/readers.py +0 -0
  33. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
  34. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/support.py +0 -0
  35. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/src/ansys/pyensight/core/utils/variables.py +0 -0
  36. {ansys_pyensight_core-0.8.12 → ansys_pyensight_core-0.9.0}/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.12
3
+ Version: 0.9.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>
@@ -53,7 +53,7 @@ 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==1.31.0 ; extra == "tests"
56
+ Requires-Dist: pytest-xdist==3.6.1 ; extra == "tests"
57
57
  Requires-Dist: pytest-rerunfailures~=14.0 ; extra == "tests"
58
58
  Project-URL: Changelog, https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst
59
59
  Project-URL: Documentation, https://ensight.docs.pyansys.com/
@@ -1,191 +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.12"
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==1.31.0",
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"
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.9.0"
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"