ansys-mechanical-core 0.11.18__py3-none-any.whl → 0.11.20__py3-none-any.whl

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.
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-mechanical-core
3
- Version: 0.11.18
3
+ Version: 0.11.20
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,8 @@ 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"
35
+ Requires-Dist: grpcio==1.73.0 ; extra == "doc"
36
36
  Requires-Dist: imageio-ffmpeg==0.6.0 ; extra == "doc"
37
37
  Requires-Dist: imageio==2.37.0 ; extra == "doc"
38
38
  Requires-Dist: jupyter_sphinx==0.5.3 ; extra == "doc"
@@ -40,9 +40,9 @@ Requires-Dist: jupyterlab>=3.2.8 ; extra == "doc"
40
40
  Requires-Dist: matplotlib==3.10.3 ; extra == "doc"
41
41
  Requires-Dist: numpy==2.2.6 ; extra == "doc"
42
42
  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"
43
+ Requires-Dist: pandas==2.3.0 ; extra == "doc"
44
+ Requires-Dist: panel==1.7.1 ; extra == "doc"
45
+ Requires-Dist: plotly==6.1.2 ; extra == "doc"
46
46
  Requires-Dist: pypandoc==1.15 ; extra == "doc"
47
47
  Requires-Dist: pytest-sphinx==0.6.3 ; extra == "doc"
48
48
  Requires-Dist: pythreejs==2.4.2 ; extra == "doc"
@@ -60,8 +60,8 @@ Requires-Dist: usd-core==25.5.1 ; extra == "graphics"
60
60
  Requires-Dist: ansys-platform-instancemanagement>=1.0.1 ; extra == "pim"
61
61
  Requires-Dist: rpyc==6.0.2 ; extra == "rpc"
62
62
  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"
63
+ Requires-Dist: pytest==8.4.0 ; extra == "tests"
64
+ Requires-Dist: pytest-cov==6.2.1 ; extra == "tests"
65
65
  Requires-Dist: pytest-print==1.1.0 ; extra == "tests"
66
66
  Requires-Dist: psutil==7.0.0 ; extra == "tests"
67
67
  Requires-Dist: ansys-tools-visualization-interface>=0.2.6 ; extra == "viz"
@@ -2,13 +2,13 @@ ansys/mechanical/core/__init__.py,sha256=Xms2JFo4k9XLej_v_FjkPrL3sKCVBOVedYWg_xp
2
2
  ansys/mechanical/core/_version.py,sha256=nRlEBl4c6kNOE78hhqJwYuPk86jhu70lOSRuZphT81M,1763
3
3
  ansys/mechanical/core/errors.py,sha256=k0hJ89FwbFexLsjVApCbqfy2K7d-MekTPf3-QdtXZK4,4508
4
4
  ansys/mechanical/core/feature_flags.py,sha256=bIRHaURLi70Yor1aJH3Fhlt9xvvyr9GG7JcJ1V59GNg,2078
5
- ansys/mechanical/core/ide_config.py,sha256=52LSLVQQJxcPxmii8plvsSgfzDt55kSI7M9z7mUuEv0,7784
5
+ ansys/mechanical/core/ide_config.py,sha256=l3Cq8snhcokMYMm4Bjw2o2JHxvPthfqvkyCeZGt085w,7784
6
6
  ansys/mechanical/core/launcher.py,sha256=Rd5kDcC58MZIjsk2d40Bx4qc0DVHzrYuNA3irDvsFKA,6675
7
7
  ansys/mechanical/core/logging.py,sha256=TmIY5L-IrkyAQMKszotcbVCxyHLsMZQDAwbvcrSKwfs,24554
8
- ansys/mechanical/core/mechanical.py,sha256=Hc91dDJ_T2Kwhg1Dc1n-avsxCiUbTpzVdLGn4f-DJiM,85726
8
+ ansys/mechanical/core/mechanical.py,sha256=lZ68mPHcXLMZksxdYN1kQzGUkzJ_NTLT-T83ALQVeMw,85746
9
9
  ansys/mechanical/core/misc.py,sha256=f_LjwIvCGaHSIKJ6LuREbCr7gbv9rg2aFQaQ28Edna8,5369
10
10
  ansys/mechanical/core/pool.py,sha256=xii4fNxNH_Xnyom9-ZpvsyXCxoUxa2mDu8brS339B2Y,26572
11
- ansys/mechanical/core/run.py,sha256=wUsGPyZx2NwNlrdzIO1cWmDAZeZU0tOY1OvT-8pqjaw,9928
11
+ ansys/mechanical/core/run.py,sha256=Q4P3Y1fqg7azpb12QCwxg5ysB8KSg20WY8Zjy4_MPvc,9941
12
12
  ansys/mechanical/core/embedding/__init__.py,sha256=QAUe-offKZZDPz0IYBIUtYi4Dgt02_U93yTeSWXO9fU,1356
13
13
  ansys/mechanical/core/embedding/addins.py,sha256=6n3wCaD36cBbXWCbpniuABgvW6uBSN6xYXA5KkNgfLg,2167
14
14
  ansys/mechanical/core/embedding/app.py,sha256=oln6S13lwec300mngN4x2mCCtrKWx066oMOmR6c38gc,24956
@@ -46,8 +46,8 @@ ansys/mechanical/core/embedding/rpc/server.py,sha256=lYnSJyQm1dDytR_Hts280C5EldX
46
46
  ansys/mechanical/core/embedding/rpc/utils.py,sha256=SKEYy-XoukyjzARH4yAdb4DVnWuU_2SbxprLU49p-9o,4666
47
47
  ansys/mechanical/core/examples/__init__.py,sha256=Y0T8CKmaALL3diLfhsz3opfBgckD85DfHdzDrVsSwzg,1267
48
48
  ansys/mechanical/core/examples/downloads.py,sha256=shNBkg3XGwQkrhSAvGOUbV-hYv9BXE5e_-PnoCrciSQ,4293
49
- ansys_mechanical_core-0.11.18.dist-info/entry_points.txt,sha256=tErx6bIM27HGgwyM6ryyTUTw30Ab2F9J3FFkX2TPkhI,130
50
- ansys_mechanical_core-0.11.18.dist-info/licenses/LICENSE,sha256=AVOPDv4UX26lKidhDvFf_fMR13Pr-n4wVAYSVyvD7Ww,1098
51
- ansys_mechanical_core-0.11.18.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
52
- ansys_mechanical_core-0.11.18.dist-info/METADATA,sha256=K5MzYbDLjQjhLlZKY2Ho_GkTiSGk7uv3MkNL_oDfvps,10670
53
- ansys_mechanical_core-0.11.18.dist-info/RECORD,,
49
+ ansys_mechanical_core-0.11.20.dist-info/entry_points.txt,sha256=tErx6bIM27HGgwyM6ryyTUTw30Ab2F9J3FFkX2TPkhI,130
50
+ ansys_mechanical_core-0.11.20.dist-info/licenses/LICENSE,sha256=AVOPDv4UX26lKidhDvFf_fMR13Pr-n4wVAYSVyvD7Ww,1098
51
+ ansys_mechanical_core-0.11.20.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
52
+ ansys_mechanical_core-0.11.20.dist-info/METADATA,sha256=UG8k-IVZGydJYTwwcFyYmUIjNDAB26DsFcSuZNvk5SQ,10670
53
+ ansys_mechanical_core-0.11.20.dist-info/RECORD,,