Skip to content

Commit cd8162e

Browse files
committed
Merge branch 'main' into release/2024.1
2 parents 78e54a9 + 218d8e0 commit cd8162e

File tree

15 files changed

+182
-112
lines changed

15 files changed

+182
-112
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto !eol
Lines changed: 87 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,87 @@
1-
name: Create milestones for Ansys Release
2-
on:
3-
workflow_dispatch:
4-
inputs:
5-
release-date:
6-
description: 'Milestone release date (format must be YYYY/MM/DD)'
7-
required: true
8-
default: '2023/01/30'
9-
10-
env:
11-
MAIN_PYTHON_VERSION: '3.11'
12-
13-
jobs:
14-
create-milestone:
15-
name: Create a milestone in ${{ matrix.pyansys-projects }}
16-
runs-on: ubuntu-latest
17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
pyansys-projects:
21-
[
22-
"ansys/pyadditive",
23-
"ansys/pyaedt",
24-
"ansys/pyansys-geometry",
25-
"ansys/pyansys-math",
26-
"ansys/pydpf-core",
27-
"ansys/pydpf-post",
28-
"ansys/pydpf-composites",
29-
"ansys/pydyna",
30-
"ansys/pydynamicreporting",
31-
"ansys/pyedb-core",
32-
"ansys/pyensight",
33-
"ansys/pyfluent",
34-
"ansys/pygranta",
35-
"ansys/pymapdl",
36-
"ansys/pymechanical",
37-
"ansys/pymotorcad",
38-
"ansys/pyoptislang",
39-
"ansys/pypim",
40-
"ansys/pyprimemesh",
41-
"ansys/pyseascape",
42-
"ansys/pysherlock",
43-
"ansys/pysystem-coupling",
44-
"ansys/pyturbogrid",
45-
"ansys/pytwin",
46-
"ansys/openapi-common",
47-
# MAPDL - ALL
48-
"ansys/pymapdl-reader",
49-
# FLUENT - ALL
50-
"ansys/pyfluent-parametric",
51-
"ansys/pyfluent-visualization",
52-
# TOOLS
53-
"ansys/ansys-tools-path",
54-
"ansys/ansys-tools-protoc-helper",
55-
"ansys/pyansys-tools-report",
56-
"ansys/pyansys-tools-versioning",
57-
"ansys/pyansys-units",
58-
]
59-
steps:
60-
- uses: actions/checkout@v4
61-
62-
- name: Set up Python ${{ env.MAIN_PYTHON_VERSION }}
63-
uses: actions/setup-python@v5
64-
with:
65-
python-version: ${{ env.MAIN_PYTHON_VERSION }}
66-
67-
- name: Linux pip cache
68-
uses: actions/cache@v4
69-
if: ${{ runner.os == 'Linux' }}
70-
with:
71-
path: ~/.cache/pip
72-
key: Python-${{ runner.os }}-create-milestone
73-
74-
- name: Install requirements
75-
run: |
76-
pip install pygithub
77-
78-
- name: Create the milestone
79-
env:
80-
TOKEN: ${{ secrets.CREATE_MILESTONE_TOKEN }}
81-
REPOSITORY: ${{ matrix.pyansys-projects }}
82-
RELEASE_DATE: ${{ github.event.inputs.release-date }}
83-
run: |
84-
python tools/milestone.py
1+
name: Create milestones for Ansys Release
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
release-date:
6+
description: 'Milestone release date (format must be YYYY/MM/DD)'
7+
required: true
8+
default: '2023/01/30'
9+
10+
env:
11+
MAIN_PYTHON_VERSION: '3.11'
12+
13+
jobs:
14+
create-milestone:
15+
name: Create a milestone in ${{ matrix.pyansys-projects }}
16+
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
pyansys-projects:
21+
[
22+
"ansys/openapi-common",
23+
"ansys/pyadditive",
24+
"ansys/pyaedt",
25+
"ansys/pyansys-geometry",
26+
"ansys/pyansys-math",
27+
"ansys/pydpf-core",
28+
"ansys/pydpf-post",
29+
"ansys/pydpf-composites",
30+
"ansys/pydyna",
31+
"ansys/pydynamicreporting",
32+
"ansys/pyedb-core",
33+
"ansys/pyensight",
34+
"ansys/pyfluent",
35+
"ansys/pygranta",
36+
"ansys/pyhps",
37+
"ansys/pymapdl",
38+
"ansys/pymechanical",
39+
"ansys/pymotorcad",
40+
"ansys/pyoptislang",
41+
"ansys/pypim",
42+
"ansys/pyprimemesh",
43+
"ansys/pyrocky",
44+
"ansys/pyseascape",
45+
"ansys/pysherlock",
46+
"ansys/pysimai",
47+
"ansys/pysystem-coupling",
48+
"ansys/pyturbogrid",
49+
"ansys/pytwin",
50+
# MAPDL - ALL
51+
"ansys/pymapdl-reader",
52+
# FLUENT - ALL
53+
"ansys/pyfluent-parametric",
54+
"ansys/pyfluent-visualization",
55+
# TOOLS
56+
"ansys/ansys-tools-path",
57+
"ansys/ansys-tools-protoc-helper",
58+
"ansys/pyansys-tools-report",
59+
"ansys/pyansys-tools-versioning",
60+
"ansys/pyansys-units",
61+
]
62+
steps:
63+
- uses: actions/checkout@v4
64+
65+
- name: Set up Python ${{ env.MAIN_PYTHON_VERSION }}
66+
uses: actions/setup-python@v5
67+
with:
68+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
69+
70+
- name: Linux pip cache
71+
uses: actions/cache@v4
72+
if: ${{ runner.os == 'Linux' }}
73+
with:
74+
path: ~/.cache/pip
75+
key: Python-${{ runner.os }}-create-milestone
76+
77+
- name: Install requirements
78+
run: |
79+
pip install pygithub
80+
81+
- name: Create the milestone
82+
env:
83+
TOKEN: ${{ secrets.CREATE_MILESTONE_TOKEN }}
84+
REPOSITORY: ${{ matrix.pyansys-projects }}
85+
RELEASE_DATE: ${{ github.event.inputs.release-date }}
86+
run: |
87+
python tools/milestone.py

.pre-commit-config.yaml

Lines changed: 3 additions & 3 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.1.1
4+
rev: 24.2.0
55
hooks:
66
- id: black
77

@@ -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.27.3
41+
rev: 0.28.0
4242
hooks:
4343
- id: check-github-workflows
4444

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

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,18 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
5959
- `PyFluent - Parametric <https://parametric.fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent parametric workflows.
6060
- `PyFluent - Visualization <https://visualization.fluent.docs.pyansys.com/>`_: Pythonic interface to visualize Ansys Fluent simulations.
6161
- `PyGranta <https://grantami.docs.pyansys.com/>`_: Pythonic interface to Ansys Granta MI services.
62+
- `PyHPS <https://hps.docs.pyansys.com/version/dev/>`_: A Python client for Ansys HPC Platform Services (HPS).
6263
- `PyMAPDL <https://mapdl.docs.pyansys.com/>`_: Pythonic interface to Ansys MAPDL (Mechanical APDL).
6364
- `PyMAPDL Reader <https://reader.docs.pyansys.com/>`_: Pythonic interface to read legacy MAPDL result files (MAPDL 14.5 and later).
6465
- `PyMechanical <https://mechanical.docs.pyansys.com/>`_: Pythonic interface to Ansys Mechanical.
6566
- `PyMotorCAD <https://motorcad.docs.pyansys.com/>`_: Pythonic interface to Ansys Motor-CAD.
6667
- `PyOptislang <https://optislang.docs.pyansys.com/>`_: Pythonic interface to Ansys Optislang.
6768
- `PyPIM <https://pypim.docs.pyansys.com/>`_: Pythonic interface to communicate with the Ansys PIM (Product Instance Management) API.
6869
- `PyPrimeMesh <https://prime.docs.pyansys.com/>`_: Pythonic interface to Ansys Prime Server, which delivers core Ansys meshing technology.
70+
- `PyRocky <https://rocky.docs.pyansys.com/>`_: Python library to communicate with Ansys Rocky using Rocky PrePost API.
6971
- `PySeascape <https://seascape.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys RedHawkSC and TotemSC.
7072
- `PySherlock <https://sherlock.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys Sherlock.
73+
- `PySimAI <https://simai.docs.pyansys.com/>`_: Pythonic interface to use SimAI.
7174
- `PySystemCoupling <https://systemcoupling.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys System Coupling.
7275
- `PyTurboGrid <https://turbogrid.docs.pyansys.com/>`_: Pythonic interface to Ansys TurboGrid, a high-quality turbomachinery meshing software app.
7376
- `PyTwin <https://twin.docs.pyansys.com/>`_: Pythonic interface to communicate with consumption workflows for Ansys digital twins.
@@ -101,14 +104,17 @@ By default, the PyAnsys metapackage installs these core modules:
101104
- `PyEnSight`_
102105
- `PyFluent`_
103106
- `PyGranta`_
107+
- `PyHPS`_
104108
- `PyMAPDL`_
105109
- `PyMechanical`_
106110
- `PyMotorCAD`_
107111
- `PyOptislang`_
108112
- `PyPIM`_
109113
- `PyPrimeMesh`_
114+
- `PyRocky`_
110115
- `PySeascape`_
111116
- `PySherlock`_
117+
- `PySimAI`_
112118
- `PySystemCoupling`_
113119
- `PyTurboGrid`_
114120
- `PyTwin`_
@@ -173,7 +179,7 @@ commands:
173179

174180
.. code:: bash
175181
176-
unzip pyansys-v2024.1.5-wheelhouse-Linux-3.9-core.zip wheelhouse
182+
unzip pyansys-v2024.2.dev0-wheelhouse-Linux-3.9-core.zip wheelhouse
177183
pip install pyansys -f wheelhouse --no-index --upgrade --ignore-installed
178184
179185
If you're on Windows with Python 3.9, unzip to a wheelhouse directory and then install using
-5.34 KB
Loading
20.2 KB
Loading
25.3 KB
Loading
227 KB
Loading

doc/source/api.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ PyAnsys packages API reference
111111
:text-align: center
112112
:class-title: pyansys-card-title
113113

114+
.. grid-item-card:: PyHPS
115+
:img-top: _static/thumbnails/intro.png
116+
:link: https://hps.docs.pyansys.com/version/stable/api/index.html
117+
:text-align: center
118+
:class-title: pyansys-card-title
119+
114120
.. grid-item-card:: PyMAPDL
115121
:img-top: _static/thumbnails/pymapdl.png
116122
:link: https://mapdl.docs.pyansys.com/version/0.67/api/index.html
@@ -153,6 +159,12 @@ PyAnsys packages API reference
153159
:text-align: center
154160
:class-title: pyansys-card-title
155161

162+
.. grid-item-card:: PyRocky
163+
:img-top: _static/thumbnails/pyrocky.png
164+
:link: https://rocky.docs.pyansys.com/version/stable/api/index.html
165+
:text-align: center
166+
:class-title: pyansys-card-title
167+
156168
.. grid-item-card:: PySeascape
157169
:img-top: _static/thumbnails/intro.png
158170
:link: https://seascape.docs.pyansys.com/version/0.2/#usage
@@ -165,6 +177,12 @@ PyAnsys packages API reference
165177
:text-align: center
166178
:class-title: pyansys-card-title
167179

180+
.. grid-item-card:: PySimAI
181+
:img-top: _static/thumbnails/intro.png
182+
:link: https://simai.docs.pyansys.com/version/stable/api_reference.html
183+
:text-align: center
184+
:class-title: pyansys-card-title
185+
168186
.. grid-item-card:: PySystemCoupling
169187
:img-top: _static/thumbnails/pysystem-coupling.png
170188
:link: https://systemcoupling.docs.pyansys.com/version/0.3/api/index.html

doc/source/examples.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ PyAnsys packages examples
100100
:text-align: center
101101
:class-title: pyansys-card-title
102102

103+
.. grid-item-card:: PyHPS
104+
:img-top: _static/thumbnails/intro.png
105+
:link: https://hps.docs.pyansys.com/version/stable/examples/index.html
106+
:text-align: center
107+
:class-title: pyansys-card-title
108+
103109
.. grid-item-card:: PyMAPDL
104110
:img-top: _static/thumbnails/pymapdl.png
105111
:link: https://mapdl.docs.pyansys.com/version/0.67/examples/index.html
@@ -142,6 +148,12 @@ PyAnsys packages examples
142148
:text-align: center
143149
:class-title: pyansys-card-title
144150

151+
.. grid-item-card:: PyRocky
152+
:img-top: _static/thumbnails/pyrocky.png
153+
:link: https://rocky.docs.pyansys.com/version/stable/examples/index.html
154+
:text-align: center
155+
:class-title: pyansys-card-title
156+
145157
.. grid-item-card:: PySeascape
146158
:img-top: _static/thumbnails/intro.png
147159
:link: https://seascape.docs.pyansys.com/version/0.2/#examples
@@ -154,6 +166,12 @@ PyAnsys packages examples
154166
:text-align: center
155167
:class-title: pyansys-card-title
156168

169+
.. grid-item-card:: PySimAI
170+
:img-top: _static/thumbnails/intro.png
171+
:link: https://simai.docs.pyansys.com/version/stable/index.html#getting-started
172+
:text-align: center
173+
:class-title: pyansys-card-title
174+
157175
.. grid-item-card:: PySystemCoupling
158176
:img-top: _static/thumbnails/pysystem-coupling.png
159177
:link: https://systemcoupling.docs.pyansys.com/version/0.3/examples/index.html

0 commit comments

Comments
 (0)