Skip to content

Commit 95c7396

Browse files
authored
feat: change granta packages to pygranta metapackage (#460)
* feat: change granta packages to pygranta metapackage * fix: issues
1 parent 9294b31 commit 95c7396

File tree

9 files changed

+39
-71
lines changed

9 files changed

+39
-71
lines changed

.github/workflows/create-milestone.yml

Lines changed: 1 addition & 2 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",

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/stable/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/stable/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/stable/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/stable/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/stable/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/stable/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/stable
@@ -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/stable
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/stable/
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/stable/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/stable/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/stable/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: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ version = "2024.2.dev0"
99
description = "Pythonic interfaces to Ansys products"
1010
readme = "README.rst"
1111
requires-python = ">=3.9,<4"
12-
license = {file = "LICENSE"}
13-
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
14-
maintainers = [{name = "PyAnsys developers", email = "[email protected]"}]
12+
license = { file = "LICENSE" }
13+
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
14+
maintainers = [
15+
{ name = "PyAnsys developers", email = "[email protected]" },
16+
]
1517
classifiers = [
1618
"Development Status :: 4 - Beta",
1719
"Intended Audience :: Science/Research",
@@ -33,8 +35,6 @@ dependencies = [
3335
"ansys-dyna-core==0.4.5",
3436
"ansys-dynamicreporting-core==0.5.0",
3537
"ansys-geometry-core==0.4.4",
36-
"ansys-grantami-bomanalytics==1.2.0",
37-
"ansys-grantami-recordlists==1.0.0.post1",
3838
"ansys-fluent-core==0.18.2",
3939
"ansys-mapdl-core==0.67.0",
4040
"ansys-math-core==0.1.3",
@@ -50,13 +50,12 @@ dependencies = [
5050
"ansys-systemcoupling-core==0.3.0",
5151
"ansys-turbogrid-core==0.4.dev1",
5252
"pyaedt==0.7.10",
53+
"pygranta==2024.1.0",
5354
"pytwin==0.6.0",
5455
]
5556

5657
[project.optional-dependencies]
57-
mapdl-all = [
58-
"ansys-mapdl-reader==0.53.0",
59-
]
58+
mapdl-all = ["ansys-mapdl-reader==0.53.0"]
6059
fluent-all = [
6160
"ansys-fluent-visualization==0.8.0",
6261
"ansys-fluent-parametric==0.9.0",
@@ -67,7 +66,7 @@ tools = [
6766
"pyansys-tools-report==0.7.0",
6867
"pyansys-tools-versioning==0.5.0",
6968
]
70-
all = [
69+
all = [
7170
# MAPDL - ALL
7271
"ansys-mapdl-reader==0.53.0",
7372
# FLUENT - ALL

tools/links.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
"ansys-dyna-core": "https://dyna.docs.pyansys.com/version/stable",
3030
"ansys-dynamicreporting-core": "https://dynamicreporting.docs.pyansys.com/version/stable", # noqa: E501
3131
"ansys-geometry-core": "https://geometry.docs.pyansys.com/version/stable",
32-
"ansys-grantami-bomanalytics": "https://bomanalytics.grantami.docs.pyansys.com/version/stable", # noqa: E501
33-
"ansys-grantami-recordlists": "https://recordlists.grantami.docs.pyansys.com/version/stable", # noqa: E501
3432
"ansys-fluent-core": "https://fluent.docs.pyansys.com/version/stable",
3533
"ansys-mapdl-core": "https://mapdl.docs.pyansys.com/version/stable",
3634
"ansys-math-core": "https://math.docs.pyansys.com/version/stable",
@@ -46,6 +44,7 @@
4644
"ansys-systemcoupling-core": "https://systemcoupling.docs.pyansys.com/version/stable", # noqa: E501
4745
"ansys-turbogrid-core": "https://turbogrid.docs.pyansys.com/version/stable", # noqa: E501
4846
"pyaedt": "https://aedt.docs.pyansys.com/version/stable",
47+
"pygranta": "https://grantami.docs.pyansys.com/version/stable",
4948
"pytwin": "https://twin.docs.pyansys.com/version/stable",
5049
# MAPDL - ALL
5150
"ansys-mapdl-reader": "https://reader.docs.pyansys.com/version/stable",

0 commit comments

Comments
 (0)