Skip to content

Commit 16b1bbd

Browse files
committed
Merge branch 'main' into release/2024.1
2 parents 460b00d + 6a91008 commit 16b1bbd

File tree

12 files changed

+79
-79
lines changed

12 files changed

+79
-79
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
[flake8]
3+
max-line-length = 100

.github/workflows/create-milestone.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
"ansys/pydynamicreporting",
3131
"ansys/pyensight",
3232
"ansys/pyfluent",
33+
"ansys/pygranta",
3334
"ansys/pymapdl",
3435
"ansys/pymechanical",
3536
"ansys/pymotorcad",
@@ -41,8 +42,6 @@ jobs:
4142
"ansys/pysystem-coupling",
4243
"ansys/pyturbogrid",
4344
"ansys/pytwin",
44-
"ansys/grantami-bomanalytics",
45-
"ansys/grantami-recordlists",
4645
"ansys/openapi-common",
4746
# MAPDL - ALL
4847
"ansys/pymapdl-reader",
@@ -65,7 +64,7 @@ jobs:
6564
python-version: ${{ env.MAIN_PYTHON_VERSION }}
6665

6766
- name: Linux pip cache
68-
uses: actions/cache@v3
67+
uses: actions/cache@v4
6968
if: ${{ runner.os == 'Linux' }}
7069
with:
7170
path: ~/.cache/pip

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: isort
1212

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

@@ -41,3 +41,10 @@ repos:
4141
rev: 0.27.3
4242
hooks:
4343
- id: check-github-workflows
44+
45+
- repo: https://github.com/ansys/pre-commit-hooks
46+
rev: v0.2.8
47+
hooks:
48+
- id: add-license-headers
49+
args:
50+
- --start_year=2022

README.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
4949
- `PyFluent <https://fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent.
5050
- `PyFluent - Parametric <https://parametric.fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent parametric workflows.
5151
- `PyFluent - Visualization <https://visualization.fluent.docs.pyansys.com/>`_: Pythonic interface to visualize Ansys Fluent simulations.
52+
- `PyGranta <https://grantami.docs.pyansys.com/>`_: Pythonic interface to Ansys Granta MI services.
5253
- `PyMAPDL <https://mapdl.docs.pyansys.com/>`_: Pythonic interface to Ansys MAPDL (Mechanical APDL).
5354
- `PyMAPDL Reader <https://reader.docs.pyansys.com/>`_: Pythonic interface to read legacy MAPDL result files (MAPDL 14.5 and later).
5455
- `PyMechanical <https://mechanical.docs.pyansys.com/>`_: Pythonic interface to Ansys Mechanical.
@@ -61,8 +62,6 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
6162
- `PySystemCoupling <https://systemcoupling.docs.pyansys.com/>`_: Pythonic interface to communicate with Ansys System Coupling.
6263
- `PyTurboGrid <https://turbogrid.docs.pyansys.com/>`_: Pythonic interface to Ansys TurboGrid, a high-quality turbomachinery meshing software app.
6364
- `PyTwin <https://twin.docs.pyansys.com/>`_: Pythonic interface to communicate with consumption workflows for Ansys digital twins.
64-
- `Granta MI BoM Analytics <https://bomanalytics.grantami.docs.pyansys.com/>`_: Pythonic interface to Ansys Granta MI BoM Analytics services.
65-
- `Granta MI RecordLists <https://recordlists.grantami.docs.pyansys.com/>`_: Pythonic interface to Ansys Granta MI Lists API.
6665
- `Shared Components <https://shared.docs.pyansys.com/>`_: Shared Ansys software components to enable package interoperability and minimize maintenance.
6766

6867
Other tools delivered as part of the metapackage are:
@@ -91,6 +90,7 @@ By default, the PyAnsys metapackage installs these core modules:
9190
- `PyDynamicReporting`_
9291
- `PyEnSight`_
9392
- `PyFluent`_
93+
- `PyGranta`_
9494
- `PyMAPDL`_
9595
- `PyMechanical`_
9696
- `PyMotorCAD`_
@@ -102,8 +102,6 @@ By default, the PyAnsys metapackage installs these core modules:
102102
- `PySystemCoupling`_
103103
- `PyTurboGrid`_
104104
- `PyTwin`_
105-
- `Granta MI BoM Analytics`_
106-
- `Granta MI RecordLists`_
107105
- `Shared Components`_
108106

109107
Additionally, the ``pyansys`` metapackage contains certain extra targets that

doc/source/api.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ PyAnsys packages API reference
9999
:text-align: center
100100
:class-title: pyansys-card-title
101101

102+
.. grid-item-card:: PyGranta
103+
:img-top: _static/thumbnails/intro.png
104+
:link: https://grantami.docs.pyansys.com/version/stable/api.html
105+
:text-align: center
106+
:class-title: pyansys-card-title
107+
102108
.. grid-item-card:: PyMAPDL
103109
:img-top: _static/thumbnails/pymapdl.png
104110
:link: https://mapdl.docs.pyansys.com/version/0.67/api/index.html
@@ -171,18 +177,6 @@ PyAnsys packages API reference
171177
:text-align: center
172178
:class-title: pyansys-card-title
173179

174-
.. grid-item-card:: Granta MI BoM Analytics
175-
:img-top: _static/thumbnails/intro.png
176-
:link: https://bomanalytics.grantami.docs.pyansys.com/version/1.2/api/index.html
177-
:text-align: center
178-
:class-title: pyansys-card-title
179-
180-
.. grid-item-card:: Granta MI RecordLists
181-
:img-top: _static/thumbnails/intro.png
182-
:link: https://recordlists.grantami.docs.pyansys.com/version/1.0/api/index.html
183-
:text-align: center
184-
:class-title: pyansys-card-title
185-
186180
.. grid-item-card:: Shared Components - OpenAPI Common
187181
:img-top: _static/thumbnails/intro.png
188182
:link: https://openapi.docs.pyansys.com/api/index.html

doc/source/examples.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ PyAnsys packages examples
8888
:text-align: center
8989
:class-title: pyansys-card-title
9090

91+
.. grid-item-card:: PyGranta
92+
:img-top: _static/thumbnails/intro.png
93+
:link: https://grantami.docs.pyansys.com/version/stable/examples.html
94+
:text-align: center
95+
:class-title: pyansys-card-title
96+
9197
.. grid-item-card:: PyMAPDL
9298
:img-top: _static/thumbnails/pymapdl.png
9399
:link: https://mapdl.docs.pyansys.com/version/0.67/examples/index.html
@@ -160,18 +166,6 @@ PyAnsys packages examples
160166
:text-align: center
161167
:class-title: pyansys-card-title
162168

163-
.. grid-item-card:: Granta MI BoM Analytics
164-
:img-top: _static/thumbnails/intro.png
165-
:link: https://bomanalytics.grantami.docs.pyansys.com/version/1.2/examples/index.html
166-
:text-align: center
167-
:class-title: pyansys-card-title
168-
169-
.. grid-item-card:: Granta MI RecordLists
170-
:img-top: _static/thumbnails/intro.png
171-
:link: https://recordlists.grantami.docs.pyansys.com/version/1.0/examples/index.html
172-
:text-align: center
173-
:class-title: pyansys-card-title
174-
175169
.. grid-item-card:: Shared Components - OpenAPI Common
176170
:img-top: _static/thumbnails/intro.png
177171
:link: https://openapi.docs.pyansys.com/index.html#brief-example

doc/source/index.rst

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ it is now a collection of many Python packages for using Ansys products through
122122

123123
Pythonic interface to visualize Ansys Fluent simulations
124124

125+
.. grid-item-card:: PyGranta
126+
:img-top: _static/thumbnails/intro.png
127+
:link: https://grantami.docs.pyansys.com/version/stable
128+
:text-align: center
129+
:class-title: pyansys-card-title
130+
131+
Pythonic interface to Ansys Granta MI services
132+
125133
.. grid-item-card:: PyMAPDL
126134
:img-top: _static/thumbnails/pymapdl.png
127135
:link: https://mapdl.docs.pyansys.com/version/0.67
@@ -218,25 +226,9 @@ it is now a collection of many Python packages for using Ansys products through
218226

219227
Pythonic interface to communicate with consumption workflows for Ansys digital twins
220228

221-
.. grid-item-card:: Granta MI BoM Analytics
222-
:img-top: _static/thumbnails/intro.png
223-
:link: https://bomanalytics.grantami.docs.pyansys.com/version/1.2
224-
:text-align: center
225-
:class-title: pyansys-card-title
226-
227-
Pythonic interface to Ansys Granta MI BoM Analytics services
228-
229-
.. grid-item-card:: Granta MI RecordLists
230-
:img-top: _static/thumbnails/intro.png
231-
:link: https://recordlists.grantami.docs.pyansys.com/version/1.0/
232-
:text-align: center
233-
:class-title: pyansys-card-title
234-
235-
Pythonic interface to Ansys Granta MI Lists API
236-
237229
.. grid-item-card:: Shared Components
238230
:img-top: _static/thumbnails/intro.png
239-
:link: https://shared.docs.pyansys.com/
231+
:link: https://shared.docs.pyansys.com
240232
:text-align: center
241233
:class-title: pyansys-card-title
242234

doc/source/user_guide.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ PyAnsys packages user guides
9191
:text-align: center
9292
:class-title: pyansys-card-title
9393

94+
.. grid-item-card:: PyGranta
95+
:img-top: _static/thumbnails/intro.png
96+
:link: https://grantami.docs.pyansys.com/version/stable/user_guide.html
97+
:text-align: center
98+
:class-title: pyansys-card-title
99+
94100
.. grid-item-card:: PyMAPDL
95101
:img-top: _static/thumbnails/pymapdl.png
96102
:link: https://mapdl.docs.pyansys.com/version/0.67/user_guide/index.html
@@ -163,18 +169,6 @@ PyAnsys packages user guides
163169
:text-align: center
164170
:class-title: pyansys-card-title
165171

166-
.. grid-item-card:: Granta MI BoM Analytics
167-
:img-top: _static/thumbnails/intro.png
168-
:link: https://bomanalytics.grantami.docs.pyansys.com/version/1.2/getting_started/index.html
169-
:text-align: center
170-
:class-title: pyansys-card-title
171-
172-
.. grid-item-card:: Granta MI RecordLists
173-
:img-top: _static/thumbnails/intro.png
174-
:link: https://recordlists.grantami.docs.pyansys.com/version/1.0/getting_started/index.html
175-
:text-align: center
176-
:class-title: pyansys-card-title
177-
178172
.. grid-item-card:: Shared Components - OpenAPI Common
179173
:img-top: _static/thumbnails/intro.png
180174
:link: https://openapi.docs.pyansys.com/index.html

doc/styles/Vocab/ANSYS/accept.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ PyDPF - Composites
1414
PyDPF
1515
PyFluent
1616
PyPIM
17-
Granta MI BoM Analytics
1817
metapackage
1918
PyTwin
2019
toolkits

pyproject.toml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,24 @@ dependencies = [
3333
"ansys-dpf-post==0.6.0",
3434
"ansys-dpf-gate==0.4.1",
3535
"ansys-dyna-core==0.4.5",
36-
"ansys-dynamicreporting-core==0.5.0",
37-
"ansys-geometry-core==0.4.3",
38-
"ansys-grantami-bomanalytics==1.2.0",
39-
"ansys-grantami-recordlists==1.0.0.post1",
36+
"ansys-dynamicreporting-core==0.5.1",
37+
"ansys-geometry-core==0.4.5",
4038
"ansys-fluent-core==0.18.2",
4139
"ansys-mapdl-core==0.67.0",
4240
"ansys-math-core==0.1.3",
43-
"ansys-mechanical-core==0.10.5",
44-
"ansys-meshing-prime==0.5.0.dev10",
41+
"ansys-mechanical-core==0.10.6",
42+
"ansys-meshing-prime==0.5.0",
4543
"ansys-motorcad-core==0.3.0",
4644
"ansys-platform-instancemanagement==1.1.2",
47-
"ansys-pyensight-core==0.7.4",
48-
"ansys-openapi-common==1.3.0",
45+
"ansys-pyensight-core==0.7.5",
46+
"ansys-openapi-common==1.4.0",
4947
"ansys-optislang-core==0.5.1",
5048
"ansys-seascape==0.2.0",
5149
"ansys-sherlock-core==0.4.0",
5250
"ansys-systemcoupling-core==0.3.0",
53-
"ansys-turbogrid-core==0.4.dev0",
54-
"pyaedt==0.7.8",
51+
"ansys-turbogrid-core==0.4.dev1",
52+
"pyaedt==0.7.10",
53+
"pygranta==2024.1.0",
5554
"pytwin==0.6.0",
5655
]
5756

@@ -62,8 +61,8 @@ fluent-all = [
6261
"ansys-fluent-parametric==0.9.0",
6362
]
6463
tools = [
65-
"ansys-units==0.1.0",
66-
"ansys-tools-path==0.4.0",
64+
"ansys-units==0.2.0",
65+
"ansys-tools-path==0.4.1",
6766
"pyansys-tools-report==0.7.0",
6867
"pyansys-tools-versioning==0.5.0",
6968
]
@@ -74,15 +73,15 @@ all = [
7473
"ansys-fluent-visualization==0.8.0",
7574
"ansys-fluent-parametric==0.9.0",
7675
# TOOLS
77-
"ansys-units==0.1.0",
78-
"ansys-tools-path==0.4.0",
76+
"ansys-units==0.2.0",
77+
"ansys-tools-path==0.4.1",
7978
# "ansys-tools-protoc-helper==0.4.0; python_version<='3.10'",
8079
"pyansys-tools-report==0.7.0",
8180
"pyansys-tools-versioning==0.5.0",
8281
]
8382
doc = [
8483
"Sphinx==7.2.6",
85-
"ansys-sphinx-theme==0.13.0",
84+
"ansys-sphinx-theme==0.13.1",
8685
"sphinx-copybutton==0.5.2",
8786
"sphinx-design==0.5.0",
8887
]

0 commit comments

Comments
 (0)