Skip to content

Commit 3d7293b

Browse files
committed
Merge branch 'main' into release/2024.2
2 parents 1180c5c + 46d8e83 commit 3d7293b

File tree

19 files changed

+370
-93
lines changed

19 files changed

+370
-93
lines changed

.github/workflows/create-milestone.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ jobs:
1919
matrix:
2020
pyansys-projects:
2121
[
22-
"ansys/openapi-common",
2322
"ansys/pyacp",
2423
"ansys/pyadditive",
24+
"ansys/pyadditive-widgets",
2525
"ansys/pyaedt",
2626
"ansys/pyansys-geometry",
2727
"ansys/pyansys-math",
28+
"ansys/pyconceptev",
2829
"ansys/pydpf-core",
2930
"ansys/pydpf-post",
3031
"ansys/pydpf-composites",
@@ -50,17 +51,23 @@ jobs:
5051
"ansys/pysystem-coupling",
5152
"ansys/pyturbogrid",
5253
"ansys/pytwin",
54+
"ansys/pyworkbench",
5355
# MAPDL - ALL
5456
"ansys/pymapdl-reader",
5557
# FLUENT - ALL
5658
"ansys/pyfluent-parametric",
5759
"ansys/pyfluent-visualization",
5860
# TOOLS
61+
"ansys/ansys-tools-filetransfer",
62+
"ansys/ansys-tools-local-product-launcher",
5963
"ansys/ansys-tools-path",
6064
"ansys/ansys-tools-protoc-helper",
65+
"ansys/ansys-tools-visualization-interface",
6166
"ansys/pyansys-tools-report",
6267
"ansys/pyansys-tools-versioning",
6368
"ansys/pyansys-units",
69+
"ansys/pyansys-tools-variableinterop",
70+
"ansys/pymaterials-manager",
6471
]
6572
steps:
6673
- uses: actions/checkout@v4
@@ -87,4 +94,4 @@ jobs:
8794
REPOSITORY: ${{ matrix.pyansys-projects }}
8895
RELEASE_DATE: ${{ github.event.inputs.release-date }}
8996
run: |
90-
python tools/milestone.py
97+
python tools/milestone.py

.github/workflows/update-gh-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ jobs:
1717

1818
- name: Replace 'version/stable' with 'version/dev' in index.html
1919
run: |
20-
sed -i 's/version\/stable/version\/dev/g' index.html
20+
# Replace landing page with the dev version
21+
cp version/dev/index.html index.html
22+
sed -i 's/href="\([^:"]*\)"/href="version\/dev\/\1"/g' index.html
23+
sed -i 's/src="\([^:"]*\)"/src="version\/dev\/\1"/g' index.html
24+
# Replace "version/stable" with "version/dev" in the sitemap.xml
25+
sed -i 's/version\/stable/version\/dev/g' sitemap.xml
2126
2227
- name: "Commit changes"
2328
uses: EndBug/add-and-commit@v9
2429
with:
2530
default_author: github_actions
26-
message: "update index.html"
31+
message: "update index.html"

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22

33
- repo: https://github.com/psf/black
4-
rev: 24.4.0
4+
rev: 24.4.2
55
hooks:
66
- id: black
77

@@ -11,12 +11,12 @@ repos:
1111
- id: isort
1212

1313
- repo: https://github.com/PyCQA/flake8
14-
rev: 7.0.0
14+
rev: 7.1.0
1515
hooks:
1616
- id: flake8
1717

1818
- repo: https://github.com/codespell-project/codespell
19-
rev: v2.2.6
19+
rev: v2.3.0
2020
hooks:
2121
- id: codespell
2222
args: ["--ignore-words=ignore_words.txt"]
@@ -38,12 +38,12 @@ repos:
3838

3939
# this validates our github workflow files
4040
- repo: https://github.com/python-jsonschema/check-jsonschema
41-
rev: 0.28.2
41+
rev: 0.28.6
4242
hooks:
4343
- id: check-github-workflows
4444

4545
- repo: https://github.com/ansys/pre-commit-hooks
46-
rev: v0.2.9
46+
rev: v0.3.1
4747
hooks:
4848
- id: add-license-headers
4949
args:

LICENSE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
MIT License
22

3-
Copyright (c) 2024 ANSYS, Inc. All rights reserved.
3+
Copyright (c) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9+
of the Software, and to permit persons to whom the Software is furnished to do
10+
so, subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.

README.rst

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,18 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
4646

4747
- `PyACP <https://acp.docs.pyansys.com/>`_: Pythonic interface to Ansys Composite PrepPost (ACP).
4848
- `PyAdditive <https://additive.docs.pyansys.com/>`_: Pythonic interface to the Ansys Additive service.
49-
- `PyAEDT <https://aedt.docs.pyansys.com/>`_: Pythonic interface to AEDT (Ansys Electronics Desktop).
49+
- `PyAdditive Widgets <https://widgets.additive.docs.pyansys.com/>`_: PyAdditive widget toolkit to visualize additive parametric study results.
50+
- `PyAEDT <https://aedt.docs.pyansys.com/>`_: Pythonic interface to Ansys Electronics Desktop (AEDT).
5051
- `PyAnsys Geometry <https://geometry.docs.pyansys.com/>`_: Pythonic interface to the Ansys Geometry service.
5152
- `PyAnsys Math <https://math.docs.pyansys.com/>`_: Pythonic interface to PyAnsys Math libraries.
52-
- `PyDPF - Core <https://dpf.docs.pyansys.com/>`_: Pythonic interface to Ansys DPF (Data Processing Framework) for building more advanced and customized workflows.
53+
- `PyConceptEV <https://conceptev.docs.pyansys.com/>`_: Pythonic interface to Ansys ConceptEV library.
54+
- `PyDPF - Core <https://dpf.docs.pyansys.com/>`_: Pythonic interface to the Data Processing Framework (DPF) for building advanced and customized workflows.
5355
- `PyDPF - Post <https://post.docs.pyansys.com/>`_: Pythonic interface to access and post process Ansys solver result files.
54-
- `PyDPF - Composites <https://composites.dpf.docs.pyansys.com/>`_: Pythonic interface for DPF's postprocessing of layered and short-fiber composite models.
55-
- `PyDyna <https://dyna.docs.pyansys.com/>`_: Pythonic interface to build the Ansys DYNA input deck, submit it to the Ansys LS-DYNA solver and postprocess its results.
56+
- `PyDPF - Composites <https://composites.dpf.docs.pyansys.com/>`_: Pythonic interface to postprocess layered and short-fiber composite models.
57+
- `PyDyna <https://dyna.docs.pyansys.com/>`_: Pythonic interface to build the Ansys DYNA input deck, submit it to the Ansys LS-DYNA solver, and postprocess its results.
5658
- `PyDynamicReporting <https://dynamicreporting.docs.pyansys.com/>`_: Pythonic interface to Ansys Dynamic Reporting for service and control of its database and reports.
57-
- `PyEDB <https://edb.docs.pyansys.com/>`_: Pythonic interface to use the Electronics Database (EDB) client library.
58-
- `PyEDB - Core <https://edb.core.docs.pyansys.com/>`_: Pythonic interface to the Electronics Database (EDB).
59+
- `PyEDB <https://edb.docs.pyansys.com/>`_: Pythonic interface to the Ansys Electronics Database (EDB) client library.
60+
- `PyEDB - Core <https://edb.core.docs.pyansys.com/>`_: Pythonic interface to Ansys Electronics Database (EDB).
5961
- `PyEnSight <https://ensight.docs.pyansys.com/>`_: Pythonic interface to EnSight, the Ansys simulation postprocessor.
6062
- `PyFluent <https://fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent.
6163
- `PyFluent - Parametric <https://parametric.fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent parametric workflows.
@@ -67,25 +69,31 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
6769
- `PyMechanical <https://mechanical.docs.pyansys.com/>`_: Pythonic interface to Ansys Mechanical.
6870
- `PyModelCenter <https://modelcenter.docs.pyansys.com/version/stable/>`_: Pythonic interface for Ansys ModelCenter
6971
- `PyMotorCAD <https://motorcad.docs.pyansys.com/>`_: Pythonic interface to Ansys Motor-CAD.
70-
- `PyOptislang <https://optislang.docs.pyansys.com/>`_: Pythonic interface to Ansys Optislang.
72+
- `PyOptislang <https://optislang.docs.pyansys.com/>`_: Pythonic interface to Ansys optislang.
7173
- `PyPIM <https://pypim.docs.pyansys.com/>`_: Pythonic interface to communicate with the Ansys PIM (Product Instance Management) API.
72-
- `PyPrimeMesh <https://prime.docs.pyansys.com/>`_: Pythonic interface to Ansys Prime Server, which delivers core Ansys meshing technology.
74+
- `PyPrimeMesh <https://prime.docs.pyansys.com/>`_: Python library to acquire geometries and prepare surface and volume meshes for multiple solvers.
7375
- `PyRocky <https://rocky.docs.pyansys.com/>`_: Python library to communicate with Ansys Rocky using Rocky PrePost API.
7476
- `PySeascape <https://seascape.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys RedHawkSC and TotemSC.
7577
- `PySherlock <https://sherlock.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys Sherlock.
7678
- `PySimAI <https://simai.docs.pyansys.com/>`_: Pythonic interface to use SimAI.
7779
- `PySystemCoupling <https://systemcoupling.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys System Coupling.
7880
- `PyTurboGrid <https://turbogrid.docs.pyansys.com/>`_: Pythonic interface to Ansys TurboGrid, a high-quality turbomachinery meshing software app.
7981
- `PyTwin <https://twin.docs.pyansys.com/>`_: Pythonic interface to communicate with consumption workflows for Ansys digital twins.
82+
- `PyWorkbench <https://workbench.docs.pyansys.com/>`_: Pythonic interface to Ansys Workbench.
8083
- `Shared Components <https://shared.docs.pyansys.com/>`_: Shared Ansys software components to enable package interoperability and minimize maintenance.
8184

8285
Other tools delivered as part of the metapackage are:
8386

87+
- `Ansys FileTransfer Tool <https://filetransfer.tools.docs.pyansys.com/>`_: Simple gRPC API tool for moving files between a client and a remote server.
88+
- `Ansys Local Product Launcher <https://local-product-launcher.tools.docs.pyansys.com/>`_: Python utility for launching Ansys products on a local machine and configuring their launch settings.
8489
- `Ansys Tools Path <https://path.tools.docs.pyansys.com/>`_: Library to locate Ansys products in a local machine.
8590
- `Ansys Tools Protobuf Compilation Helper <https://ansys.github.io/ansys-tools-protoc-helper/>`_: Utility library to compile ``.proto`` files to Python source when building the package wheel.
91+
- `Ansys Tools Visualization Interface <https://visualization-interface.tools.docs.pyansys.com/>`_: Python interface between PyAnsys libraries and plotting backends
8692
- `PyAnsys Tools Report <https://report.tools.docs.pyansys.com/>`_: Tool for reporting your Python environment's package versions and hardware resources in a standardized way.
93+
- `PyAnsys Tools Variable Interop <https://variableinterop.docs.pyansys.com/>`_: Tool for defining basic variables, types, metadata, and values intended to provide interoperability between all products.
8794
- `PyAnsys Tools Versioning <https://versioning.tools.docs.pyansys.com/>`_: Tool for backwards and forwards server support.
8895
- `PyAnsys Units <https://units.docs.pyansys.com/>`_: Pythonic interface for units, unit systems, and unit conversions.
96+
- `PyMaterials Manager <https://manager.materials.docs.pyansys.com/>`_: Python package for unifying material management across the Ansys portfolio.
8997

9098
Much effort is underway to continue expanding and developing packages in the
9199
`PyAnsys GitHub <https://github.com/ansys/>`__ account. On the ``Issues`` page
@@ -96,9 +104,11 @@ By default, the PyAnsys metapackage installs these core modules:
96104

97105
- `PyACP`_
98106
- `PyAdditive`_
107+
- `PyAdditive Widgets`_
99108
- `PyAEDT`_
100109
- `PyAnsys Geometry`_
101110
- `PyAnsys Math`_
111+
- `PyConceptEV`_
102112
- `PyDPF - Core`_
103113
- `PyDPF - Post`_
104114
- `PyDPF - Composites`_
@@ -123,14 +133,15 @@ By default, the PyAnsys metapackage installs these core modules:
123133
- `PySystemCoupling`_
124134
- `PyTurboGrid`_
125135
- `PyTwin`_
136+
- `PyWorkbench`_
126137
- `Shared Components`_
127138

128139
Additionally, the ``pyansys`` metapackage contains certain extra targets that
129140
can be installed upon request:
130141

131142
- **mapdl-all**: This target installs the core packages and `PyMAPDL Reader`_.
132143
- **fluent-all**: This target installs the core packages, `PyFluent - Parametric`_, and `PyFluent - Visualization`_.
133-
- **tools**: This target installs the core packages, `Ansys Tools Path`_, `Ansys Tools Protobuf Compilation Helper`_, `PyAnsys Tools Versioning`_, `PyAnsys Tools Report`_, and `PyAnsys Units`_.
144+
- **tools**: This target installs the core packages, `Ansys FileTransfer Tool`_, `Ansys Local Product Launcher`_, `Ansys Tools Path`_, `Ansys Tools Protobuf Compilation Helper`_, `PyAnsys Tools Report`_, `PyAnsys Tools Variable Interop`_, `PyAnsys Tools Versioning`_, `PyAnsys Units`_, and `PyMaterials Manager`_.
134145
- **all**: This target installs all extra ``pyansys`` packages.
135146

136147
Package installation
6.25 KB
Loading
27.1 KB
Loading
74.3 KB
Loading

doc/source/api.rst

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ PyAnsys packages API reference
3333
:text-align: center
3434
:class-title: pyansys-card-title
3535

36+
.. grid-item-card:: PyAdditive Widgets
37+
:img-top: _static/thumbnails/intro.png
38+
:link: https://widgets.additive.docs.pyansys.com/version/stable/api/index.html
39+
:text-align: center
40+
:class-title: pyansys-card-title
41+
3642
.. grid-item-card:: PyAEDT
3743
:img-top: _static/thumbnails/pyaedt.png
3844
:link: https://aedt.docs.pyansys.com/version/stable/API/index.html
@@ -51,6 +57,12 @@ PyAnsys packages API reference
5157
:text-align: center
5258
:class-title: pyansys-card-title
5359

60+
.. grid-item-card:: PyConceptEV
61+
:img-top: _static/thumbnails/pyconceptev.png
62+
:link: https://conceptev.docs.pyansys.com/version/stable/api_ref.html
63+
:text-align: center
64+
:class-title: pyansys-card-title
65+
5466
.. grid-item-card:: PyDPF - Core
5567
:img-top: _static/thumbnails/pydpf-core.png
5668
:link: https://dpf.docs.pyansys.com/version/stable/api/index.html
@@ -88,7 +100,7 @@ PyAnsys packages API reference
88100
:class-title: pyansys-card-title
89101

90102
.. grid-item-card:: PyEDB - Core
91-
:img-top: _static/thumbnails/pyaedt.png
103+
:img-top: _static/thumbnails/pyedb.png
92104
:link: https://edb.core.docs.pyansys.com/version/stable/api/index.html
93105
:text-align: center
94106
:class-title: pyansys-card-title
@@ -118,7 +130,7 @@ PyAnsys packages API reference
118130
:class-title: pyansys-card-title
119131

120132
.. grid-item-card:: PyGranta
121-
:img-top: _static/thumbnails/intro.png
133+
:img-top: _static/thumbnails/pygranta.png
122134
:link: https://grantami.docs.pyansys.com/version/stable/api.html
123135
:text-align: center
124136
:class-title: pyansys-card-title
@@ -219,8 +231,14 @@ PyAnsys packages API reference
219231
:text-align: center
220232
:class-title: pyansys-card-title
221233

234+
.. grid-item-card:: PyWorkbench
235+
:img-top: _static/thumbnails/intro.png
236+
:link: https://workbench.docs.pyansys.com/version/stable/api/index.html
237+
:text-align: center
238+
:class-title: pyansys-card-title
239+
222240
.. grid-item-card:: Shared Components - OpenAPI Common
223241
:img-top: _static/thumbnails/intro.png
224-
:link: https://openapi.docs.pyansys.com/api/index.html
242+
:link: https://openapi.docs.pyansys.com/version/stable/api/index.html
225243
:text-align: center
226244
:class-title: pyansys-card-title

doc/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
extensions = [
3737
"sphinx_design",
3838
"sphinx_copybutton",
39+
"sphinxcontrib.mermaid",
3940
]
4041

4142
html_context = {
@@ -101,6 +102,7 @@
101102
# Ignore certain URLs
102103
linkcheck_ignore = [
103104
r"https://www.ansys.com/.*",
105+
rf"https://pypi.org/project/pyansys/{switcher_version}.*",
104106
]
105107

106108
# User agent

0 commit comments

Comments
 (0)