ansys-saf-templates 0.2.dev0__tar.gz → 0.2.dev2__tar.gz

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.
Files changed (29) hide show
  1. ansys_saf_templates-0.2.dev2/PKG-INFO +178 -0
  2. ansys_saf_templates-0.2.dev2/README.rst +153 -0
  3. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/pyproject.toml +1 -1
  4. ansys_saf_templates-0.2.dev2/src/ansys/saf/templates/templates.toml +41 -0
  5. ansys_saf_templates-0.2.dev0/PKG-INFO +0 -301
  6. ansys_saf_templates-0.2.dev0/README.rst +0 -276
  7. ansys_saf_templates-0.2.dev0/src/ansys/saf/templates/templates.toml +0 -40
  8. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/AUTHORS +0 -0
  9. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/LICENSE +0 -0
  10. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/__init__.py +0 -0
  11. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/py.typed +0 -0
  12. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/calculator/cookiecutter.json +0 -0
  13. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/calculator/hooks/post_gen_project.py +0 -0
  14. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/calculator/{{cookiecutter.__solution_module_name}}/solution/{{cookiecutter.__step_module_name}}.py +0 -0
  15. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/calculator/{{cookiecutter.__solution_module_name}}/ui/pages/{{cookiecutter.__ui_page_file_name}}.py +0 -0
  16. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_parametric_study/cookiecutter.json +0 -0
  17. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_parametric_study/hooks/post_gen_project.py +0 -0
  18. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_parametric_study/{{cookiecutter.__solution_module_name}}/solution/scripts/{{cookiecutter.__step_module_name}}_calculate_sum.py +0 -0
  19. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_parametric_study/{{cookiecutter.__solution_module_name}}/solution/{{cookiecutter.__step_module_name}}.py +0 -0
  20. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_parametric_study/{{cookiecutter.__solution_module_name}}/ui/pages/{{cookiecutter.__ui_page_file_name}}.py +0 -0
  21. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_simple_job/cookiecutter.json +0 -0
  22. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_simple_job/hooks/post_gen_project.py +0 -0
  23. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_simple_job/{{cookiecutter.__solution_module_name}}/solution/scripts/{{cookiecutter.__step_module_name}}_calculate_sum_simple.py +0 -0
  24. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_simple_job/{{cookiecutter.__solution_module_name}}/solution/{{cookiecutter.__step_module_name}}.py +0 -0
  25. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/hps_job_submission/hps_simple_job/{{cookiecutter.__solution_module_name}}/ui/pages/{{cookiecutter.__ui_page_file_name}}.py +0 -0
  26. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/instance_management/geometry/cookiecutter.json +0 -0
  27. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/instance_management/geometry/hooks/post_gen_project.py +0 -0
  28. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/instance_management/geometry/{{cookiecutter.__solution_module_name}}/solution/{{cookiecutter.__step_module_name}}.py +0 -0
  29. {ansys_saf_templates-0.2.dev0 → ansys_saf_templates-0.2.dev2}/src/ansys/saf/templates/steps/instance_management/geometry/{{cookiecutter.__solution_module_name}}/ui/pages/{{cookiecutter.__ui_page_file_name}}.py +0 -0
@@ -0,0 +1,178 @@
1
+ Metadata-Version: 2.4
2
+ Name: ansys-saf-templates
3
+ Version: 0.2.dev2
4
+ Summary: Collection of templates to develop in SAF solutions.
5
+ License-Expression: Apache-2.0
6
+ License-File: AUTHORS
7
+ License-File: LICENSE
8
+ Author: ANSYS, Inc.
9
+ Author-email: pyansys.core@ansys.com
10
+ Maintainer: ANSYS, Inc.
11
+ Maintainer-email: pyansys.core@ansys.com
12
+ Requires-Python: >=3.10,<4
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Other Audience
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
23
+ Description-Content-Type: text/x-rst
24
+
25
+ ##########################################
26
+ Solution Application Framework - Templates
27
+ ##########################################
28
+
29
+ |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
30
+
31
+ .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-templates?logo=python&logoColor=white&label=Python
32
+ :target: https://pypi.org/project/ansys-saf-templates/
33
+ :alt: Python
34
+
35
+ .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-templates.svg?logo=pypi&logoColor=white&label=PyPI
36
+ :target: https://pypi.org/project/ansys-saf-templates/
37
+ :alt: PyPI
38
+
39
+ .. |GH-CI| image:: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
40
+ :target: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml
41
+ :alt: GH-CI
42
+
43
+ .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-templates
44
+ :target: https://app.codecov.io/gh/ansys/saf-templates
45
+ :alt: Codecov
46
+
47
+ .. |Apache| image:: https://img.shields.io/badge/License-Apache2.0-white.svg?labelColor=black
48
+ :target: https://www.apache.org/licenses/
49
+ :alt: Apache
50
+
51
+ .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
52
+ :target: https://github.com/astral-sh/ruff
53
+ :alt: Ruff
54
+
55
+
56
+ Overview
57
+ ========
58
+
59
+ **SAF Templates** is a collection of Cookiecutter-based templates that help
60
+ developers quickly scaffold common components for SAF-based solution
61
+ applications. Instead of writing boilerplate code from scratch, developers can
62
+ generate ready-to-use solution steps, pages, and supporting files through the
63
+ SAF CLI, then customize them to fit their specific use case.
64
+
65
+ The package currently ships the following built-in step templates:
66
+
67
+ +---------------------------------+------------------------------------------------------+
68
+ | Template name | Description |
69
+ +=================================+======================================================+
70
+ | ``calculator-step`` | A step that performs basic calculator operations. |
71
+ +---------------------------------+------------------------------------------------------+
72
+ | ``hps-simple-job-step`` | A step that submits a simple job to HPS. |
73
+ +---------------------------------+------------------------------------------------------+
74
+ | ``hps-parametric-study-step`` | A step that runs a parametric study on HPS. |
75
+ +---------------------------------+------------------------------------------------------+
76
+ | ``instance-mgmt-geometry-step`` | A step for basic Geometry instance management. |
77
+ +---------------------------------+------------------------------------------------------+
78
+
79
+ Beyond the built-in templates, SAF Templates supports a **plugin architecture**
80
+ that allows developers and teams to create, package, and share their own
81
+ template repositories. This means you can build reusable templates tailored to
82
+ your organization's patterns and distribute them across projects or to the
83
+ wider community.
84
+
85
+ Contributions are welcomed. If you have a useful template that could benefit
86
+ other SAF developers, consider contributing it back to the project or
87
+ publishing your own template plugin repository.
88
+
89
+
90
+ Installation
91
+ ============
92
+
93
+ SAF Templates comes bundled with SAF CLI since SAF CLI version 3.7. However, **it is
94
+ mandatory to have SAF CLI version 4.0 or later installed to use the templates**.
95
+ Using previous versions of SAF CLI might produce unexpected results or even errors
96
+ when attempting to add a step. This documentation assumes that SAF CLI version 4.0 or
97
+ later is installed.
98
+
99
+ Use the following command if you want to manually install a newer version of the SAF
100
+ Templates package. Make sure to install it in the python environment where SAF CLI is
101
+ installed:
102
+
103
+ .. code-block:: bash
104
+
105
+ pip install ansys-saf-templates
106
+
107
+
108
+ Quick start
109
+ ===========
110
+
111
+ You can list the available templates by running:
112
+
113
+ .. code-block:: bash
114
+
115
+ saf templates
116
+
117
+ This will show all the templates available in ansys-saf-templates as well as any
118
+ additional templates from installed plugins.
119
+
120
+ Add a new step to your solution using the SAF CLI command:
121
+
122
+ .. code-block:: bash
123
+
124
+ saf add-step <my_solution>
125
+
126
+ The CLI will interactively guide you through selecting a template and providing
127
+ the required parameters. Otherwise, you can directly pass all the necessary
128
+ information as command-line arguments:
129
+
130
+ .. code-block:: bash
131
+
132
+ saf add-step <my_solution> --step-name <step_name> --ui-framework <ui_framework> --template <template_name>
133
+
134
+
135
+ Documentation
136
+ =============
137
+
138
+ The `official documentation`_ contains:
139
+
140
+ - `Overview`_ — What SAF Templates is and its key features.
141
+ - `User guide`_ — Installation, prerequisites, and usage instructions.
142
+ - `Template gallery`_ — Browse all available templates.
143
+ - `Contribute`_ — How to add your own templates.
144
+
145
+
146
+ Troubleshooting
147
+ ===============
148
+
149
+ For troubleshooting or reporting issues, open an issue in the
150
+ `project repository <https://github.com/ansys/saf-templates/issues>`_.
151
+
152
+ Follow these steps to report an issue:
153
+
154
+ - Go to the project repository.
155
+ - Click on the ``Issues`` tab.
156
+ - Click on the ``New Issue`` button.
157
+ - Provide a clear and detailed description of the issue you are facing.
158
+ - Include any relevant error messages, code snippets, or screenshots.
159
+
160
+ Additionally, you can refer to the `official documentation`_ for additional
161
+ resources and troubleshooting guides.
162
+
163
+
164
+ License
165
+ =======
166
+
167
+ This project is licensed under the Apache 2.0 License. See the `LICENSE`_ file
168
+ for details.
169
+
170
+
171
+ .. _official documentation: https://saf-templates.docs.solutions.ansys.com
172
+ .. _Overview: https://saf-templates.docs.solutions.ansys.com/version/stable/overview/index.html
173
+ .. _User guide: https://saf-templates.docs.solutions.ansys.com/version/stable/user_guide/index.html
174
+ .. _Template gallery: https://saf-templates.docs.solutions.ansys.com/version/stable/template_gallery/index.html
175
+ .. _Contribute: https://saf-templates.docs.solutions.ansys.com/version/stable/contribute/index.html
176
+ .. _LICENSE: https://github.com/ansys/saf-templates/blob/main/LICENSE
177
+
178
+
@@ -0,0 +1,153 @@
1
+ ##########################################
2
+ Solution Application Framework - Templates
3
+ ##########################################
4
+
5
+ |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
6
+
7
+ .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-templates?logo=python&logoColor=white&label=Python
8
+ :target: https://pypi.org/project/ansys-saf-templates/
9
+ :alt: Python
10
+
11
+ .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-templates.svg?logo=pypi&logoColor=white&label=PyPI
12
+ :target: https://pypi.org/project/ansys-saf-templates/
13
+ :alt: PyPI
14
+
15
+ .. |GH-CI| image:: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
16
+ :target: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml
17
+ :alt: GH-CI
18
+
19
+ .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-templates
20
+ :target: https://app.codecov.io/gh/ansys/saf-templates
21
+ :alt: Codecov
22
+
23
+ .. |Apache| image:: https://img.shields.io/badge/License-Apache2.0-white.svg?labelColor=black
24
+ :target: https://www.apache.org/licenses/
25
+ :alt: Apache
26
+
27
+ .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
28
+ :target: https://github.com/astral-sh/ruff
29
+ :alt: Ruff
30
+
31
+
32
+ Overview
33
+ ========
34
+
35
+ **SAF Templates** is a collection of Cookiecutter-based templates that help
36
+ developers quickly scaffold common components for SAF-based solution
37
+ applications. Instead of writing boilerplate code from scratch, developers can
38
+ generate ready-to-use solution steps, pages, and supporting files through the
39
+ SAF CLI, then customize them to fit their specific use case.
40
+
41
+ The package currently ships the following built-in step templates:
42
+
43
+ +---------------------------------+------------------------------------------------------+
44
+ | Template name | Description |
45
+ +=================================+======================================================+
46
+ | ``calculator-step`` | A step that performs basic calculator operations. |
47
+ +---------------------------------+------------------------------------------------------+
48
+ | ``hps-simple-job-step`` | A step that submits a simple job to HPS. |
49
+ +---------------------------------+------------------------------------------------------+
50
+ | ``hps-parametric-study-step`` | A step that runs a parametric study on HPS. |
51
+ +---------------------------------+------------------------------------------------------+
52
+ | ``instance-mgmt-geometry-step`` | A step for basic Geometry instance management. |
53
+ +---------------------------------+------------------------------------------------------+
54
+
55
+ Beyond the built-in templates, SAF Templates supports a **plugin architecture**
56
+ that allows developers and teams to create, package, and share their own
57
+ template repositories. This means you can build reusable templates tailored to
58
+ your organization's patterns and distribute them across projects or to the
59
+ wider community.
60
+
61
+ Contributions are welcomed. If you have a useful template that could benefit
62
+ other SAF developers, consider contributing it back to the project or
63
+ publishing your own template plugin repository.
64
+
65
+
66
+ Installation
67
+ ============
68
+
69
+ SAF Templates comes bundled with SAF CLI since SAF CLI version 3.7. However, **it is
70
+ mandatory to have SAF CLI version 4.0 or later installed to use the templates**.
71
+ Using previous versions of SAF CLI might produce unexpected results or even errors
72
+ when attempting to add a step. This documentation assumes that SAF CLI version 4.0 or
73
+ later is installed.
74
+
75
+ Use the following command if you want to manually install a newer version of the SAF
76
+ Templates package. Make sure to install it in the python environment where SAF CLI is
77
+ installed:
78
+
79
+ .. code-block:: bash
80
+
81
+ pip install ansys-saf-templates
82
+
83
+
84
+ Quick start
85
+ ===========
86
+
87
+ You can list the available templates by running:
88
+
89
+ .. code-block:: bash
90
+
91
+ saf templates
92
+
93
+ This will show all the templates available in ansys-saf-templates as well as any
94
+ additional templates from installed plugins.
95
+
96
+ Add a new step to your solution using the SAF CLI command:
97
+
98
+ .. code-block:: bash
99
+
100
+ saf add-step <my_solution>
101
+
102
+ The CLI will interactively guide you through selecting a template and providing
103
+ the required parameters. Otherwise, you can directly pass all the necessary
104
+ information as command-line arguments:
105
+
106
+ .. code-block:: bash
107
+
108
+ saf add-step <my_solution> --step-name <step_name> --ui-framework <ui_framework> --template <template_name>
109
+
110
+
111
+ Documentation
112
+ =============
113
+
114
+ The `official documentation`_ contains:
115
+
116
+ - `Overview`_ — What SAF Templates is and its key features.
117
+ - `User guide`_ — Installation, prerequisites, and usage instructions.
118
+ - `Template gallery`_ — Browse all available templates.
119
+ - `Contribute`_ — How to add your own templates.
120
+
121
+
122
+ Troubleshooting
123
+ ===============
124
+
125
+ For troubleshooting or reporting issues, open an issue in the
126
+ `project repository <https://github.com/ansys/saf-templates/issues>`_.
127
+
128
+ Follow these steps to report an issue:
129
+
130
+ - Go to the project repository.
131
+ - Click on the ``Issues`` tab.
132
+ - Click on the ``New Issue`` button.
133
+ - Provide a clear and detailed description of the issue you are facing.
134
+ - Include any relevant error messages, code snippets, or screenshots.
135
+
136
+ Additionally, you can refer to the `official documentation`_ for additional
137
+ resources and troubleshooting guides.
138
+
139
+
140
+ License
141
+ =======
142
+
143
+ This project is licensed under the Apache 2.0 License. See the `LICENSE`_ file
144
+ for details.
145
+
146
+
147
+ .. _official documentation: https://saf-templates.docs.solutions.ansys.com
148
+ .. _Overview: https://saf-templates.docs.solutions.ansys.com/version/stable/overview/index.html
149
+ .. _User guide: https://saf-templates.docs.solutions.ansys.com/version/stable/user_guide/index.html
150
+ .. _Template gallery: https://saf-templates.docs.solutions.ansys.com/version/stable/template_gallery/index.html
151
+ .. _Contribute: https://saf-templates.docs.solutions.ansys.com/version/stable/contribute/index.html
152
+ .. _LICENSE: https://github.com/ansys/saf-templates/blob/main/LICENSE
153
+
@@ -4,7 +4,7 @@ requires = [ "poetry-core>=2.0.0" ]
4
4
 
5
5
  [project]
6
6
  name = "ansys-saf-templates"
7
- version = "0.2.dev0"
7
+ version = "0.2.dev2"
8
8
  description = "Collection of templates to develop in SAF solutions."
9
9
  readme = "README.rst"
10
10
  license = "Apache-2.0"
@@ -0,0 +1,41 @@
1
+ [templates.calculator-step]
2
+ location = "steps/calculator"
3
+ type = "step"
4
+ saf_cli_compatibility_range = ">=4.0.1, <5.0"
5
+ description = "a step that performs calculator operations"
6
+
7
+
8
+ [templates.hps-simple-job-step]
9
+ location = "steps/hps_job_submission/hps_simple_job"
10
+ type = "step"
11
+ saf_cli_compatibility_range = ">=4.0.1, <5.0"
12
+ description = "a step that performs a simple HPS job."
13
+
14
+ [templates.hps-simple-job-step.dependencies.main]
15
+ ansys-saf-glow-engine = {version = "^1.38.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["hps"]}
16
+
17
+ [templates.hps-simple-job-step.dependencies.ui]
18
+ dash-iconify = ">=0.1.0,<0.2.0"
19
+
20
+
21
+ [templates.hps-parametric-study-step]
22
+ location = "steps/hps_job_submission/hps_parametric_study"
23
+ type = "step"
24
+ saf_cli_compatibility_range = ">=4.0.1, <5.0"
25
+ description = "a step that performs a parametric study on HPS."
26
+
27
+ [templates.hps-parametric-study-step.dependencies.main]
28
+ ansys-saf-glow-engine = {version = "^1.38.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["hps"]}
29
+
30
+ [templates.hps-parametric-study-step.dependencies.ui]
31
+ dash-iconify = ">=0.1.0,<0.2.0"
32
+
33
+
34
+ [templates.instance-mgmt-geometry-step]
35
+ location = "steps/instance_management/geometry"
36
+ type = "step"
37
+ saf_cli_compatibility_range = ">=4.0.1, <5.0"
38
+ description = "a step that performs basic Geometry instance management"
39
+
40
+ [templates.instance-mgmt-geometry-step.dependencies.main]
41
+ ansys-saf-glow-engine = {version = "^1.39.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["geometry"]}
@@ -1,301 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: ansys-saf-templates
3
- Version: 0.2.dev0
4
- Summary: Collection of templates to develop in SAF solutions.
5
- License-Expression: Apache-2.0
6
- License-File: AUTHORS
7
- License-File: LICENSE
8
- Author: ANSYS, Inc.
9
- Author-email: pyansys.core@ansys.com
10
- Maintainer: ANSYS, Inc.
11
- Maintainer-email: pyansys.core@ansys.com
12
- Requires-Python: >=3.10,<4
13
- Classifier: Development Status :: 3 - Alpha
14
- Classifier: Intended Audience :: Other Audience
15
- Classifier: License :: OSI Approved :: Apache Software License
16
- Classifier: Natural Language :: English
17
- Classifier: Programming Language :: Python :: 3 :: Only
18
- Classifier: Programming Language :: Python :: 3.10
19
- Classifier: Programming Language :: Python :: 3.11
20
- Classifier: Programming Language :: Python :: 3.12
21
- Classifier: Programming Language :: Python :: 3.13
22
- Classifier: Programming Language :: Python :: 3.14
23
- Description-Content-Type: text/x-rst
24
-
25
- ##########################################
26
- Solution Application Framework - Templates
27
- ##########################################
28
-
29
- |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
30
-
31
- .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-templates?logo=python&logoColor=white&label=Python
32
- :target: https://pypi.org/project/ansys-saf-templates/
33
- :alt: Python
34
-
35
- .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-templates.svg?logo=pypi&logoColor=white&label=PyPI
36
- :target: https://pypi.org/project/ansys-saf-templates/
37
- :alt: PyPI
38
-
39
- .. |GH-CI| image:: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
40
- :target: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml
41
- :alt: GH-CI
42
-
43
- .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-templates
44
- :target: https://app.codecov.io/gh/ansys/saf-templates
45
- :alt: Codecov
46
-
47
- .. |Apache| image:: https://img.shields.io/badge/License-Apache2.0-white.svg?labelColor=black
48
- :target: https://www.apache.org/licenses/
49
- :alt: Apache
50
-
51
- .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
52
- :target: https://github.com/astral-sh/ruff
53
- :alt: Ruff
54
-
55
-
56
- Overview
57
- ========
58
-
59
- **SAF Templates** is a collection of Cookiecutter-based templates that help
60
- developers quickly scaffold common components for SAF-based solution
61
- applications. Instead of writing boilerplate code from scratch, developers can
62
- generate ready-to-use solution steps, pages, and supporting files through the
63
- SAF CLI, then customize them to fit their specific use case.
64
-
65
- The package currently ships the following built-in step templates:
66
-
67
- +---------------------------------+------------------------------------------------------+
68
- | Template | Description |
69
- +=================================+======================================================+
70
- | ``calculator-step`` | A step that performs basic calculator operations. |
71
- +---------------------------------+------------------------------------------------------+
72
- | ``hps-simple-job-step`` | A step that submits a simple job to HPS. |
73
- +---------------------------------+------------------------------------------------------+
74
- | ``hps-parametric-study-step`` | A step that runs a parametric study on HPS. |
75
- +---------------------------------+------------------------------------------------------+
76
- | ``instance-mgmt-geometry-step`` | A step for basic Geometry instance management. |
77
- +---------------------------------+------------------------------------------------------+
78
-
79
- Beyond the built-in templates, SAF Templates supports a **plugin architecture**
80
- that allows developers and teams to create, package, and share their own
81
- template repositories. This means you can build reusable templates tailored to
82
- your organization's patterns and distribute them across projects or to the
83
- wider community.
84
-
85
- Contributions are welcomed. If you have a useful template that could benefit
86
- other SAF developers, consider contributing it back to the project or
87
- publishing your own template plugin repository.
88
-
89
-
90
- Installation
91
- ============
92
-
93
- Ensure you have all the necessary `prerequisites`_. Then, refer to the
94
- `installation guidelines`_ for detailed instructions on how to install the
95
- project in your system.
96
-
97
-
98
- Documentation
99
- =============
100
-
101
- The `official documentation`_ of SAF Templates contains
102
- the following chapters:
103
-
104
- - `Getting started`_. This section provides a brief overview and instructions on
105
- how to get started with the project. It typically includes information on how
106
- to install the project, set up any necessary dependencies, and run a basic
107
- example or test to ensure everything is functioning correctly.
108
-
109
- - `User guide`_. The user guide section offers detailed documentation and
110
- instructions on how to use the project. It provides comprehensive explanations
111
- of the project's features, functionalities, and configuration options. The
112
- user guide aims to help users understand the project's concepts, best
113
- practices, and recommended workflows.
114
-
115
- - `Contribute`_. This section provides guidelines and instructions on how to
116
- contribute to the project. It includes information on how to set up the
117
- development environment, run tests, submit pull requests, and follow
118
- contribution guidelines.
119
-
120
-
121
- Troubleshooting
122
- ===============
123
-
124
- For troubleshooting or reporting issues, open an issue in the project
125
- repository.
126
-
127
- Follow these steps to report an issue:
128
-
129
- - Go to the project repository.
130
- - Click on the ``Issues`` tab.
131
- - Click on the ``New Issue`` button.
132
- - Provide a clear and detailed description of the issue you are facing.
133
- - Include any relevant error messages, code snippets, or screenshots.
134
-
135
- Additionally, you can refer to the `official documentation`_ for additional
136
- resources and troubleshooting guides.
137
-
138
-
139
- License
140
- =======
141
-
142
- This project is licensed under the Apache 2.0 License - see the `LICENSE`_ file for details.
143
-
144
-
145
- Changelog
146
- =========
147
-
148
- The changelog section provides a summary of notable changes for each version of
149
- SAF Product Configuration for Python. It helps you keep track of updates, bug
150
- fixes, new features, and improvements made to the project over time.
151
-
152
- To view the complete changelog, visit the project repository and navigate
153
- to the `CHANGELOG`_ file. It provides a comprehensive list of changes
154
- categorized by version, along with brief descriptions of each change.
155
-
156
-
157
- How it works?
158
- =============
159
-
160
- Adding templates to the repository
161
- ----------------------------------
162
-
163
- **Note:** currently only step templates can be added to the repository. Support for other types of templates (e.g., solution templates) is going to be added in the future.
164
-
165
- To add a new step template, create a new directory under ``src/ansys/saf/templates/steps`` and add the template files to that directory.
166
- The template files should adhere to the following structure:
167
-
168
- .. code-block:: text
169
-
170
- my_step/
171
- |
172
- ├── {{cookiecutter.__solution_module_name}}/
173
- | |
174
- | ├── solution/
175
- | | |
176
- | | └── {{cookiecutter.__step_module_name}}.py # definition of StepModel subclass
177
- | |
178
- | └── ui/pages/
179
- | |
180
- | └── {{cookiecutter.__ui_page_file_name}}.py # definition of the step's UI
181
- |
182
- ├── hooks
183
- | |
184
- | ├── pre_gen_project.py # Not required, only if pre-generation hooks are needed
185
- | |
186
- | └── post_gen_project.py
187
- |
188
- └── cookiecutter.json
189
-
190
- An entry for the new template has to be added to ``templates.toml``.
191
-
192
- .. code-block:: toml
193
-
194
- [templates.my-step]
195
- location = "steps/my_step"
196
- type = "step"
197
- description = "a step that performs some action"
198
-
199
- [templates.my-step.dependencies]
200
- pendulum = ">=3.2.0"
201
-
202
- This example assumes that the template was added under ``src/ansys/saf/templates/steps/my_step``. This is not a requirement as the step templates can be added anywhere under
203
- ``src/ansys/saf/templates/steps``. The only requirement is that the ``location`` field in the ``templates.toml`` entry must be a relative path under ``src/ansys/saf/templates``
204
- that points to the template's root.
205
-
206
- The template name is defined inside the square brackets (``[templates.<template-name>]``) and must be unique across all templates in the repository, as it is used to
207
- identify the template to be generated from SAF CLI. Kebab-case should be used for template names.
208
-
209
- The ``type`` field indicates the type of the template, which currently can only be ``step``.
210
-
211
- The ``description`` field provides a brief description of the template that is going to be displayed in SAF CLI when listing the available templates.
212
-
213
- Any new dependencies required by the template should be added to the ``dependencies`` section of the template entry in a format that is valid for the pyproject.toml.
214
- These dependencies are going to be automatically installed in the generated project's virtual environment when the template is generated.
215
-
216
- All fields are mandatory except for ``dependencies``. Any template that is not included in the ``templates.toml`` file won't be discoverable.
217
-
218
- Creating a new template plugin repository
219
- -----------------------------------------
220
-
221
- To create a repository that can be used as a template plugin it needs:
222
-
223
- 1. to adhere to a certain structure
224
- 2. to be declared as a plugin in its ``pyproject.toml``,
225
- 3. to have a ``__init__.py`` file that includes a function returning the path to the plugin, and
226
- 4. to include the configuration of the defined templates in a ``templates.toml`` file.
227
-
228
- Structure of a template plugin repository
229
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230
-
231
- The structure of a template plugin repository should be as follows:
232
-
233
- .. code-block:: text
234
-
235
- my_template_plugin/
236
- |
237
- ├── pyproject.toml # includes the declaration of the plugin entry-point
238
- |
239
- └── src/package/templates_module
240
- |
241
- ├── __init__.py # includes the get_plugin_path function
242
- |
243
- ├── templates.toml # includes the configuration of the templates defined in this plugin
244
- |
245
- └── <template_structure> # one or more directories containing the templates defined in this plugin
246
-
247
- Declare an entry-point in pyproject.toml
248
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249
-
250
- The template plugin repository needs to declare itself as a plugin in its ``pyproject.toml``. The entry-point group ``"ansys_saf_templates"`` is mandatory.
251
- The important part of the entry-point is its value ``"package.templates_module:get_plugin_path"``. Its name ``plugin_path`` is not relevant and can be
252
- modified.
253
-
254
- .. code-block:: toml
255
-
256
- [project.entry-points."ansys_saf_templates"]
257
- plugin_path = "package.templates_module:get_plugin_path"
258
-
259
- The first part of the entry-point value must match the installation path of the repository, so the ``pyproject.toml`` should also include:
260
-
261
- .. code-block:: toml
262
-
263
- [[tool.poetry.packages]]
264
- include = "package/templates_module"
265
- from = "src"
266
-
267
- The second part points to the function ``get_plugin_path`` that we must define in the ``__init__.py`` file.
268
-
269
- Add the function ``get_plugin_path`` to ``__init__.py``
270
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271
-
272
- The content of the ``__init__.py`` should be:
273
-
274
- .. code-block:: python
275
-
276
- from pathlib import Path
277
-
278
-
279
- def get_plugin_path() -> Path:
280
- """Return the path to the cookiecutter template."""
281
- return Path(__file__).parent.resolve()
282
-
283
- Add the template's configuration file ``templates.toml``
284
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285
-
286
- The configuration of all the templates is defined in a single ``templates.toml`` file under ``src/package/templates_module``. This file must contain an entry for every
287
- template containing the fields described in the previous section.
288
-
289
-
290
- .. _prerequisites: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started#prerequisites
291
- .. _installation guidelines: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started#installation
292
- .. _official documentation: https://saf-templates.docs.solutions.ansys.com
293
- .. _Getting started: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started.html
294
- .. _User guide: https://saf-templates.docs.solutions.ansys.com/version/stable/user-guide.html
295
- .. _API reference: https://saf-templates.docs.solutions.ansys.com/version/stable/api/index.html
296
- .. _Examples: https://saf-templates.docs.solutions.ansys.com/version/dev/examples.html
297
- .. _Contribute: https://saf-templates.docs.solutions.ansys.com/version/stable/contribute.html
298
- .. _LICENSE: https://github.com/ansys/saf-templates/blob/main/LICENSE
299
- .. _CHANGELOG: https://github.com/ansys/saf-templates/blob/main/CHANGELOG.md
300
-
301
-
@@ -1,276 +0,0 @@
1
- ##########################################
2
- Solution Application Framework - Templates
3
- ##########################################
4
-
5
- |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
6
-
7
- .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-templates?logo=python&logoColor=white&label=Python
8
- :target: https://pypi.org/project/ansys-saf-templates/
9
- :alt: Python
10
-
11
- .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-templates.svg?logo=pypi&logoColor=white&label=PyPI
12
- :target: https://pypi.org/project/ansys-saf-templates/
13
- :alt: PyPI
14
-
15
- .. |GH-CI| image:: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
16
- :target: https://github.com/ansys/saf-templates/actions/workflows/ci_cd_release.yml
17
- :alt: GH-CI
18
-
19
- .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-templates
20
- :target: https://app.codecov.io/gh/ansys/saf-templates
21
- :alt: Codecov
22
-
23
- .. |Apache| image:: https://img.shields.io/badge/License-Apache2.0-white.svg?labelColor=black
24
- :target: https://www.apache.org/licenses/
25
- :alt: Apache
26
-
27
- .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
28
- :target: https://github.com/astral-sh/ruff
29
- :alt: Ruff
30
-
31
-
32
- Overview
33
- ========
34
-
35
- **SAF Templates** is a collection of Cookiecutter-based templates that help
36
- developers quickly scaffold common components for SAF-based solution
37
- applications. Instead of writing boilerplate code from scratch, developers can
38
- generate ready-to-use solution steps, pages, and supporting files through the
39
- SAF CLI, then customize them to fit their specific use case.
40
-
41
- The package currently ships the following built-in step templates:
42
-
43
- +---------------------------------+------------------------------------------------------+
44
- | Template | Description |
45
- +=================================+======================================================+
46
- | ``calculator-step`` | A step that performs basic calculator operations. |
47
- +---------------------------------+------------------------------------------------------+
48
- | ``hps-simple-job-step`` | A step that submits a simple job to HPS. |
49
- +---------------------------------+------------------------------------------------------+
50
- | ``hps-parametric-study-step`` | A step that runs a parametric study on HPS. |
51
- +---------------------------------+------------------------------------------------------+
52
- | ``instance-mgmt-geometry-step`` | A step for basic Geometry instance management. |
53
- +---------------------------------+------------------------------------------------------+
54
-
55
- Beyond the built-in templates, SAF Templates supports a **plugin architecture**
56
- that allows developers and teams to create, package, and share their own
57
- template repositories. This means you can build reusable templates tailored to
58
- your organization's patterns and distribute them across projects or to the
59
- wider community.
60
-
61
- Contributions are welcomed. If you have a useful template that could benefit
62
- other SAF developers, consider contributing it back to the project or
63
- publishing your own template plugin repository.
64
-
65
-
66
- Installation
67
- ============
68
-
69
- Ensure you have all the necessary `prerequisites`_. Then, refer to the
70
- `installation guidelines`_ for detailed instructions on how to install the
71
- project in your system.
72
-
73
-
74
- Documentation
75
- =============
76
-
77
- The `official documentation`_ of SAF Templates contains
78
- the following chapters:
79
-
80
- - `Getting started`_. This section provides a brief overview and instructions on
81
- how to get started with the project. It typically includes information on how
82
- to install the project, set up any necessary dependencies, and run a basic
83
- example or test to ensure everything is functioning correctly.
84
-
85
- - `User guide`_. The user guide section offers detailed documentation and
86
- instructions on how to use the project. It provides comprehensive explanations
87
- of the project's features, functionalities, and configuration options. The
88
- user guide aims to help users understand the project's concepts, best
89
- practices, and recommended workflows.
90
-
91
- - `Contribute`_. This section provides guidelines and instructions on how to
92
- contribute to the project. It includes information on how to set up the
93
- development environment, run tests, submit pull requests, and follow
94
- contribution guidelines.
95
-
96
-
97
- Troubleshooting
98
- ===============
99
-
100
- For troubleshooting or reporting issues, open an issue in the project
101
- repository.
102
-
103
- Follow these steps to report an issue:
104
-
105
- - Go to the project repository.
106
- - Click on the ``Issues`` tab.
107
- - Click on the ``New Issue`` button.
108
- - Provide a clear and detailed description of the issue you are facing.
109
- - Include any relevant error messages, code snippets, or screenshots.
110
-
111
- Additionally, you can refer to the `official documentation`_ for additional
112
- resources and troubleshooting guides.
113
-
114
-
115
- License
116
- =======
117
-
118
- This project is licensed under the Apache 2.0 License - see the `LICENSE`_ file for details.
119
-
120
-
121
- Changelog
122
- =========
123
-
124
- The changelog section provides a summary of notable changes for each version of
125
- SAF Product Configuration for Python. It helps you keep track of updates, bug
126
- fixes, new features, and improvements made to the project over time.
127
-
128
- To view the complete changelog, visit the project repository and navigate
129
- to the `CHANGELOG`_ file. It provides a comprehensive list of changes
130
- categorized by version, along with brief descriptions of each change.
131
-
132
-
133
- How it works?
134
- =============
135
-
136
- Adding templates to the repository
137
- ----------------------------------
138
-
139
- **Note:** currently only step templates can be added to the repository. Support for other types of templates (e.g., solution templates) is going to be added in the future.
140
-
141
- To add a new step template, create a new directory under ``src/ansys/saf/templates/steps`` and add the template files to that directory.
142
- The template files should adhere to the following structure:
143
-
144
- .. code-block:: text
145
-
146
- my_step/
147
- |
148
- ├── {{cookiecutter.__solution_module_name}}/
149
- | |
150
- | ├── solution/
151
- | | |
152
- | | └── {{cookiecutter.__step_module_name}}.py # definition of StepModel subclass
153
- | |
154
- | └── ui/pages/
155
- | |
156
- | └── {{cookiecutter.__ui_page_file_name}}.py # definition of the step's UI
157
- |
158
- ├── hooks
159
- | |
160
- | ├── pre_gen_project.py # Not required, only if pre-generation hooks are needed
161
- | |
162
- | └── post_gen_project.py
163
- |
164
- └── cookiecutter.json
165
-
166
- An entry for the new template has to be added to ``templates.toml``.
167
-
168
- .. code-block:: toml
169
-
170
- [templates.my-step]
171
- location = "steps/my_step"
172
- type = "step"
173
- description = "a step that performs some action"
174
-
175
- [templates.my-step.dependencies]
176
- pendulum = ">=3.2.0"
177
-
178
- This example assumes that the template was added under ``src/ansys/saf/templates/steps/my_step``. This is not a requirement as the step templates can be added anywhere under
179
- ``src/ansys/saf/templates/steps``. The only requirement is that the ``location`` field in the ``templates.toml`` entry must be a relative path under ``src/ansys/saf/templates``
180
- that points to the template's root.
181
-
182
- The template name is defined inside the square brackets (``[templates.<template-name>]``) and must be unique across all templates in the repository, as it is used to
183
- identify the template to be generated from SAF CLI. Kebab-case should be used for template names.
184
-
185
- The ``type`` field indicates the type of the template, which currently can only be ``step``.
186
-
187
- The ``description`` field provides a brief description of the template that is going to be displayed in SAF CLI when listing the available templates.
188
-
189
- Any new dependencies required by the template should be added to the ``dependencies`` section of the template entry in a format that is valid for the pyproject.toml.
190
- These dependencies are going to be automatically installed in the generated project's virtual environment when the template is generated.
191
-
192
- All fields are mandatory except for ``dependencies``. Any template that is not included in the ``templates.toml`` file won't be discoverable.
193
-
194
- Creating a new template plugin repository
195
- -----------------------------------------
196
-
197
- To create a repository that can be used as a template plugin it needs:
198
-
199
- 1. to adhere to a certain structure
200
- 2. to be declared as a plugin in its ``pyproject.toml``,
201
- 3. to have a ``__init__.py`` file that includes a function returning the path to the plugin, and
202
- 4. to include the configuration of the defined templates in a ``templates.toml`` file.
203
-
204
- Structure of a template plugin repository
205
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206
-
207
- The structure of a template plugin repository should be as follows:
208
-
209
- .. code-block:: text
210
-
211
- my_template_plugin/
212
- |
213
- ├── pyproject.toml # includes the declaration of the plugin entry-point
214
- |
215
- └── src/package/templates_module
216
- |
217
- ├── __init__.py # includes the get_plugin_path function
218
- |
219
- ├── templates.toml # includes the configuration of the templates defined in this plugin
220
- |
221
- └── <template_structure> # one or more directories containing the templates defined in this plugin
222
-
223
- Declare an entry-point in pyproject.toml
224
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225
-
226
- The template plugin repository needs to declare itself as a plugin in its ``pyproject.toml``. The entry-point group ``"ansys_saf_templates"`` is mandatory.
227
- The important part of the entry-point is its value ``"package.templates_module:get_plugin_path"``. Its name ``plugin_path`` is not relevant and can be
228
- modified.
229
-
230
- .. code-block:: toml
231
-
232
- [project.entry-points."ansys_saf_templates"]
233
- plugin_path = "package.templates_module:get_plugin_path"
234
-
235
- The first part of the entry-point value must match the installation path of the repository, so the ``pyproject.toml`` should also include:
236
-
237
- .. code-block:: toml
238
-
239
- [[tool.poetry.packages]]
240
- include = "package/templates_module"
241
- from = "src"
242
-
243
- The second part points to the function ``get_plugin_path`` that we must define in the ``__init__.py`` file.
244
-
245
- Add the function ``get_plugin_path`` to ``__init__.py``
246
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247
-
248
- The content of the ``__init__.py`` should be:
249
-
250
- .. code-block:: python
251
-
252
- from pathlib import Path
253
-
254
-
255
- def get_plugin_path() -> Path:
256
- """Return the path to the cookiecutter template."""
257
- return Path(__file__).parent.resolve()
258
-
259
- Add the template's configuration file ``templates.toml``
260
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261
-
262
- The configuration of all the templates is defined in a single ``templates.toml`` file under ``src/package/templates_module``. This file must contain an entry for every
263
- template containing the fields described in the previous section.
264
-
265
-
266
- .. _prerequisites: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started#prerequisites
267
- .. _installation guidelines: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started#installation
268
- .. _official documentation: https://saf-templates.docs.solutions.ansys.com
269
- .. _Getting started: https://saf-templates.docs.solutions.ansys.com/version/stable/getting-started.html
270
- .. _User guide: https://saf-templates.docs.solutions.ansys.com/version/stable/user-guide.html
271
- .. _API reference: https://saf-templates.docs.solutions.ansys.com/version/stable/api/index.html
272
- .. _Examples: https://saf-templates.docs.solutions.ansys.com/version/dev/examples.html
273
- .. _Contribute: https://saf-templates.docs.solutions.ansys.com/version/stable/contribute.html
274
- .. _LICENSE: https://github.com/ansys/saf-templates/blob/main/LICENSE
275
- .. _CHANGELOG: https://github.com/ansys/saf-templates/blob/main/CHANGELOG.md
276
-
@@ -1,40 +0,0 @@
1
- [templates.calculator-step]
2
- location = "steps/calculator"
3
- type = "step"
4
- saf_cli_compatibility_range = ">=4.0.dev0, <5.0"
5
- description = "a step that performs calculator operations"
6
-
7
- [templates.hps-simple-job-step]
8
- location = "steps/hps_job_submission/hps_simple_job"
9
- type = "step"
10
- saf_cli_compatibility_range = ">=4.0.dev0, <5.0"
11
- description = '''A step that performs a simple HPS job.
12
-
13
- For further details, refer to the Dash Mantine Components documentation on notifications: https://www.dash-mantine-components.com/components/notification
14
- '''
15
-
16
- [templates.hps-simple-job-step.dependencies]
17
- dash-iconify = "^0.1.0"
18
- ansys-saf-glow-engine = {version = "^1.38.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["hps"]}
19
-
20
- [templates.hps-parametric-study-step]
21
- location = "steps/hps_job_submission/hps_parametric_study"
22
- type = "step"
23
- saf_cli_compatibility_range = ">=4.0.dev0, <5.0"
24
- description = '''A step that performs a parametric study on HPS.
25
-
26
- For further details, refer to the Dash Mantine Components documentation on notifications: https://www.dash-mantine-components.com/components/notification
27
- '''
28
-
29
- [templates.hps-parametric-study-step.dependencies]
30
- dash-iconify = "^0.1.0"
31
- ansys-saf-glow-engine = {version = "^1.38.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["hps"]}
32
-
33
- [templates.instance-mgmt-geometry-step]
34
- location = "steps/instance_management/geometry"
35
- type = "step"
36
- saf_cli_compatibility_range = ">=4.0.dev0, <5.0"
37
- description = "a step that performs basic Geometry instance management"
38
-
39
- [templates.instance-mgmt-geometry-step.dependencies]
40
- ansys-saf-glow-engine = {version = "^1.38.0", allow-prereleases=true, source = "solutions-private-pypi", extras = ["geometry"]}