besser 5.5.0__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 (261) hide show
  1. besser-5.5.0/LICENSE.md +21 -0
  2. besser-5.5.0/PKG-INFO +129 -0
  3. besser-5.5.0/README.md +89 -0
  4. besser-5.5.0/besser/BUML/__init__.py +0 -0
  5. besser-5.5.0/besser/BUML/metamodel/__init__.py +0 -0
  6. besser-5.5.0/besser/BUML/metamodel/deployment/__init__.py +1 -0
  7. besser-5.5.0/besser/BUML/metamodel/deployment/deployment.py +1005 -0
  8. besser-5.5.0/besser/BUML/metamodel/feature_model/__init__.py +1 -0
  9. besser-5.5.0/besser/BUML/metamodel/feature_model/feature_model.py +206 -0
  10. besser-5.5.0/besser/BUML/metamodel/gui/__init__.py +5 -0
  11. besser-5.5.0/besser/BUML/metamodel/gui/binding.py +123 -0
  12. besser-5.5.0/besser/BUML/metamodel/gui/dashboard.py +1296 -0
  13. besser-5.5.0/besser/BUML/metamodel/gui/events_actions.py +461 -0
  14. besser-5.5.0/besser/BUML/metamodel/gui/graphical_ui.py +1310 -0
  15. besser-5.5.0/besser/BUML/metamodel/gui/style.py +723 -0
  16. besser-5.5.0/besser/BUML/metamodel/nn/__init__.py +1 -0
  17. besser-5.5.0/besser/BUML/metamodel/nn/neural_network.py +2552 -0
  18. besser-5.5.0/besser/BUML/metamodel/object/__init__.py +1 -0
  19. besser-5.5.0/besser/BUML/metamodel/object/builder.py +69 -0
  20. besser-5.5.0/besser/BUML/metamodel/object/object.py +595 -0
  21. besser-5.5.0/besser/BUML/metamodel/ocl/__init__.py +1 -0
  22. besser-5.5.0/besser/BUML/metamodel/ocl/ocl.py +713 -0
  23. besser-5.5.0/besser/BUML/metamodel/project/__init__.py +1 -0
  24. besser-5.5.0/besser/BUML/metamodel/project/project.py +41 -0
  25. besser-5.5.0/besser/BUML/metamodel/quantum/__init__.py +1 -0
  26. besser-5.5.0/besser/BUML/metamodel/quantum/quantum.py +699 -0
  27. besser-5.5.0/besser/BUML/metamodel/state_machine/__init__.py +1 -0
  28. besser-5.5.0/besser/BUML/metamodel/state_machine/agent.py +1302 -0
  29. besser-5.5.0/besser/BUML/metamodel/state_machine/state_machine.py +540 -0
  30. besser-5.5.0/besser/BUML/metamodel/structural/__init__.py +1 -0
  31. besser-5.5.0/besser/BUML/metamodel/structural/structural.py +1958 -0
  32. besser-5.5.0/besser/BUML/notations/__init__.py +0 -0
  33. besser-5.5.0/besser/BUML/notations/deployment/__init__.py +4 -0
  34. besser-5.5.0/besser/BUML/notations/deployment/buml_deployment.py +40 -0
  35. besser-5.5.0/besser/BUML/notations/deployment/depl_to_buml_listener.py +139 -0
  36. besser-5.5.0/besser/BUML/notations/deployment/deploymentLexer.py +324 -0
  37. besser-5.5.0/besser/BUML/notations/deployment/deploymentListener.py +156 -0
  38. besser-5.5.0/besser/BUML/notations/deployment/deploymentParser.py +1572 -0
  39. besser-5.5.0/besser/BUML/notations/mockup_to_buml/__init__.py +4 -0
  40. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/__init__.py +1 -0
  41. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/multiple_pages/__init__.py +2 -0
  42. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/multiple_pages/gui_model_generation.py +515 -0
  43. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/multiple_pages/gui_models_generation.py +348 -0
  44. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/one_page/__init__.py +1 -0
  45. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/one_page/gui_generation.py +344 -0
  46. besser-5.5.0/besser/BUML/notations/mockup_to_buml/besser_integration/refactor_gui_model.py +34 -0
  47. besser-5.5.0/besser/BUML/notations/mockup_to_buml/config.py +19 -0
  48. besser-5.5.0/besser/BUML/notations/mockup_to_buml/mockup_to_buml.py +64 -0
  49. besser-5.5.0/besser/BUML/notations/mockup_to_buml/multiple_images.py +53 -0
  50. besser-5.5.0/besser/BUML/notations/mockup_to_buml/one_page.py +55 -0
  51. besser-5.5.0/besser/BUML/notations/mockup_to_buml/refactoring_model/__init__.py +2 -0
  52. besser-5.5.0/besser/BUML/notations/mockup_to_buml/refactoring_model/complete_model.py +65 -0
  53. besser-5.5.0/besser/BUML/notations/mockup_to_buml/refactoring_model/refactor_model.py +62 -0
  54. besser-5.5.0/besser/BUML/notations/mockup_to_structural/__init__.py +4 -0
  55. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/__init__.py +1 -0
  56. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/buml_conversion.py +14 -0
  57. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/multiple_pages/__init__.py +1 -0
  58. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/multiple_pages/plantuml_generation.py +253 -0
  59. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/one_page/__init__.py +1 -0
  60. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/one_page/plantuml_generation.py +208 -0
  61. besser-5.5.0/besser/BUML/notations/mockup_to_structural/besser_integration/refactor_plantuml.py +35 -0
  62. besser-5.5.0/besser/BUML/notations/mockup_to_structural/config.py +7 -0
  63. besser-5.5.0/besser/BUML/notations/mockup_to_structural/mockup_to_structural.py +59 -0
  64. besser-5.5.0/besser/BUML/notations/mockup_to_structural/multiple_images.py +31 -0
  65. besser-5.5.0/besser/BUML/notations/mockup_to_structural/one_page.py +48 -0
  66. besser-5.5.0/besser/BUML/notations/mockup_to_structural/refactoring_model/__init__.py +1 -0
  67. besser-5.5.0/besser/BUML/notations/mockup_to_structural/refactoring_model/refactor_model.py +64 -0
  68. besser-5.5.0/besser/BUML/notations/mockup_to_structural/utilities/__init__.py +2 -0
  69. besser-5.5.0/besser/BUML/notations/mockup_to_structural/utilities/file_utils.py +11 -0
  70. besser-5.5.0/besser/BUML/notations/mockup_to_structural/utilities/image_utils.py +7 -0
  71. besser-5.5.0/besser/BUML/notations/nn/NNLexer.py +642 -0
  72. besser-5.5.0/besser/BUML/notations/nn/NNListener.py +318 -0
  73. besser-5.5.0/besser/BUML/notations/nn/NNParser.py +2912 -0
  74. besser-5.5.0/besser/BUML/notations/nn/__init__.py +4 -0
  75. besser-5.5.0/besser/BUML/notations/nn/nn_buml_listener.py +226 -0
  76. besser-5.5.0/besser/BUML/notations/nn/nn_buml_parser.py +46 -0
  77. besser-5.5.0/besser/BUML/notations/objectPlantUML/ODLexer.py +132 -0
  78. besser-5.5.0/besser/BUML/notations/objectPlantUML/ODListener.py +158 -0
  79. besser-5.5.0/besser/BUML/notations/objectPlantUML/ODParser.py +776 -0
  80. besser-5.5.0/besser/BUML/notations/objectPlantUML/__init__.py +0 -0
  81. besser-5.5.0/besser/BUML/notations/ocl/BOCLLexer.py +433 -0
  82. besser-5.5.0/besser/BUML/notations/ocl/BOCLListener.py +1203 -0
  83. besser-5.5.0/besser/BUML/notations/ocl/BOCLParser.py +6219 -0
  84. besser-5.5.0/besser/BUML/notations/ocl/ConstraintRoot.py +22 -0
  85. besser-5.5.0/besser/BUML/notations/ocl/FactoryInstance.py +120 -0
  86. besser-5.5.0/besser/BUML/notations/ocl/InitRoot.py +41 -0
  87. besser-5.5.0/besser/BUML/notations/ocl/OCLParserWrapper.py +27 -0
  88. besser-5.5.0/besser/BUML/notations/ocl/PostConditionRoot.py +32 -0
  89. besser-5.5.0/besser/BUML/notations/ocl/PreConditionRoot.py +32 -0
  90. besser-5.5.0/besser/BUML/notations/ocl/RootHandler.py +380 -0
  91. besser-5.5.0/besser/BUML/notations/ocl/__init__.py +0 -0
  92. besser-5.5.0/besser/BUML/notations/ocl/comparison_operator_checker.py +21 -0
  93. besser-5.5.0/besser/BUML/notations/structuralDrawIO/__init__.py +1 -0
  94. besser-5.5.0/besser/BUML/notations/structuralDrawIO/structural_drawio_to_buml.py +1253 -0
  95. besser-5.5.0/besser/BUML/notations/structuralPlantUML/PlantUMLLexer.py +211 -0
  96. besser-5.5.0/besser/BUML/notations/structuralPlantUML/PlantUMLListener.py +237 -0
  97. besser-5.5.0/besser/BUML/notations/structuralPlantUML/PlantUMLParser.py +1943 -0
  98. besser-5.5.0/besser/BUML/notations/structuralPlantUML/__init__.py +5 -0
  99. besser-5.5.0/besser/BUML/notations/structuralPlantUML/plantUML_buml_listener.py +251 -0
  100. besser-5.5.0/besser/BUML/notations/structuralPlantUML/plantuml_to_buml.py +28 -0
  101. besser-5.5.0/besser/__init__.py +0 -0
  102. besser-5.5.0/besser/generators/__init__.py +1 -0
  103. besser-5.5.0/besser/generators/agents/__init__.py +1 -0
  104. besser-5.5.0/besser/generators/agents/baf_generator.py +82 -0
  105. besser-5.5.0/besser/generators/agents/templates/__init__.py +0 -0
  106. besser-5.5.0/besser/generators/agents/templates/baf_agent_template.py.j2 +267 -0
  107. besser-5.5.0/besser/generators/agents/templates/baf_config_template.py.j2 +8 -0
  108. besser-5.5.0/besser/generators/agents/templates/readme.txt.j2 +17 -0
  109. besser-5.5.0/besser/generators/backend/__init__.py +2 -0
  110. besser-5.5.0/besser/generators/backend/backend_generator.py +160 -0
  111. besser-5.5.0/besser/generators/backend/docker_files.py +84 -0
  112. besser-5.5.0/besser/generators/django/__init__.py +1 -0
  113. besser-5.5.0/besser/generators/django/django_generator.py +725 -0
  114. besser-5.5.0/besser/generators/django/templates/__init__.py +0 -0
  115. besser-5.5.0/besser/generators/django/templates/admin.py.j2 +32 -0
  116. besser-5.5.0/besser/generators/django/templates/basePageFile.py.j2 +88 -0
  117. besser-5.5.0/besser/generators/django/templates/django_fields.py.j2 +15 -0
  118. besser-5.5.0/besser/generators/django/templates/docker_compose.j2 +21 -0
  119. besser-5.5.0/besser/generators/django/templates/dockerfile.j2 +22 -0
  120. besser-5.5.0/besser/generators/django/templates/entrypoint.sh.j2 +25 -0
  121. besser-5.5.0/besser/generators/django/templates/form_page.py.j2 +122 -0
  122. besser-5.5.0/besser/generators/django/templates/forms.py.j2 +333 -0
  123. besser-5.5.0/besser/generators/django/templates/home_page.py.j2 +58 -0
  124. besser-5.5.0/besser/generators/django/templates/list_page.py.j2 +185 -0
  125. besser-5.5.0/besser/generators/django/templates/models.py.j2 +100 -0
  126. besser-5.5.0/besser/generators/django/templates/project_urls.py.j2 +24 -0
  127. besser-5.5.0/besser/generators/django/templates/requirements.txt.j2 +3 -0
  128. besser-5.5.0/besser/generators/django/templates/urls.py.j2 +43 -0
  129. besser-5.5.0/besser/generators/django/templates/views.py.j2 +152 -0
  130. besser-5.5.0/besser/generators/flutter/__init__.py +1 -0
  131. besser-5.5.0/besser/generators/flutter/flutter_generator.py +288 -0
  132. besser-5.5.0/besser/generators/flutter/templates/__init__.py +0 -0
  133. besser-5.5.0/besser/generators/flutter/templates/flutterCodeGeneratorMainFile.py.j2 +1405 -0
  134. besser-5.5.0/besser/generators/flutter/templates/flutterCodeGeneratorPubspecFile.py.j2 +25 -0
  135. besser-5.5.0/besser/generators/flutter/templates/flutterCodeGeneratorSqlHelperFile.py.j2 +796 -0
  136. besser-5.5.0/besser/generators/generator_interface.py +45 -0
  137. besser-5.5.0/besser/generators/java_classes/__init__.py +1 -0
  138. besser-5.5.0/besser/generators/java_classes/java_generator.py +34 -0
  139. besser-5.5.0/besser/generators/java_classes/templates/__init__.py +1 -0
  140. besser-5.5.0/besser/generators/java_classes/templates/java_fields.py.j2 +23 -0
  141. besser-5.5.0/besser/generators/java_classes/templates/java_template.py.j2 +209 -0
  142. besser-5.5.0/besser/generators/json/__init__.py +1 -0
  143. besser-5.5.0/besser/generators/json/json_schema_generator.py +594 -0
  144. besser-5.5.0/besser/generators/json/templates/__init__.py +0 -0
  145. besser-5.5.0/besser/generators/json/templates/example.json.j2 +7 -0
  146. besser-5.5.0/besser/generators/json/templates/json_schema.json.j2 +133 -0
  147. besser-5.5.0/besser/generators/json/templates/smart_data_schema.json.j2 +1 -0
  148. besser-5.5.0/besser/generators/nn/__init__.py +0 -0
  149. besser-5.5.0/besser/generators/nn/nn_code_generator.py +151 -0
  150. besser-5.5.0/besser/generators/nn/pytorch/__init__.py +1 -0
  151. besser-5.5.0/besser/generators/nn/pytorch/pytorch_code_generator.py +46 -0
  152. besser-5.5.0/besser/generators/nn/pytorch/templates/__init__.py +0 -0
  153. besser-5.5.0/besser/generators/nn/pytorch/templates/setup_nn_components.py.j2 +330 -0
  154. besser-5.5.0/besser/generators/nn/pytorch/templates/template_pytorch_sequential.py.j2 +27 -0
  155. besser-5.5.0/besser/generators/nn/pytorch/templates/template_pytorch_subclassing.py.j2 +31 -0
  156. besser-5.5.0/besser/generators/nn/pytorch/utils_pytorch.py +333 -0
  157. besser-5.5.0/besser/generators/nn/tf/__init__.py +1 -0
  158. besser-5.5.0/besser/generators/nn/tf/templates/__init__.py +0 -0
  159. besser-5.5.0/besser/generators/nn/tf/templates/setup_nn_components.py.j2 +400 -0
  160. besser-5.5.0/besser/generators/nn/tf/templates/template_tf_sequential.py.j2 +28 -0
  161. besser-5.5.0/besser/generators/nn/tf/templates/template_tf_subclassing.py.j2 +33 -0
  162. besser-5.5.0/besser/generators/nn/tf/tf_code_generator.py +44 -0
  163. besser-5.5.0/besser/generators/nn/tf/utils_tf.py +233 -0
  164. besser-5.5.0/besser/generators/nn/utils_nn.py +474 -0
  165. besser-5.5.0/besser/generators/pydantic_classes/__init__.py +1 -0
  166. besser-5.5.0/besser/generators/pydantic_classes/pydantic_classes_generator.py +58 -0
  167. besser-5.5.0/besser/generators/pydantic_classes/templates/__init__.py +0 -0
  168. besser-5.5.0/besser/generators/pydantic_classes/templates/pydantic_classes_template.py.j2 +110 -0
  169. besser-5.5.0/besser/generators/python_classes/__init__.py +1 -0
  170. besser-5.5.0/besser/generators/python_classes/python_classes_generator.py +38 -0
  171. besser-5.5.0/besser/generators/python_classes/templates/__init__.py +0 -0
  172. besser-5.5.0/besser/generators/python_classes/templates/class_parameters.py.j2 +25 -0
  173. besser-5.5.0/besser/generators/python_classes/templates/python_classes_template.py.j2 +133 -0
  174. besser-5.5.0/besser/generators/qiskit/__init__.py +1 -0
  175. besser-5.5.0/besser/generators/qiskit/qiskit_generator.py +553 -0
  176. besser-5.5.0/besser/generators/qiskit/test_qiskit_generator.py +51 -0
  177. besser-5.5.0/besser/generators/rdf/__init__.py +1 -0
  178. besser-5.5.0/besser/generators/rdf/rdf_generator.py +48 -0
  179. besser-5.5.0/besser/generators/rdf/templates/__init__.py +0 -0
  180. besser-5.5.0/besser/generators/rdf/templates/rdf_helpers.j2 +7 -0
  181. besser-5.5.0/besser/generators/rdf/templates/rdf_template.j2 +95 -0
  182. besser-5.5.0/besser/generators/react/__init__.py +1 -0
  183. besser-5.5.0/besser/generators/react/react.py +1257 -0
  184. besser-5.5.0/besser/generators/rest_api/__init__.py +1 -0
  185. besser-5.5.0/besser/generators/rest_api/rest_api_generator.py +144 -0
  186. besser-5.5.0/besser/generators/rest_api/templates/__init__.py +0 -0
  187. besser-5.5.0/besser/generators/rest_api/templates/backend_fast_api_template.py.j2 +1071 -0
  188. besser-5.5.0/besser/generators/rest_api/templates/fast_api_template.py.j2 +149 -0
  189. besser-5.5.0/besser/generators/sql/__init__.py +1 -0
  190. besser-5.5.0/besser/generators/sql/sql_generator.py +79 -0
  191. besser-5.5.0/besser/generators/sql_alchemy/__init__.py +1 -0
  192. besser-5.5.0/besser/generators/sql_alchemy/sql_alchemy_generator.py +170 -0
  193. besser-5.5.0/besser/generators/sql_alchemy/templates/__init__.py +0 -0
  194. besser-5.5.0/besser/generators/sql_alchemy/templates/helpers.py.j2 +38 -0
  195. besser-5.5.0/besser/generators/sql_alchemy/templates/sql_alchemy_template.py.j2 +211 -0
  196. besser-5.5.0/besser/generators/terraform/__init__.py +1 -0
  197. besser-5.5.0/besser/generators/terraform/templates/__init__.py +0 -0
  198. besser-5.5.0/besser/generators/terraform/templates/aws/__init__.py +0 -0
  199. besser-5.5.0/besser/generators/terraform/templates/aws/eks.tf.j2 +164 -0
  200. besser-5.5.0/besser/generators/terraform/templates/aws/iam-oidc.tf.j2 +10 -0
  201. besser-5.5.0/besser/generators/terraform/templates/aws/igw.tf.j2 +8 -0
  202. besser-5.5.0/besser/generators/terraform/templates/aws/nat.tf.j2 +19 -0
  203. besser-5.5.0/besser/generators/terraform/templates/aws/nodes.tf.j2 +74 -0
  204. besser-5.5.0/besser/generators/terraform/templates/aws/provider.tf.j2 +16 -0
  205. besser-5.5.0/besser/generators/terraform/templates/aws/routes.tf.j2 +74 -0
  206. besser-5.5.0/besser/generators/terraform/templates/aws/setup.bat.j2 +2 -0
  207. besser-5.5.0/besser/generators/terraform/templates/aws/subnets.tf.j2 +54 -0
  208. besser-5.5.0/besser/generators/terraform/templates/aws/vpc.tf.j2 +8 -0
  209. besser-5.5.0/besser/generators/terraform/templates/gcp/__init__.py +0 -0
  210. besser-5.5.0/besser/generators/terraform/templates/gcp/api.tf.j2 +19 -0
  211. besser-5.5.0/besser/generators/terraform/templates/gcp/app.tf.j2 +120 -0
  212. besser-5.5.0/besser/generators/terraform/templates/gcp/cluster.tf.j2 +126 -0
  213. besser-5.5.0/besser/generators/terraform/templates/gcp/setup.bat.j2 +2 -0
  214. besser-5.5.0/besser/generators/terraform/templates/gcp/version.tf.j2 +30 -0
  215. besser-5.5.0/besser/generators/terraform/terraform_generator.py +139 -0
  216. besser-5.5.0/besser/generators/web_app/__init__.py +1 -0
  217. besser-5.5.0/besser/generators/web_app/web_app_generator.py +112 -0
  218. besser-5.5.0/besser/utilities/__init__.py +7 -0
  219. besser-5.5.0/besser/utilities/buml_code_builder/__init__.py +17 -0
  220. besser-5.5.0/besser/utilities/buml_code_builder/agent_model_builder.py +196 -0
  221. besser-5.5.0/besser/utilities/buml_code_builder/common.py +47 -0
  222. besser-5.5.0/besser/utilities/buml_code_builder/domain_model_builder.py +452 -0
  223. besser-5.5.0/besser/utilities/buml_code_builder/gui_model_builder.py +1075 -0
  224. besser-5.5.0/besser/utilities/buml_code_builder/project_builder.py +149 -0
  225. besser-5.5.0/besser/utilities/buml_code_builder/quantum_model_builder.py +205 -0
  226. besser-5.5.0/besser/utilities/image_to_buml.py +87 -0
  227. besser-5.5.0/besser/utilities/utils.py +71 -0
  228. besser-5.5.0/besser.egg-info/PKG-INFO +129 -0
  229. besser-5.5.0/besser.egg-info/SOURCES.txt +260 -0
  230. besser-5.5.0/besser.egg-info/dependency_links.txt +1 -0
  231. besser-5.5.0/besser.egg-info/requires.txt +26 -0
  232. besser-5.5.0/besser.egg-info/top_level.txt +2 -0
  233. besser-5.5.0/pyproject.toml +6 -0
  234. besser-5.5.0/requirements.txt +21 -0
  235. besser-5.5.0/setup.cfg +33 -0
  236. besser-5.5.0/tests/BUML/__init__.py +0 -0
  237. besser-5.5.0/tests/BUML/metamodel/__init__.py +0 -0
  238. besser-5.5.0/tests/BUML/metamodel/feature_model/__init__.py +0 -0
  239. besser-5.5.0/tests/BUML/metamodel/feature_model/test_feature_model.py +165 -0
  240. besser-5.5.0/tests/BUML/metamodel/gui/__init__.py +0 -0
  241. besser-5.5.0/tests/BUML/metamodel/gui/test_gui.py +133 -0
  242. besser-5.5.0/tests/BUML/metamodel/nn/__init__.py +0 -0
  243. besser-5.5.0/tests/BUML/metamodel/nn/alexnet.py +68 -0
  244. besser-5.5.0/tests/BUML/metamodel/nn/cnn_rnn.py +45 -0
  245. besser-5.5.0/tests/BUML/metamodel/nn/lstm.py +35 -0
  246. besser-5.5.0/tests/BUML/metamodel/nn/regression.py +41 -0
  247. besser-5.5.0/tests/BUML/metamodel/nn/test_nn_metamodel.py +350 -0
  248. besser-5.5.0/tests/BUML/metamodel/nn/tutorial_example.py +57 -0
  249. besser-5.5.0/tests/BUML/metamodel/nn/vgg16.py +91 -0
  250. besser-5.5.0/tests/BUML/metamodel/object/__init__.py +0 -0
  251. besser-5.5.0/tests/BUML/metamodel/object/library_object.py +157 -0
  252. besser-5.5.0/tests/BUML/metamodel/object/test_fluent_api.py +158 -0
  253. besser-5.5.0/tests/BUML/metamodel/object/test_object_mm.py +115 -0
  254. besser-5.5.0/tests/BUML/metamodel/ocl/__init__.py +0 -0
  255. besser-5.5.0/tests/BUML/metamodel/ocl/test_ocl_parser.py +220 -0
  256. besser-5.5.0/tests/BUML/metamodel/state_machine/__init__.py +0 -0
  257. besser-5.5.0/tests/BUML/metamodel/state_machine/test_state_machine.py +44 -0
  258. besser-5.5.0/tests/BUML/metamodel/structural/__init__.py +0 -0
  259. besser-5.5.0/tests/BUML/metamodel/structural/test_structural.py +592 -0
  260. besser-5.5.0/tests/BUML/notations/__init__.py +0 -0
  261. besser-5.5.0/tests/__init__.py +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 BESSER-PEARL
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
besser-5.5.0/PKG-INFO ADDED
@@ -0,0 +1,129 @@
1
+ Metadata-Version: 2.4
2
+ Name: besser
3
+ Version: 5.5.0
4
+ Summary: BESSER
5
+ Author: Luxembourg Institute of Science and Technology
6
+ License: MIT
7
+ Project-URL: Documentation, https://besser.readthedocs.io/en/latest/
8
+ Project-URL: Source Code, https://github.com/BESSER-PEARL/BESSER
9
+ Project-URL: Bug Tracker, https://github.com/BESSER-PEARL/BESSER/issues
10
+ Keywords: uml,code generation,python
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE.md
14
+ Requires-Dist: Arpeggio>=2.0.2
15
+ Requires-Dist: colorama>=0.4.6
16
+ Requires-Dist: iniconfig>=2.0.0
17
+ Requires-Dist: packaging>=24.2
18
+ Requires-Dist: pluggy>=1.2.0
19
+ Requires-Dist: pytest>=7.4.0
20
+ Requires-Dist: python-multipart>=0.0.17
21
+ Requires-Dist: setuptools>=68.2.2
22
+ Requires-Dist: jinja2>=3.1.2
23
+ Requires-Dist: antlr4-python3-runtime>=4.13.1
24
+ Requires-Dist: requests>=2.31.0
25
+ Requires-Dist: pydantic>=2.6.3
26
+ Requires-Dist: uvicorn>=0.28.0
27
+ Requires-Dist: SQLAlchemy>=2.0.29
28
+ Requires-Dist: httpx>=0.27.0
29
+ Requires-Dist: docker>=7.1.0
30
+ Requires-Dist: Django>=5.1.5
31
+ Requires-Dist: oracledb>=3.4.1
32
+ Requires-Dist: psycopg2-binary>=2.9.10
33
+ Requires-Dist: pymysql>=1.1.1
34
+ Requires-Dist: pyodbc>=5.2.0
35
+ Provides-Extra: nn
36
+ Requires-Dist: pillow>=11.1.0; extra == "nn"
37
+ Requires-Dist: numpy>=2.2.4; extra == "nn"
38
+ Requires-Dist: torch>=2.6.0; extra == "nn"
39
+ Dynamic: license-file
40
+
41
+ <div align="center">
42
+ <img src="./docs/source/_static/besser_logo_light.png" alt="BESSER platform" width="500"/>
43
+ </div>
44
+
45
+ [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&logoColor=gold)](https://pypi.org/project/besser/)
46
+ [![PyPI version](https://img.shields.io/pypi/v/besser?logo=pypi&logoColor=white)](https://pypi.org/project/besser/)
47
+ [![PyPI - Downloads](https://static.pepy.tech/badge/besser)](https://pypi.org/project/besser/)
48
+ [![Documentation Status](https://readthedocs.org/projects/besser/badge/?version=latest)](https://besser.readthedocs.io/en/latest/)
49
+ [![PyPI - License](https://img.shields.io/pypi/l/besser)](https://opensource.org/license/MIT)
50
+ [![LinkedIn](https://img.shields.io/badge/-LinkedIn-blue?logo=Linkedin&logoColor=white)](https://www.linkedin.com/company/besser-pearl)
51
+ [![GitHub Repo stars](https://img.shields.io/github/stars/besser-pearl/besser?style=social)](https://star-history.com/#besser-pearl/besser)
52
+
53
+ BESSER is a [low-modeling](https://modeling-languages.com/welcome-to-the-low-modeling-revolution/) [low-code](https://lowcode-book.com/) open-source platform. BESSER (Building bEtter Smart Software fastER) is funded thanks to an [FNR Pearl grant](https://modeling-languages.com/a-smart-low-code-platform-for-smart-software-in-luxembourg-goodbye-barcelona/) led by the [Luxembourg Institute of Science and Technology](https://www.list.lu/) with the participation of the [Snt/University of Luxembourg](https://www.uni.lu/snt-en/) and open to all your contributions!
54
+
55
+ The BESSER low-code platform is built on top of [B-UML](https://besser.readthedocs.io/en/latest/buml_language.html) our Python-based personal interpretation of a "Universal Modeling Language" (yes, heavily inspired and a simplified version of the better known UML, the Unified Modeling Language).
56
+ With B-UML you can specify your software application and then use any of the [code-generators available](https://besser.readthedocs.io/en/latest/generators.html) to translate your model into executable code suitable for various applications, such as Django web apps or database structures compatible with SQLAlchemy.
57
+
58
+ This repository contains the backend foundation for the ecosystem: the
59
+ metamodel, code generators, notations, utilities, and services that drive the web modeling editor and the Python SDK. The editor's frontend is maintained in the companion [BESSER_WME_standalone](https://github.com/BESSER-PEARL/BESSER_WME_standalone) repository and is included here only as a submodule for local deployments.
60
+
61
+ **Check out the [BESSER Web Modeling Editor online](https://editor.besser-pearl.org/)**
62
+ ![BESSER Web Modeling Editor Demo](./docs/source/img/besser_new.gif)
63
+
64
+ **Check out the official [documentation](https://besser.readthedocs.io/en/latest/)**
65
+
66
+ ## Basic Installation
67
+
68
+ BESSER works with Python 3.10+. We recommend creating a virtual environment (e.g. [venv](https://docs.python.org/3/tutorial/venv.html), [conda](https://docs.conda.io/en/latest/)).
69
+
70
+ The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using
71
+
72
+ $ pip install besser
73
+
74
+ BESSER can be used with any of the popular IDEs for Python development such as [VScode](https://code.visualstudio.com/), [PyCharm](https://www.jetbrains.com/pycharm/), [Sublime Text](https://www.sublimetext.com/), etc.
75
+
76
+ ## Running BESSER Locally
77
+
78
+ If you are interested in developing new code generators or designing BESSER extensions, you can download and modify the full codebase, including tests and examples.
79
+
80
+ ### Step 1: Clone the repository
81
+
82
+ $ git clone https://github.com/BESSER-PEARL/BESSER.git
83
+ $ cd BESSER
84
+
85
+ ### Step 2: Create a virtual environment
86
+
87
+ Run the setup script to create a virtual environment (if not already created), install the requirements, and configure the ``PYTHONPATH``. This ensures compatibility with IDEs (like VSCode) that may not automatically set the ``PYTHONPATH`` for recognizing *besser* as an importable module.
88
+
89
+ $ python setup_environment.py
90
+
91
+ **Note:** Each time you start your IDE, run the `setup_environment.py` script to ensure the environment is properly configured.
92
+
93
+ ### Step 3: Run an example
94
+
95
+ To verify the setup, you can run a basic example.
96
+
97
+ $ cd tests/BUML/metamodel/structural/library
98
+ $ python library.py
99
+
100
+ ## Examples
101
+ If you want to try examples, check out the [BESSER-examples](https://github.com/BESSER-PEARL/BESSER-examples) repository!
102
+
103
+ ## Contributing
104
+
105
+ We encourage contributions from the community and any comment is welcome!
106
+
107
+ If you are interested in contributing to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.
108
+ You can also explore our step-by-step [Contributor Guide](https://besser.readthedocs.io/en/latest/contributor_guide.html) and the dedicated [AI Assistant Guide](https://besser.readthedocs.io/en/latest/ai_assistant_guide.html) to understand the workflows and expectations before opening a pull request.
109
+
110
+ ## How to cite BESSER
111
+
112
+ This repository has the CITATION.cff file, which activates the "Cite this repository" button in the About section (right side of the repository). The citation is in APA and BibTex format.
113
+
114
+ ## Code of Conduct
115
+
116
+ At BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our [Code of Conduct](CODE_OF_CONDUCT.md).
117
+
118
+ ## Governance
119
+
120
+ The development of this project follows the governance rules described in the [GOVERNANCE.md](GOVERNANCE.md) document.
121
+
122
+ ## Contact
123
+ You can reach us at: [info@besser-pearl.org](mailto:info@besser-pearl-org)
124
+
125
+ Website: https://besser-pearl.org
126
+
127
+ ## License
128
+
129
+ This project is licensed under the [MIT](https://mit-license.org/) license.
besser-5.5.0/README.md ADDED
@@ -0,0 +1,89 @@
1
+ <div align="center">
2
+ <img src="./docs/source/_static/besser_logo_light.png" alt="BESSER platform" width="500"/>
3
+ </div>
4
+
5
+ [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&logoColor=gold)](https://pypi.org/project/besser/)
6
+ [![PyPI version](https://img.shields.io/pypi/v/besser?logo=pypi&logoColor=white)](https://pypi.org/project/besser/)
7
+ [![PyPI - Downloads](https://static.pepy.tech/badge/besser)](https://pypi.org/project/besser/)
8
+ [![Documentation Status](https://readthedocs.org/projects/besser/badge/?version=latest)](https://besser.readthedocs.io/en/latest/)
9
+ [![PyPI - License](https://img.shields.io/pypi/l/besser)](https://opensource.org/license/MIT)
10
+ [![LinkedIn](https://img.shields.io/badge/-LinkedIn-blue?logo=Linkedin&logoColor=white)](https://www.linkedin.com/company/besser-pearl)
11
+ [![GitHub Repo stars](https://img.shields.io/github/stars/besser-pearl/besser?style=social)](https://star-history.com/#besser-pearl/besser)
12
+
13
+ BESSER is a [low-modeling](https://modeling-languages.com/welcome-to-the-low-modeling-revolution/) [low-code](https://lowcode-book.com/) open-source platform. BESSER (Building bEtter Smart Software fastER) is funded thanks to an [FNR Pearl grant](https://modeling-languages.com/a-smart-low-code-platform-for-smart-software-in-luxembourg-goodbye-barcelona/) led by the [Luxembourg Institute of Science and Technology](https://www.list.lu/) with the participation of the [Snt/University of Luxembourg](https://www.uni.lu/snt-en/) and open to all your contributions!
14
+
15
+ The BESSER low-code platform is built on top of [B-UML](https://besser.readthedocs.io/en/latest/buml_language.html) our Python-based personal interpretation of a "Universal Modeling Language" (yes, heavily inspired and a simplified version of the better known UML, the Unified Modeling Language).
16
+ With B-UML you can specify your software application and then use any of the [code-generators available](https://besser.readthedocs.io/en/latest/generators.html) to translate your model into executable code suitable for various applications, such as Django web apps or database structures compatible with SQLAlchemy.
17
+
18
+ This repository contains the backend foundation for the ecosystem: the
19
+ metamodel, code generators, notations, utilities, and services that drive the web modeling editor and the Python SDK. The editor's frontend is maintained in the companion [BESSER_WME_standalone](https://github.com/BESSER-PEARL/BESSER_WME_standalone) repository and is included here only as a submodule for local deployments.
20
+
21
+ **Check out the [BESSER Web Modeling Editor online](https://editor.besser-pearl.org/)**
22
+ ![BESSER Web Modeling Editor Demo](./docs/source/img/besser_new.gif)
23
+
24
+ **Check out the official [documentation](https://besser.readthedocs.io/en/latest/)**
25
+
26
+ ## Basic Installation
27
+
28
+ BESSER works with Python 3.10+. We recommend creating a virtual environment (e.g. [venv](https://docs.python.org/3/tutorial/venv.html), [conda](https://docs.conda.io/en/latest/)).
29
+
30
+ The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using
31
+
32
+ $ pip install besser
33
+
34
+ BESSER can be used with any of the popular IDEs for Python development such as [VScode](https://code.visualstudio.com/), [PyCharm](https://www.jetbrains.com/pycharm/), [Sublime Text](https://www.sublimetext.com/), etc.
35
+
36
+ ## Running BESSER Locally
37
+
38
+ If you are interested in developing new code generators or designing BESSER extensions, you can download and modify the full codebase, including tests and examples.
39
+
40
+ ### Step 1: Clone the repository
41
+
42
+ $ git clone https://github.com/BESSER-PEARL/BESSER.git
43
+ $ cd BESSER
44
+
45
+ ### Step 2: Create a virtual environment
46
+
47
+ Run the setup script to create a virtual environment (if not already created), install the requirements, and configure the ``PYTHONPATH``. This ensures compatibility with IDEs (like VSCode) that may not automatically set the ``PYTHONPATH`` for recognizing *besser* as an importable module.
48
+
49
+ $ python setup_environment.py
50
+
51
+ **Note:** Each time you start your IDE, run the `setup_environment.py` script to ensure the environment is properly configured.
52
+
53
+ ### Step 3: Run an example
54
+
55
+ To verify the setup, you can run a basic example.
56
+
57
+ $ cd tests/BUML/metamodel/structural/library
58
+ $ python library.py
59
+
60
+ ## Examples
61
+ If you want to try examples, check out the [BESSER-examples](https://github.com/BESSER-PEARL/BESSER-examples) repository!
62
+
63
+ ## Contributing
64
+
65
+ We encourage contributions from the community and any comment is welcome!
66
+
67
+ If you are interested in contributing to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.
68
+ You can also explore our step-by-step [Contributor Guide](https://besser.readthedocs.io/en/latest/contributor_guide.html) and the dedicated [AI Assistant Guide](https://besser.readthedocs.io/en/latest/ai_assistant_guide.html) to understand the workflows and expectations before opening a pull request.
69
+
70
+ ## How to cite BESSER
71
+
72
+ This repository has the CITATION.cff file, which activates the "Cite this repository" button in the About section (right side of the repository). The citation is in APA and BibTex format.
73
+
74
+ ## Code of Conduct
75
+
76
+ At BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our [Code of Conduct](CODE_OF_CONDUCT.md).
77
+
78
+ ## Governance
79
+
80
+ The development of this project follows the governance rules described in the [GOVERNANCE.md](GOVERNANCE.md) document.
81
+
82
+ ## Contact
83
+ You can reach us at: [info@besser-pearl.org](mailto:info@besser-pearl-org)
84
+
85
+ Website: https://besser-pearl.org
86
+
87
+ ## License
88
+
89
+ This project is licensed under the [MIT](https://mit-license.org/) license.
File without changes
File without changes
@@ -0,0 +1 @@
1
+ from .deployment import *