ansys-saf-cli 4.1.dev0__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 (142) hide show
  1. ansys_saf_cli-4.1.dev0/AUTHORS +12 -0
  2. ansys_saf_cli-4.1.dev0/LICENSE +201 -0
  3. ansys_saf_cli-4.1.dev0/PKG-INFO +201 -0
  4. ansys_saf_cli-4.1.dev0/README.rst +166 -0
  5. ansys_saf_cli-4.1.dev0/pyproject.toml +213 -0
  6. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/__init__.py +15 -0
  7. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_cli/__init__.py +15 -0
  8. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_cli/main.py +816 -0
  9. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_cli/py.typed +0 -0
  10. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_config/__init__.py +15 -0
  11. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_config/const.py +45 -0
  12. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_config/py.typed +0 -0
  13. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_database/__init__.py +15 -0
  14. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_database/manager.py +94 -0
  15. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_database/models.py +53 -0
  16. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_database/py.typed +0 -0
  17. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/__init__.py +15 -0
  18. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/add_step.py +256 -0
  19. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/dependencies.py +162 -0
  20. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/environment.py +1145 -0
  21. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/plugins.py +254 -0
  22. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/py.typed +0 -0
  23. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/scaffolding.py +73 -0
  24. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/__init__.py +15 -0
  25. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/py.typed +0 -0
  26. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/cookiecutter.json +18 -0
  27. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/hooks/post_gen_project.py +54 -0
  28. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.codespell.ignore +2 -0
  29. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.devcontainer/devcontainer.json +26 -0
  30. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.env +5 -0
  31. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.flake8 +8 -0
  32. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.github/labeler.yml +9 -0
  33. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.github/labels.yml +27 -0
  34. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.github/workflows/build-release.yml +175 -0
  35. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.github/workflows/label.yml +89 -0
  36. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.gitignore +137 -0
  37. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.pre-commit-config.yaml +48 -0
  38. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.release-please-manifest.json +3 -0
  39. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.reuse/templates/copyright.jinja2 +1 -0
  40. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.vscode/extensions.json +8 -0
  41. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/.vscode/launch.json +28 -0
  42. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/AUTHORS +12 -0
  43. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/CHANGELOG.md +1 -0
  44. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/CODEOWNERS +3 -0
  45. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/CODE_OF_CONDUCT.md +65 -0
  46. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/CONTRIBUTING.md +2 -0
  47. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/CONTRIBUTORS.md +9 -0
  48. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/LICENSE.rst +41 -0
  49. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/README.md +69 -0
  50. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/Dockerfile +43 -0
  51. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/README.md +13 -0
  52. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/distributed-deployment-template/.env +27 -0
  53. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/distributed-deployment-template/compose.yaml +132 -0
  54. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone/.env +20 -0
  55. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone/compose.yaml +118 -0
  56. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone-with-hps/.env +28 -0
  57. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone-with-hps/compose.yaml +146 -0
  58. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone-with-minerva/.env +25 -0
  59. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/deployments/standalone-with-minerva/compose.yaml +122 -0
  60. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/.vale.ini +28 -0
  61. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/Makefile +30 -0
  62. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/changelog.d/changelog_template.jinja +17 -0
  63. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/make.bat +46 -0
  64. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/_static/css/custom.css +8 -0
  65. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/_static/images/repository-banner.png +0 -0
  66. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/_templates/README.md +1 -0
  67. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/changelog.rst +12 -0
  68. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/conf.py +253 -0
  69. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/examples.rst +8 -0
  70. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/getting_started/desktop_installation.rst +165 -0
  71. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/getting_started/docker_installation.rst +68 -0
  72. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/index.rst +51 -0
  73. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/source/user_guide/index.rst +6 -0
  74. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/styles/config/vocabularies/ANSYS/accept.txt +5 -0
  75. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/doc/styles/config/vocabularies/ANSYS/reject.txt +0 -0
  76. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/examples/README.md +1 -0
  77. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/lock_files/dash/poetry.lock +7621 -0
  78. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/lock_files/no_ui/poetry.lock +7173 -0
  79. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/minerva/cli/README.md +3 -0
  80. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/minerva/oauth/App_Data/Certificates/README.md +3 -0
  81. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/minerva/oauth/oauth.config +9 -0
  82. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/pyproject.toml +192 -0
  83. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/release-please-config.json +9 -0
  84. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/sonar-project.properties +12 -0
  85. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/__init__.py +3 -0
  86. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/main.py +19 -0
  87. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/portal_assets/application.svg +36 -0
  88. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/portal_assets/description.json +3 -0
  89. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/portal_assets/project.svg +1 -0
  90. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/definition.py +24 -0
  91. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/first_step.py +34 -0
  92. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/method_assets/README.md +1 -0
  93. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/scripts/README.md +1 -0
  94. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/scripts/assets/README.md +1 -0
  95. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/solution/second_step.py +12 -0
  96. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/app.py +30 -0
  97. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/css/all.css +9 -0
  98. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/css/bootstrap.min.css +6 -0
  99. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/css/style.css +47 -0
  100. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/carbon--ibm-engineering-workflow-mgmt.svg +1 -0
  101. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/carbon--return.svg +1 -0
  102. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/game-icons--crossed-air-flows.svg +1 -0
  103. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/material-symbols--home.svg +1 -0
  104. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/radix-icons--moon.svg +1 -0
  105. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/radix-icons--sun.svg +1 -0
  106. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/streamline--startup-solid.svg +1 -0
  107. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/dark/teenyicons--doc-solid.svg +1 -0
  108. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/carbon--ibm-engineering-workflow-mgmt.svg +1 -0
  109. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/carbon--return.svg +1 -0
  110. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/game-icons--crossed-air-flows.svg +1 -0
  111. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/material-symbols--home.svg +1 -0
  112. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/radix-icons--moon.svg +1 -0
  113. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/radix-icons--sun.svg +1 -0
  114. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/streamline--startup-solid.svg +1 -0
  115. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/icons/light/teenyicons--doc-solid.svg +1 -0
  116. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/images/README.md +1 -0
  117. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/images/workflow-placeholder.png +0 -0
  118. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/installer/README.md +5 -0
  119. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/logos/dark/placeholder_logo.png +0 -0
  120. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/logos/light/placeholder_logo.png +0 -0
  121. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/orchestrator/README.md +3 -0
  122. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/pywebview/README.md +3 -0
  123. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/assets/scripts/README.md +1 -0
  124. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/components/README.md +1 -0
  125. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/pages/about_page.py +71 -0
  126. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/pages/first_page.py +147 -0
  127. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/pages/page.py +367 -0
  128. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/src/{{ cookiecutter.__solution_namespace_path }}/{{cookiecutter.__solution_module_name}}/ui/pages/second_page.py +32 -0
  129. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/tests/common_test_files/README.md +1 -0
  130. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/tests/conftest.py +37 -0
  131. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/tests/unit/test_solution_api.py +42 -0
  132. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/tests/unit/test_solution_ui.py +30 -0
  133. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_solutions/templates/solution/{{cookiecutter.__solution_name}}/tox.ini +56 -0
  134. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/__init__.py +15 -0
  135. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/archiver.py +67 -0
  136. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/backup.py +181 -0
  137. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/conversion.py +64 -0
  138. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/platform.py +26 -0
  139. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/py.typed +0 -0
  140. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/_utilities/solution_modules.py +173 -0
  141. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/integrations/solutions_manager.py +64 -0
  142. ansys_saf_cli-4.1.dev0/src/ansys/saf/cli/py.typed +0 -0
@@ -0,0 +1,12 @@
1
+ # This is the list of SAF CLI's significant contributors.
2
+ #
3
+ # This file does not necessarily list everyone who has contributed code.
4
+ #
5
+ # For contributions made under a Corporate CLA, the organization is
6
+ # added to this file.
7
+ #
8
+ # If you have contributed to the repository and want to be added to this file,
9
+ # submit a request.
10
+ #
11
+ #
12
+ ANSYS, Inc.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 ANSYS, Inc. and/or its affiliates.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,201 @@
1
+ Metadata-Version: 2.4
2
+ Name: ansys-saf-cli
3
+ Version: 4.1.dev0
4
+ Summary: Command line interface for developing SAF solutions from scaffolding to packaging.
5
+ License: Apache-2.0
6
+ License-File: AUTHORS
7
+ License-File: LICENSE
8
+ Keywords: solution application framework,python,saf,solution
9
+ Author: ANSYS, Inc.
10
+ Author-email: pyansys.core@ansys.com
11
+ Maintainer: ANSYS, Inc.
12
+ Maintainer-email: pyansys.core@ansys.com
13
+ Requires-Python: >=3.10,<4
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Other Audience
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Natural Language :: English
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Topic :: Scientific/Engineering
25
+ Requires-Dist: ansys-saf-templates (>=0.2.dev2,<1.0.0)
26
+ Requires-Dist: chardet (>=5.2.0,<7)
27
+ Requires-Dist: click (>=8.1.7,<9.0.0)
28
+ Requires-Dist: cookiecutter (>=2.6.0,<3.0.0)
29
+ Requires-Dist: packaging (>=24.2,<25.0)
30
+ Requires-Dist: pydantic (>=2.7,<3.0)
31
+ Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
32
+ Requires-Dist: tomlkit (>=0.14.0,<1.0.0)
33
+ Description-Content-Type: text/x-rst
34
+
35
+ #####################################################
36
+ Solution Application Framework - CLI
37
+ #####################################################
38
+
39
+ |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
40
+
41
+ .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-cli?logo=python&logoColor=white&label=Python
42
+ :target: https://pypi.org/project/ansys-saf-cli/
43
+ :alt: Python
44
+
45
+ .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-cli.svg?logo=pypi&logoColor=white&label=PyPI
46
+ :target: https://pypi.org/project/ansys-saf-cli/
47
+ :alt: PyPI
48
+
49
+ .. |GH-CI| image:: https://github.com/ansys/saf-cli/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
50
+ :target: https://github.com/ansys/saf-cli/actions/workflows/ci_cd_release.yml
51
+ :alt: GH-CI
52
+
53
+ .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-cli
54
+ :target: https://app.codecov.io/gh/ansys/saf-cli
55
+ :alt: Codecov
56
+
57
+ .. |Apache| image:: https://img.shields.io/badge/License-Apache2.0-white.svg?labelColor=black
58
+ :target: https://www.apache.org/licenses/
59
+ :alt: Apache
60
+
61
+ .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
62
+ :target: https://github.com/astral-sh/ruff
63
+ :alt: Ruff
64
+
65
+
66
+ Overview
67
+ ========
68
+
69
+ SAF CLI is a command-line tool that streamlines the development, management, and packaging of SAF-based solutions.
70
+ It provides a unified developer workflow for common SAF tasks such as scaffolding new solutions, installing and
71
+ managing solution environments, running solutions locally, executing commands in the correct Python environment,
72
+ building distributable installers, archiving solution source code, and listing registered solutions. Under the hood,
73
+ it helps coordinate the tools and services involved in the SAF ecosystem so that developers can work with solutions
74
+ through a consistent command set instead of stitching together manual steps.
75
+
76
+ +------------+------------------------------------------------------------------+
77
+ | Command | Description |
78
+ +============+==================================================================+
79
+ | new | Scaffold a new SAF solution from a template. |
80
+ +------------+------------------------------------------------------------------+
81
+ | install | Set up the solution development environment and dependencies. |
82
+ +------------+------------------------------------------------------------------+
83
+ | run | Run a solution locally for development and testing. |
84
+ +------------+------------------------------------------------------------------+
85
+ | execute | Run arbitrary commands in the solution Python environment. |
86
+ +------------+------------------------------------------------------------------+
87
+ | build | Build a distributable package or installer for a solution. |
88
+ +------------+------------------------------------------------------------------+
89
+ | add-step | Add a new step to an existing SAF solution. |
90
+ +------------+------------------------------------------------------------------+
91
+ | archive | Archive a solution source tree into a distributable bundle. |
92
+ +------------+------------------------------------------------------------------+
93
+ | solutions | List the solutions registered in the SAF solution database. |
94
+ +------------+------------------------------------------------------------------+
95
+ | doc | Open the SAF CLI documentation. |
96
+ +------------+------------------------------------------------------------------+
97
+
98
+ The CLI is designed to improve developer productivity and solution consistency across the full solution lifecycle.
99
+ It reduces setup friction for new projects, lowers the amount of custom scripting teams need to maintain, and makes
100
+ local development, packaging, and delivery more repeatable.
101
+
102
+
103
+ Installation
104
+ ============
105
+
106
+ Ensure you have all the necessary `prerequisites`_. Then, refer to the
107
+ `installation guidelines`_ for detailed instructions on how to install the
108
+ project on your system.
109
+
110
+
111
+ Documentation
112
+ =============
113
+
114
+ The `official documentation`_ of SAF CLI contains
115
+ the following chapters:
116
+
117
+ - `Getting started`_. This section provides a brief overview and instructions on
118
+ how to get started with the project. It typically includes information on how
119
+ to install the project, set up any necessary dependencies, and run a basic
120
+ example or test to ensure everything is functioning correctly.
121
+
122
+ - `User guide`_. The user guide section offers detailed documentation and
123
+ instructions on how to use the project. It provides comprehensive explanations
124
+ of the project's features, functionalities, and configuration options. The
125
+ user guide aims to help users understand the project's concepts, best
126
+ practices, and recommended workflows.
127
+
128
+ - `Contribute`_. This section provides guidelines and instructions on how to
129
+ contribute to the project. It includes information on how to set up the
130
+ development environment, run tests, submit pull requests, and follow
131
+ contribution guidelines.
132
+
133
+
134
+ Troubleshooting
135
+ ===============
136
+
137
+ For troubleshooting or reporting issues, please open an issue in the project
138
+ repository.
139
+
140
+ Please follow these steps to report an issue:
141
+
142
+ - Go to the project repository.
143
+ - Click on the ``Issues`` tab.
144
+ - Click on the ``New Issue`` button.
145
+ - Provide a clear and detailed description of the issue you are facing.
146
+ - Include any relevant error messages, code snippets, or screenshots.
147
+
148
+ Additionally, you can refer to the `official documentation`_ for additional
149
+ resources and troubleshooting guides.
150
+
151
+
152
+ Using GitHub Copilot for Development
153
+ =====================================
154
+
155
+ This repository includes a `Copilot instructions file <https://github.com/ansys/saf-cli/blob/main/.github/copilot-instructions.md>`_ that provides AI-assisted development guidance. When working on SAF CLI enhancements or bug fixes:
156
+
157
+ #. GitHub Copilot will automatically reference the project structure, architecture, and development guidelines from the instructions file.
158
+ #. The instructions cover core concepts like solution resolution, dependency groups, environment management, and code style expectations.
159
+ #. Use Copilot to generate code that follows the established patterns for CLI commands, configuration management, and integrations.
160
+ #. The instructions emphasize type hints, Google-style docstrings, and the modular structure of the codebase.
161
+
162
+ This helps ensure consistency across contributions and speeds up development workflows.
163
+
164
+ **Suggested Copilot Prompt:**
165
+
166
+ When starting a new feature or fix, you can use a prompt like this to guide Copilot:
167
+
168
+ "I'm working on the SAF CLI project. [Describe your task]. Please follow the project's Copilot instructions,
169
+ including using Click for CLI commands, type hints, Google-style docstrings, and the existing modular structure
170
+ in src/ansys/saf/cli/. Ensure the code integrates with the existing modules and includes appropriate error handling."
171
+
172
+ This prompt helps ensure Copilot generates code that aligns with SAF CLI's architecture and standards.
173
+
174
+
175
+ License
176
+ =======
177
+
178
+ This project is licensed under the Apache 2.0 License - see the `LICENSE`_ file for details.
179
+
180
+
181
+ Changelog
182
+ =========
183
+
184
+ The changelog section provides a summary of notable changes for each version of
185
+ SAF CLI for Python. It helps you keep track of updates, bug
186
+ fixes, new features, and improvements made to the project over time.
187
+
188
+ To view the complete changelog, visit the project repository and navigate
189
+ to the `CHANGELOG`_ file. It provides a comprehensive list of changes
190
+ categorized by version, along with brief descriptions of each change.
191
+
192
+
193
+ .. _official documentation: https://saf-cli.docs.solutions.ansys.com
194
+ .. _prerequisites: https://saf-cli.docs.solutions.ansys.com
195
+ .. _installation guidelines: https://saf-cli.docs.solutions.ansys.com/version/stable/getting_started
196
+ .. _Getting started: https://saf-cli.docs.solutions.ansys.com/version/stable/getting_started/index.html
197
+ .. _User guide: https://saf-cli.docs.solutions.ansys.com/version/stable/user_guide/index.html
198
+ .. _Contribute: https://saf-cli.docs.solutions.ansys.com/version/stable/contribute/index.html
199
+ .. _LICENSE: https://github.com/ansys/saf-cli/blob/main/LICENSE
200
+ .. _CHANGELOG: https://github.com/ansys/saf-cli/blob/main/CHANGELOG.md
201
+
@@ -0,0 +1,166 @@
1
+ #####################################################
2
+ Solution Application Framework - CLI
3
+ #####################################################
4
+
5
+ |python| |pypi| |GH-CI| |codecov| |Apache| |ruff|
6
+
7
+ .. |python| image:: https://img.shields.io/pypi/pyversions/ansys-saf-cli?logo=python&logoColor=white&label=Python
8
+ :target: https://pypi.org/project/ansys-saf-cli/
9
+ :alt: Python
10
+
11
+ .. |pypi| image:: https://img.shields.io/pypi/v/ansys-saf-cli.svg?logo=pypi&logoColor=white&label=PyPI
12
+ :target: https://pypi.org/project/ansys-saf-cli/
13
+ :alt: PyPI
14
+
15
+ .. |GH-CI| image:: https://github.com/ansys/saf-cli/actions/workflows/ci_cd_release.yml/badge.svg?label=CI
16
+ :target: https://github.com/ansys/saf-cli/actions/workflows/ci_cd_release.yml
17
+ :alt: GH-CI
18
+
19
+ .. |codecov| image:: https://img.shields.io/codecov/c/github/ansys/saf-cli
20
+ :target: https://app.codecov.io/gh/ansys/saf-cli
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 CLI is a command-line tool that streamlines the development, management, and packaging of SAF-based solutions.
36
+ It provides a unified developer workflow for common SAF tasks such as scaffolding new solutions, installing and
37
+ managing solution environments, running solutions locally, executing commands in the correct Python environment,
38
+ building distributable installers, archiving solution source code, and listing registered solutions. Under the hood,
39
+ it helps coordinate the tools and services involved in the SAF ecosystem so that developers can work with solutions
40
+ through a consistent command set instead of stitching together manual steps.
41
+
42
+ +------------+------------------------------------------------------------------+
43
+ | Command | Description |
44
+ +============+==================================================================+
45
+ | new | Scaffold a new SAF solution from a template. |
46
+ +------------+------------------------------------------------------------------+
47
+ | install | Set up the solution development environment and dependencies. |
48
+ +------------+------------------------------------------------------------------+
49
+ | run | Run a solution locally for development and testing. |
50
+ +------------+------------------------------------------------------------------+
51
+ | execute | Run arbitrary commands in the solution Python environment. |
52
+ +------------+------------------------------------------------------------------+
53
+ | build | Build a distributable package or installer for a solution. |
54
+ +------------+------------------------------------------------------------------+
55
+ | add-step | Add a new step to an existing SAF solution. |
56
+ +------------+------------------------------------------------------------------+
57
+ | archive | Archive a solution source tree into a distributable bundle. |
58
+ +------------+------------------------------------------------------------------+
59
+ | solutions | List the solutions registered in the SAF solution database. |
60
+ +------------+------------------------------------------------------------------+
61
+ | doc | Open the SAF CLI documentation. |
62
+ +------------+------------------------------------------------------------------+
63
+
64
+ The CLI is designed to improve developer productivity and solution consistency across the full solution lifecycle.
65
+ It reduces setup friction for new projects, lowers the amount of custom scripting teams need to maintain, and makes
66
+ local development, packaging, and delivery more repeatable.
67
+
68
+
69
+ Installation
70
+ ============
71
+
72
+ Ensure you have all the necessary `prerequisites`_. Then, refer to the
73
+ `installation guidelines`_ for detailed instructions on how to install the
74
+ project on your system.
75
+
76
+
77
+ Documentation
78
+ =============
79
+
80
+ The `official documentation`_ of SAF CLI contains
81
+ the following chapters:
82
+
83
+ - `Getting started`_. This section provides a brief overview and instructions on
84
+ how to get started with the project. It typically includes information on how
85
+ to install the project, set up any necessary dependencies, and run a basic
86
+ example or test to ensure everything is functioning correctly.
87
+
88
+ - `User guide`_. The user guide section offers detailed documentation and
89
+ instructions on how to use the project. It provides comprehensive explanations
90
+ of the project's features, functionalities, and configuration options. The
91
+ user guide aims to help users understand the project's concepts, best
92
+ practices, and recommended workflows.
93
+
94
+ - `Contribute`_. This section provides guidelines and instructions on how to
95
+ contribute to the project. It includes information on how to set up the
96
+ development environment, run tests, submit pull requests, and follow
97
+ contribution guidelines.
98
+
99
+
100
+ Troubleshooting
101
+ ===============
102
+
103
+ For troubleshooting or reporting issues, please open an issue in the project
104
+ repository.
105
+
106
+ Please follow these steps to report an issue:
107
+
108
+ - Go to the project repository.
109
+ - Click on the ``Issues`` tab.
110
+ - Click on the ``New Issue`` button.
111
+ - Provide a clear and detailed description of the issue you are facing.
112
+ - Include any relevant error messages, code snippets, or screenshots.
113
+
114
+ Additionally, you can refer to the `official documentation`_ for additional
115
+ resources and troubleshooting guides.
116
+
117
+
118
+ Using GitHub Copilot for Development
119
+ =====================================
120
+
121
+ This repository includes a `Copilot instructions file <https://github.com/ansys/saf-cli/blob/main/.github/copilot-instructions.md>`_ that provides AI-assisted development guidance. When working on SAF CLI enhancements or bug fixes:
122
+
123
+ #. GitHub Copilot will automatically reference the project structure, architecture, and development guidelines from the instructions file.
124
+ #. The instructions cover core concepts like solution resolution, dependency groups, environment management, and code style expectations.
125
+ #. Use Copilot to generate code that follows the established patterns for CLI commands, configuration management, and integrations.
126
+ #. The instructions emphasize type hints, Google-style docstrings, and the modular structure of the codebase.
127
+
128
+ This helps ensure consistency across contributions and speeds up development workflows.
129
+
130
+ **Suggested Copilot Prompt:**
131
+
132
+ When starting a new feature or fix, you can use a prompt like this to guide Copilot:
133
+
134
+ "I'm working on the SAF CLI project. [Describe your task]. Please follow the project's Copilot instructions,
135
+ including using Click for CLI commands, type hints, Google-style docstrings, and the existing modular structure
136
+ in src/ansys/saf/cli/. Ensure the code integrates with the existing modules and includes appropriate error handling."
137
+
138
+ This prompt helps ensure Copilot generates code that aligns with SAF CLI's architecture and standards.
139
+
140
+
141
+ License
142
+ =======
143
+
144
+ This project is licensed under the Apache 2.0 License - see the `LICENSE`_ file for details.
145
+
146
+
147
+ Changelog
148
+ =========
149
+
150
+ The changelog section provides a summary of notable changes for each version of
151
+ SAF CLI for Python. It helps you keep track of updates, bug
152
+ fixes, new features, and improvements made to the project over time.
153
+
154
+ To view the complete changelog, visit the project repository and navigate
155
+ to the `CHANGELOG`_ file. It provides a comprehensive list of changes
156
+ categorized by version, along with brief descriptions of each change.
157
+
158
+
159
+ .. _official documentation: https://saf-cli.docs.solutions.ansys.com
160
+ .. _prerequisites: https://saf-cli.docs.solutions.ansys.com
161
+ .. _installation guidelines: https://saf-cli.docs.solutions.ansys.com/version/stable/getting_started
162
+ .. _Getting started: https://saf-cli.docs.solutions.ansys.com/version/stable/getting_started/index.html
163
+ .. _User guide: https://saf-cli.docs.solutions.ansys.com/version/stable/user_guide/index.html
164
+ .. _Contribute: https://saf-cli.docs.solutions.ansys.com/version/stable/contribute/index.html
165
+ .. _LICENSE: https://github.com/ansys/saf-cli/blob/main/LICENSE
166
+ .. _CHANGELOG: https://github.com/ansys/saf-cli/blob/main/CHANGELOG.md