ansys-mechanical-core 0.11.19__tar.gz → 0.11.21__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.
Files changed (52) hide show
  1. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/PKG-INFO +5 -12
  2. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/pyproject.toml +5 -12
  3. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/ide_config.py +1 -1
  4. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/mechanical.py +2 -2
  5. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/run.py +1 -1
  6. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/LICENSE +0 -0
  7. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/README.rst +0 -0
  8. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/__init__.py +0 -0
  9. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/_version.py +0 -0
  10. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/__init__.py +0 -0
  11. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/addins.py +0 -0
  12. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/app.py +0 -0
  13. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/app_libraries.py +0 -0
  14. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/appdata.py +0 -0
  15. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/background.py +0 -0
  16. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/cleanup_gui.py +0 -0
  17. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/enum_importer.py +0 -0
  18. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/global_importer.py +0 -0
  19. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/graphics/__init__.py +0 -0
  20. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/graphics/embedding_plotter.py +0 -0
  21. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/graphics/usd_converter.py +0 -0
  22. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/graphics/utils.py +0 -0
  23. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/imports.py +0 -0
  24. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/initializer.py +0 -0
  25. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/loader.py +0 -0
  26. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/logger/__init__.py +0 -0
  27. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/logger/environ.py +0 -0
  28. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/logger/linux_api.py +0 -0
  29. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/logger/sinks.py +0 -0
  30. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/logger/windows_api.py +0 -0
  31. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/messages.py +0 -0
  32. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/poster.py +0 -0
  33. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/resolver.py +0 -0
  34. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/rpc/__init__.py +0 -0
  35. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/rpc/client.py +0 -0
  36. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/rpc/default_server.py +0 -0
  37. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/rpc/server.py +0 -0
  38. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/rpc/utils.py +0 -0
  39. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/runtime.py +0 -0
  40. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/shims.py +0 -0
  41. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/transaction.py +0 -0
  42. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/ui.py +0 -0
  43. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/utils.py +0 -0
  44. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/embedding/warnings.py +0 -0
  45. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/errors.py +0 -0
  46. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/examples/__init__.py +0 -0
  47. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/examples/downloads.py +0 -0
  48. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/feature_flags.py +0 -0
  49. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/launcher.py +0 -0
  50. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/logging.py +0 -0
  51. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/misc.py +0 -0
  52. {ansys_mechanical_core-0.11.19 → ansys_mechanical_core-0.11.21}/src/ansys/mechanical/core/pool.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-mechanical-core
3
- Version: 0.11.19
3
+ Version: 0.11.21
4
4
  Summary: A python wrapper for Ansys Mechanical
5
5
  Keywords: pymechanical,mechanical,ansys,pyansys
6
6
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
@@ -18,7 +18,7 @@ Classifier: License :: OSI Approved :: MIT License
18
18
  Classifier: Operating System :: OS Independent
19
19
  License-File: LICENSE
20
20
  Requires-Dist: ansys-api-mechanical==0.1.2
21
- Requires-Dist: ansys-mechanical-env==0.1.12
21
+ Requires-Dist: ansys-mechanical-env==0.1.14
22
22
  Requires-Dist: ansys-mechanical-stubs==0.1.6
23
23
  Requires-Dist: ansys-pythonnet>=3.1.0rc6
24
24
  Requires-Dist: ansys-tools-path>=0.3.1
@@ -31,8 +31,7 @@ Requires-Dist: psutil>=6
31
31
  Requires-Dist: tqdm>=4.45.0
32
32
  Requires-Dist: requests>=2,<3
33
33
  Requires-Dist: sphinx==8.2.3 ; extra == "doc"
34
- Requires-Dist: ansys-sphinx-theme[autoapi, changelog]==1.4.4 ; extra == "doc"
35
- Requires-Dist: grpcio==1.70.0 ; extra == "doc"
34
+ Requires-Dist: ansys-sphinx-theme[autoapi, changelog]==1.5.2 ; extra == "doc"
36
35
  Requires-Dist: imageio-ffmpeg==0.6.0 ; extra == "doc"
37
36
  Requires-Dist: imageio==2.37.0 ; extra == "doc"
38
37
  Requires-Dist: jupyter_sphinx==0.5.3 ; extra == "doc"
@@ -40,12 +39,7 @@ Requires-Dist: jupyterlab>=3.2.8 ; extra == "doc"
40
39
  Requires-Dist: matplotlib==3.10.3 ; extra == "doc"
41
40
  Requires-Dist: numpy==2.2.6 ; extra == "doc"
42
41
  Requires-Dist: numpydoc==1.8.0 ; extra == "doc"
43
- Requires-Dist: pandas==2.2.3 ; extra == "doc"
44
- Requires-Dist: panel==1.6.1 ; extra == "doc"
45
- Requires-Dist: plotly==6.1.1 ; extra == "doc"
46
42
  Requires-Dist: pypandoc==1.15 ; extra == "doc"
47
- Requires-Dist: pytest-sphinx==0.6.3 ; extra == "doc"
48
- Requires-Dist: pythreejs==2.4.2 ; extra == "doc"
49
43
  Requires-Dist: pyvista>=0.39.1 ; extra == "doc"
50
44
  Requires-Dist: sphinx-autobuild==2024.10.3 ; extra == "doc"
51
45
  Requires-Dist: sphinx-autodoc-typehints==3.1.0 ; extra == "doc"
@@ -54,14 +48,13 @@ Requires-Dist: sphinx_design==0.6.1 ; extra == "doc"
54
48
  Requires-Dist: sphinx-gallery==0.19.0 ; extra == "doc"
55
49
  Requires-Dist: sphinx-notfound-page==1.1.0 ; extra == "doc"
56
50
  Requires-Dist: sphinxcontrib-websupport==2.0.0 ; extra == "doc"
57
- Requires-Dist: sphinxemoji==0.3.1 ; extra == "doc"
58
51
  Requires-Dist: ansys-tools-visualization-interface>=0.2.6 ; extra == "graphics"
59
52
  Requires-Dist: usd-core==25.5.1 ; extra == "graphics"
60
53
  Requires-Dist: ansys-platform-instancemanagement>=1.0.1 ; extra == "pim"
61
54
  Requires-Dist: rpyc==6.0.2 ; extra == "rpc"
62
55
  Requires-Dist: toolz==1.0.0 ; extra == "rpc"
63
- Requires-Dist: pytest==8.3.5 ; extra == "tests"
64
- Requires-Dist: pytest-cov==6.1.1 ; extra == "tests"
56
+ Requires-Dist: pytest==8.4.1 ; extra == "tests"
57
+ Requires-Dist: pytest-cov==6.2.1 ; extra == "tests"
65
58
  Requires-Dist: pytest-print==1.1.0 ; extra == "tests"
66
59
  Requires-Dist: psutil==7.0.0 ; extra == "tests"
67
60
  Requires-Dist: ansys-tools-visualization-interface>=0.2.6 ; extra == "viz"
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
  [project]
6
6
  # Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
7
7
  name = "ansys-mechanical-core"
8
- version = "0.11.19"
8
+ version = "0.11.21"
9
9
  description = "A python wrapper for Ansys Mechanical"
10
10
  readme = "README.rst"
11
11
  requires-python = ">=3.10,<4.0"
@@ -27,7 +27,7 @@ classifiers = [
27
27
  ]
28
28
  dependencies = [
29
29
  "ansys-api-mechanical==0.1.2",
30
- "ansys-mechanical-env==0.1.12",
30
+ "ansys-mechanical-env==0.1.14",
31
31
  "ansys-mechanical-stubs==0.1.6",
32
32
  "ansys-pythonnet>=3.1.0rc6",
33
33
  "ansys-tools-path>=0.3.1",
@@ -50,15 +50,14 @@ Changelog = "https://mechanical.docs.pyansys.com/version/stable/changelog.html"
50
50
 
51
51
  [project.optional-dependencies]
52
52
  tests = [
53
- "pytest==8.3.5",
54
- "pytest-cov==6.1.1",
53
+ "pytest==8.4.1",
54
+ "pytest-cov==6.2.1",
55
55
  "pytest-print==1.1.0",
56
56
  "psutil==7.0.0"
57
57
  ]
58
58
  doc = [
59
59
  "sphinx==8.2.3",
60
- "ansys-sphinx-theme[autoapi,changelog]==1.4.4",
61
- "grpcio==1.70.0",
60
+ "ansys-sphinx-theme[autoapi,changelog]==1.5.2",
62
61
  "imageio-ffmpeg==0.6.0",
63
62
  "imageio==2.37.0",
64
63
  "jupyter_sphinx==0.5.3",
@@ -66,12 +65,7 @@ doc = [
66
65
  "matplotlib==3.10.3",
67
66
  "numpy==2.2.6",
68
67
  "numpydoc==1.8.0",
69
- "pandas==2.2.3",
70
- "panel==1.6.1",
71
- "plotly==6.1.1",
72
68
  "pypandoc==1.15",
73
- "pytest-sphinx==0.6.3",
74
- "pythreejs==2.4.2",
75
69
  "pyvista>=0.39.1",
76
70
  "sphinx-autobuild==2024.10.3",
77
71
  "sphinx-autodoc-typehints==3.1.0",
@@ -80,7 +74,6 @@ doc = [
80
74
  "sphinx-gallery==0.19.0",
81
75
  "sphinx-notfound-page==1.1.0",
82
76
  "sphinxcontrib-websupport==2.0.0",
83
- "sphinxemoji==0.3.1",
84
77
  ]
85
78
  # Viz option will be removed in future versions
86
79
  viz = [
@@ -47,7 +47,7 @@ def get_stubs_location():
47
47
  site_packages_regex = re.compile(f"{prefix_path}.*site-packages$")
48
48
  site_packages_paths = list(filter(site_packages_regex.match, site_packages))
49
49
 
50
- if len(site_packages_paths) == 1:
50
+ if len(site_packages_paths) >= 1:
51
51
  # Get the stubs location
52
52
  stubs_location = Path(site_packages_paths[0]) / "ansys" / "mechanical" / "stubs"
53
53
  return stubs_location
@@ -1924,7 +1924,7 @@ def launch_grpc(
1924
1924
  Launch Mechanical using a specified executable file.
1925
1925
 
1926
1926
  >>> exec_file_path = 'C:/Program Files/ANSYS Inc/v251/aisol/bin/win64/AnsysWBU.exe'
1927
- >>> mechanical = launch_mechanical(exec_file_path)
1927
+ >>> mechanical = launch_mechanical(exec_file=exec_file_path)
1928
1928
 
1929
1929
  """
1930
1930
  # verify version
@@ -2165,7 +2165,7 @@ def launch_mechanical(
2165
2165
  Launch Mechanical using a specified executable file.
2166
2166
 
2167
2167
  >>> exec_file_path = 'C:/Program Files/ANSYS Inc/v251/aisol/bin/win64/AnsysWBU.exe'
2168
- >>> mech = launch_mechanical(exec_file_path)
2168
+ >>> mech = launch_mechanical(exec_file=exec_file_path)
2169
2169
 
2170
2170
  Connect to an existing Mechanical instance at IP address ``192.168.1.30`` on port
2171
2171
  ``50001``.
@@ -176,7 +176,7 @@ def _cli_impl(
176
176
  profile.update_environment(env)
177
177
 
178
178
  if not DRY_RUN:
179
- version_name = atp.SUPPORTED_ANSYS_VERSIONS[version]
179
+ version_name = atp.SUPPORTED_ANSYS_VERSIONS.get(version, version)
180
180
  if graphical:
181
181
  mode = "Graphical"
182
182
  else: