ansys-pyensight-core 0.7.11__tar.gz → 0.8.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 (34) hide show
  1. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/PKG-INFO +1 -1
  2. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/pyproject.toml +181 -181
  3. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/session.py +1780 -1780
  4. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/export.py +584 -584
  5. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/parts.py +1199 -1199
  6. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/LICENSE +0 -0
  7. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/README.rst +0 -0
  8. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/__init__.py +0 -0
  9. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
  10. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/dockerlauncher.py +0 -0
  11. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/enscontext.py +0 -0
  12. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
  13. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/ensight_grpc.py +0 -0
  14. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/ensobj.py +0 -0
  15. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/launch_ensight.py +0 -0
  16. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/launcher.py +0 -0
  17. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/listobj.py +0 -0
  18. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/locallauncher.py +0 -0
  19. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/py.typed +0 -0
  20. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/renderable.py +0 -0
  21. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
  22. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/__init__.py +0 -0
  23. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/adr.py +0 -0
  24. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/omniverse.py +0 -0
  25. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +0 -0
  26. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/query.py +0 -0
  27. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
  28. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_BaseColor.png +0 -0
  29. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_N.png +0 -0
  30. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_ORM.png +0 -0
  31. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/resources/Materials/Fieldstone.mdl +0 -0
  32. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/support.py +0 -0
  33. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/variables.py +0 -0
  34. {ansys_pyensight_core-0.7.11 → ansys_pyensight_core-0.8.0}/src/ansys/pyensight/core/utils/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansys-pyensight-core
3
- Version: 0.7.11
3
+ Version: 0.8.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>
@@ -1,181 +1,181 @@
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.7.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.0",
31
- "requests>=2.28.2",
32
- "docker>=6.1.0",
33
- "urllib3<2",
34
- "numpy>=1.21.0,<2",
35
- "Pillow>=9.3.0",
36
- "pypng>=0.0.20",
37
- "psutil>=5.9.2"
38
- ]
39
-
40
- [project.optional-dependencies]
41
- dev = [
42
- "build>=0.10.0",
43
- "bump2version>=1.0.1",
44
- "ipdb>=0.9.4",
45
- "dill>=0.3.5.1",
46
- "pre-commit>=3.3.3",
47
- ]
48
- tests = [
49
- "pytest==7.1.2",
50
- "pytest-cov==4.1.0",
51
- "dill>=0.3.5.1",
52
- "pytest-mock==3.10.0",
53
- "urllib3==1.26.10",
54
- "requests>=2.28.2",
55
- "docker>=6.1.0",
56
- ]
57
- doc = [
58
- "Sphinx==7.2.6",
59
- "numpydoc==1.5.0",
60
- "ansys-sphinx-theme==0.9.9",
61
- "sphinx-copybutton==0.5.2",
62
- "sphinx-gallery==0.13.0",
63
- "sphinxcontrib-mermaid==0.9.2",
64
- "docker>=6.1.0",
65
- "matplotlib==3.7.2",
66
- "requests>=2.28.2",
67
- "sphinxcontrib.jquery==4.1",
68
- "coverage-badge==1.1.0",
69
- "sphinxcontrib-openapi==0.8.1",
70
- "sphinxcontrib-video==0.2.0",
71
- ]
72
-
73
- [project.urls]
74
- Documentation = "https://ensight.docs.pyansys.com/"
75
- Homepage = "https://github.com/ansys/pyensight"
76
- Source = "https://github.com/ansys/pyensight"
77
- Tracker = "https://github.com/ansys/pyensight/issues"
78
- Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"
79
-
80
- [tool.flit.module]
81
- name = "ansys.pyensight.core"
82
-
83
- [tool.coverage.run]
84
- branch = true
85
- omit = [
86
- "*/locallauncher.py",
87
- "*/adr.py",
88
- "*/omniverse*.py"
89
- ]
90
-
91
- [tool.coverage.report]
92
- exclude_lines = [
93
- "pragma: no cover",
94
- "def __repr__",
95
- "if selfdebug",
96
- "raise AssertionError",
97
- "raise NotImplementedError",
98
- "if 0:",
99
- "if __name__ == .__main__.:",
100
- "@(abc.)?abstractmethod",
101
- "if TYPE_CHECKING:",
102
- "def _repr_pretty_",
103
- "self._pim_instance",
104
- "self._pim_file_service",
105
- "def _launch_ensight_with_pim"]
106
-
107
- ignore_errors = true
108
- show_missing = true
109
-
110
- [tool.coverage.html]
111
- show_contexts = true
112
-
113
- [tool.black]
114
- line-length = 100
115
- src_paths = ["src/ansys", "doc"]
116
-
117
- [tool.pytest.ini_options]
118
- minversion = "7.1"
119
- testpaths = [
120
- "tests",
121
- ]
122
- 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"
123
- markers =[
124
- "integration:Run integration tests",
125
- "smoke:Run the smoke tests",
126
- "unit:Run the unit tests",
127
- ]
128
- norecursedirs = ".git .idea"
129
- filterwarnings = "ignore:.+:DeprecationWarning"
130
-
131
-
132
- [tool.codespell]
133
- ignore-words-list = "ro, te, pres"
134
- quiet-level = 3
135
- skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"
136
-
137
- [tool.isort]
138
- profile = "black"
139
- skip_gitignore = true
140
- force_sort_within_sections = true
141
- line_length = 100
142
- default_section = "THIRDPARTY"
143
- filter_files = true
144
- src_paths = ["ansys", "doc", "tests"]
145
-
146
- [tool.bandit]
147
- level = "HIGH"
148
- number = "3"
149
- recursive = true
150
- exclude = ["venv/*", "tests/*"]
151
-
152
- [tool.mypy]
153
- python_version = 3.9
154
- strict = false
155
- namespace_packages = true
156
- explicit_package_bases = true
157
- exclude = ["tests/", "^doc"]
158
- no_site_packages = true
159
- follow_imports = "skip"
160
-
161
- [[tool.mypy.overrides]]
162
- module = ["grpc",
163
- "grpc_health",
164
- "grpc_bindings",
165
- "requests",
166
- "ansys",
167
- "ansys.*",
168
- "docker",
169
- "dill",
170
- "IPython.display",
171
- "enve",
172
- "urllib3",
173
- "ensight",
174
- "numpy",
175
- "PIL",
176
- "simple_upload_server.*"
177
- ]
178
- ignore_missing_imports = true
179
-
180
- [pydocstyle]
181
- 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.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.0",
31
+ "requests>=2.28.2",
32
+ "docker>=6.1.0",
33
+ "urllib3<2",
34
+ "numpy>=1.21.0,<2",
35
+ "Pillow>=9.3.0",
36
+ "pypng>=0.0.20",
37
+ "psutil>=5.9.2"
38
+ ]
39
+
40
+ [project.optional-dependencies]
41
+ dev = [
42
+ "build>=0.10.0",
43
+ "bump2version>=1.0.1",
44
+ "ipdb>=0.9.4",
45
+ "dill>=0.3.5.1",
46
+ "pre-commit>=3.3.3",
47
+ ]
48
+ tests = [
49
+ "pytest==7.1.2",
50
+ "pytest-cov==4.1.0",
51
+ "dill>=0.3.5.1",
52
+ "pytest-mock==3.10.0",
53
+ "urllib3==1.26.10",
54
+ "requests>=2.28.2",
55
+ "docker>=6.1.0",
56
+ ]
57
+ doc = [
58
+ "Sphinx==7.2.6",
59
+ "numpydoc==1.5.0",
60
+ "ansys-sphinx-theme==0.9.9",
61
+ "sphinx-copybutton==0.5.2",
62
+ "sphinx-gallery==0.13.0",
63
+ "sphinxcontrib-mermaid==0.9.2",
64
+ "docker>=6.1.0",
65
+ "matplotlib==3.7.2",
66
+ "requests>=2.28.2",
67
+ "sphinxcontrib.jquery==4.1",
68
+ "coverage-badge==1.1.0",
69
+ "sphinxcontrib-openapi==0.8.1",
70
+ "sphinxcontrib-video==0.2.0",
71
+ ]
72
+
73
+ [project.urls]
74
+ Documentation = "https://ensight.docs.pyansys.com/"
75
+ Homepage = "https://github.com/ansys/pyensight"
76
+ Source = "https://github.com/ansys/pyensight"
77
+ Tracker = "https://github.com/ansys/pyensight/issues"
78
+ Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"
79
+
80
+ [tool.flit.module]
81
+ name = "ansys.pyensight.core"
82
+
83
+ [tool.coverage.run]
84
+ branch = true
85
+ omit = [
86
+ "*/locallauncher.py",
87
+ "*/adr.py",
88
+ "*/omniverse*.py"
89
+ ]
90
+
91
+ [tool.coverage.report]
92
+ exclude_lines = [
93
+ "pragma: no cover",
94
+ "def __repr__",
95
+ "if selfdebug",
96
+ "raise AssertionError",
97
+ "raise NotImplementedError",
98
+ "if 0:",
99
+ "if __name__ == .__main__.:",
100
+ "@(abc.)?abstractmethod",
101
+ "if TYPE_CHECKING:",
102
+ "def _repr_pretty_",
103
+ "self._pim_instance",
104
+ "self._pim_file_service",
105
+ "def _launch_ensight_with_pim"]
106
+
107
+ ignore_errors = true
108
+ show_missing = true
109
+
110
+ [tool.coverage.html]
111
+ show_contexts = true
112
+
113
+ [tool.black]
114
+ line-length = 100
115
+ src_paths = ["src/ansys", "doc"]
116
+
117
+ [tool.pytest.ini_options]
118
+ minversion = "7.1"
119
+ testpaths = [
120
+ "tests",
121
+ ]
122
+ 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"
123
+ markers =[
124
+ "integration:Run integration tests",
125
+ "smoke:Run the smoke tests",
126
+ "unit:Run the unit tests",
127
+ ]
128
+ norecursedirs = ".git .idea"
129
+ filterwarnings = "ignore:.+:DeprecationWarning"
130
+
131
+
132
+ [tool.codespell]
133
+ ignore-words-list = "ro, te, pres"
134
+ quiet-level = 3
135
+ skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"
136
+
137
+ [tool.isort]
138
+ profile = "black"
139
+ skip_gitignore = true
140
+ force_sort_within_sections = true
141
+ line_length = 100
142
+ default_section = "THIRDPARTY"
143
+ filter_files = true
144
+ src_paths = ["ansys", "doc", "tests"]
145
+
146
+ [tool.bandit]
147
+ level = "HIGH"
148
+ number = "3"
149
+ recursive = true
150
+ exclude = ["venv/*", "tests/*"]
151
+
152
+ [tool.mypy]
153
+ python_version = 3.9
154
+ strict = false
155
+ namespace_packages = true
156
+ explicit_package_bases = true
157
+ exclude = ["tests/", "^doc"]
158
+ no_site_packages = true
159
+ follow_imports = "skip"
160
+
161
+ [[tool.mypy.overrides]]
162
+ module = ["grpc",
163
+ "grpc_health",
164
+ "grpc_bindings",
165
+ "requests",
166
+ "ansys",
167
+ "ansys.*",
168
+ "docker",
169
+ "dill",
170
+ "IPython.display",
171
+ "enve",
172
+ "urllib3",
173
+ "ensight",
174
+ "numpy",
175
+ "PIL",
176
+ "simple_upload_server.*"
177
+ ]
178
+ ignore_missing_imports = true
179
+
180
+ [pydocstyle]
181
+ convention = "numpy"