GeneralManager 0.11.2__tar.gz → 0.24.2__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 (180) hide show
  1. generalmanager-0.24.2/LICENSE +21 -0
  2. generalmanager-0.24.2/PKG-INFO +182 -0
  3. generalmanager-0.24.2/README.md +108 -0
  4. generalmanager-0.24.2/pyproject.toml +172 -0
  5. generalmanager-0.24.2/src/GeneralManager.egg-info/PKG-INFO +182 -0
  6. generalmanager-0.24.2/src/GeneralManager.egg-info/SOURCES.txt +127 -0
  7. {generalmanager-0.11.2 → generalmanager-0.24.2/src}/GeneralManager.egg-info/requires.txt +2 -2
  8. generalmanager-0.24.2/src/general_manager/__init__.py +37 -0
  9. generalmanager-0.24.2/src/general_manager/_types/__init__.py +3 -0
  10. generalmanager-0.24.2/src/general_manager/_types/api.py +17 -0
  11. generalmanager-0.24.2/src/general_manager/_types/bucket.py +15 -0
  12. generalmanager-0.24.2/src/general_manager/_types/cache.py +19 -0
  13. generalmanager-0.24.2/src/general_manager/_types/factory.py +43 -0
  14. generalmanager-0.24.2/src/general_manager/_types/general_manager.py +43 -0
  15. generalmanager-0.24.2/src/general_manager/_types/interface.py +29 -0
  16. generalmanager-0.24.2/src/general_manager/_types/manager.py +17 -0
  17. generalmanager-0.24.2/src/general_manager/_types/measurement.py +15 -0
  18. generalmanager-0.24.2/src/general_manager/_types/permission.py +29 -0
  19. generalmanager-0.24.2/src/general_manager/_types/rule.py +11 -0
  20. generalmanager-0.24.2/src/general_manager/_types/utils.py +29 -0
  21. generalmanager-0.24.2/src/general_manager/api/__init__.py +40 -0
  22. generalmanager-0.24.2/src/general_manager/api/graphql.py +1994 -0
  23. generalmanager-0.24.2/src/general_manager/api/graphql_subscription_consumer.py +432 -0
  24. generalmanager-0.24.2/src/general_manager/api/mutation.py +267 -0
  25. generalmanager-0.24.2/src/general_manager/api/property.py +154 -0
  26. generalmanager-0.24.2/src/general_manager/apps.py +589 -0
  27. generalmanager-0.24.2/src/general_manager/bucket/__init__.py +37 -0
  28. generalmanager-0.24.2/src/general_manager/bucket/base_bucket.py +262 -0
  29. generalmanager-0.24.2/src/general_manager/bucket/calculation_bucket.py +838 -0
  30. generalmanager-0.24.2/src/general_manager/bucket/database_bucket.py +561 -0
  31. generalmanager-0.24.2/src/general_manager/bucket/group_bucket.py +448 -0
  32. generalmanager-0.24.2/src/general_manager/cache/__init__.py +37 -0
  33. generalmanager-0.24.2/src/general_manager/cache/cache_decorator.py +117 -0
  34. generalmanager-0.11.2/src/general_manager/cache/cacheTracker.py → generalmanager-0.24.2/src/general_manager/cache/cache_tracker.py +35 -16
  35. generalmanager-0.24.2/src/general_manager/cache/dependency_index.py +656 -0
  36. generalmanager-0.11.2/src/general_manager/cache/modelDependencyCollector.py → generalmanager-0.24.2/src/general_manager/cache/model_dependency_collector.py +21 -12
  37. {generalmanager-0.11.2 → generalmanager-0.24.2}/src/general_manager/cache/signals.py +25 -7
  38. generalmanager-0.24.2/src/general_manager/factory/__init__.py +37 -0
  39. generalmanager-0.24.2/src/general_manager/factory/auto_factory.py +457 -0
  40. generalmanager-0.24.2/src/general_manager/factory/factories.py +344 -0
  41. generalmanager-0.24.2/src/general_manager/factory/factory_methods.py +236 -0
  42. generalmanager-0.24.2/src/general_manager/interface/__init__.py +37 -0
  43. generalmanager-0.24.2/src/general_manager/interface/base_interface.py +1131 -0
  44. generalmanager-0.24.2/src/general_manager/interface/bundles/__init__.py +17 -0
  45. generalmanager-0.24.2/src/general_manager/interface/bundles/calculation.py +24 -0
  46. generalmanager-0.24.2/src/general_manager/interface/bundles/database.py +87 -0
  47. generalmanager-0.24.2/src/general_manager/interface/capabilities/__init__.py +43 -0
  48. generalmanager-0.24.2/src/general_manager/interface/capabilities/base.py +55 -0
  49. generalmanager-0.24.2/src/general_manager/interface/capabilities/builtin.py +116 -0
  50. generalmanager-0.24.2/src/general_manager/interface/capabilities/calculation/__init__.py +18 -0
  51. generalmanager-0.24.2/src/general_manager/interface/capabilities/calculation/_compat.py +22 -0
  52. generalmanager-0.24.2/src/general_manager/interface/capabilities/calculation/lifecycle.py +302 -0
  53. generalmanager-0.24.2/src/general_manager/interface/capabilities/configuration.py +99 -0
  54. generalmanager-0.24.2/src/general_manager/interface/capabilities/core/observability.py +138 -0
  55. generalmanager-0.24.2/src/general_manager/interface/capabilities/core/utils.py +67 -0
  56. generalmanager-0.24.2/src/general_manager/interface/capabilities/exceptions.py +16 -0
  57. generalmanager-0.24.2/src/general_manager/interface/capabilities/existing_model/__init__.py +9 -0
  58. generalmanager-0.24.2/src/general_manager/interface/capabilities/existing_model/_compat.py +17 -0
  59. generalmanager-0.24.2/src/general_manager/interface/capabilities/existing_model/resolution.py +347 -0
  60. generalmanager-0.24.2/src/general_manager/interface/capabilities/factory.py +73 -0
  61. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/__init__.py +44 -0
  62. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/_compat.py +34 -0
  63. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/history.py +89 -0
  64. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/lifecycle.py +328 -0
  65. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/mutations.py +548 -0
  66. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm/support.py +593 -0
  67. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm_utils/__init__.py +7 -0
  68. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm_utils/django_manager_utils.py +104 -0
  69. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm_utils/field_descriptors.py +574 -0
  70. generalmanager-0.24.2/src/general_manager/interface/capabilities/orm_utils/payload_normalizer.py +202 -0
  71. generalmanager-0.24.2/src/general_manager/interface/capabilities/read_only/__init__.py +20 -0
  72. generalmanager-0.24.2/src/general_manager/interface/capabilities/read_only/_compat.py +17 -0
  73. generalmanager-0.24.2/src/general_manager/interface/capabilities/read_only/lifecycle.py +82 -0
  74. generalmanager-0.24.2/src/general_manager/interface/capabilities/read_only/management.py +533 -0
  75. generalmanager-0.24.2/src/general_manager/interface/capabilities/registry.py +94 -0
  76. generalmanager-0.24.2/src/general_manager/interface/infrastructure/startup_hooks.py +59 -0
  77. generalmanager-0.24.2/src/general_manager/interface/infrastructure/system_checks.py +56 -0
  78. generalmanager-0.24.2/src/general_manager/interface/interfaces/__init__.py +13 -0
  79. generalmanager-0.24.2/src/general_manager/interface/interfaces/calculation.py +23 -0
  80. generalmanager-0.24.2/src/general_manager/interface/interfaces/database.py +29 -0
  81. generalmanager-0.24.2/src/general_manager/interface/interfaces/existing_model.py +87 -0
  82. generalmanager-0.24.2/src/general_manager/interface/interfaces/read_only.py +24 -0
  83. generalmanager-0.24.2/src/general_manager/interface/manifests/__init__.py +14 -0
  84. generalmanager-0.24.2/src/general_manager/interface/manifests/capability_builder.py +185 -0
  85. generalmanager-0.24.2/src/general_manager/interface/manifests/capability_manifest.py +177 -0
  86. generalmanager-0.24.2/src/general_manager/interface/manifests/capability_models.py +80 -0
  87. generalmanager-0.24.2/src/general_manager/interface/orm_interface.py +109 -0
  88. generalmanager-0.24.2/src/general_manager/interface/utils/__init__.py +5 -0
  89. generalmanager-0.24.2/src/general_manager/interface/utils/database_interface_protocols.py +108 -0
  90. generalmanager-0.24.2/src/general_manager/interface/utils/errors.py +183 -0
  91. generalmanager-0.24.2/src/general_manager/interface/utils/models.py +124 -0
  92. generalmanager-0.24.2/src/general_manager/logging.py +133 -0
  93. generalmanager-0.24.2/src/general_manager/manager/__init__.py +37 -0
  94. generalmanager-0.24.2/src/general_manager/manager/general_manager.py +353 -0
  95. generalmanager-0.24.2/src/general_manager/manager/group_manager.py +194 -0
  96. {generalmanager-0.11.2 → generalmanager-0.24.2}/src/general_manager/manager/input.py +24 -16
  97. generalmanager-0.24.2/src/general_manager/manager/meta.py +264 -0
  98. generalmanager-0.24.2/src/general_manager/measurement/__init__.py +37 -0
  99. generalmanager-0.24.2/src/general_manager/measurement/measurement.py +644 -0
  100. generalmanager-0.24.2/src/general_manager/measurement/measurement_field.py +393 -0
  101. generalmanager-0.24.2/src/general_manager/permission/__init__.py +37 -0
  102. generalmanager-0.24.2/src/general_manager/permission/audit.py +380 -0
  103. generalmanager-0.24.2/src/general_manager/permission/base_permission.py +380 -0
  104. generalmanager-0.24.2/src/general_manager/permission/manager_based_permission.py +301 -0
  105. generalmanager-0.24.2/src/general_manager/permission/mutation_permission.py +179 -0
  106. generalmanager-0.24.2/src/general_manager/permission/permission_checks.py +238 -0
  107. generalmanager-0.24.2/src/general_manager/permission/permission_data_manager.py +97 -0
  108. generalmanager-0.24.2/src/general_manager/permission/utils.py +74 -0
  109. generalmanager-0.24.2/src/general_manager/public_api_registry.py +238 -0
  110. generalmanager-0.24.2/src/general_manager/rule/__init__.py +37 -0
  111. generalmanager-0.24.2/src/general_manager/rule/handler.py +408 -0
  112. generalmanager-0.24.2/src/general_manager/rule/rule.py +558 -0
  113. generalmanager-0.24.2/src/general_manager/utils/__init__.py +37 -0
  114. generalmanager-0.24.2/src/general_manager/utils/args_to_kwargs.py +58 -0
  115. generalmanager-0.11.2/src/general_manager/utils/filterParser.py → generalmanager-0.24.2/src/general_manager/utils/filter_parser.py +49 -35
  116. generalmanager-0.11.2/src/general_manager/utils/formatString.py → generalmanager-0.24.2/src/general_manager/utils/format_string.py +3 -0
  117. generalmanager-0.11.2/src/general_manager/utils/jsonEncoder.py → generalmanager-0.24.2/src/general_manager/utils/json_encoder.py +15 -2
  118. generalmanager-0.24.2/src/general_manager/utils/make_cache_key.py +39 -0
  119. generalmanager-0.24.2/src/general_manager/utils/none_to_zero.py +23 -0
  120. generalmanager-0.24.2/src/general_manager/utils/path_mapping.py +248 -0
  121. generalmanager-0.24.2/src/general_manager/utils/public_api.py +99 -0
  122. generalmanager-0.24.2/src/general_manager/utils/testing.py +499 -0
  123. {generalmanager-0.11.2 → generalmanager-0.24.2}/tests/test_settings.py +8 -1
  124. generalmanager-0.24.2/tests/testing_asgi.py +22 -0
  125. generalmanager-0.11.2/GeneralManager.egg-info/PKG-INFO +0 -179
  126. generalmanager-0.11.2/GeneralManager.egg-info/SOURCES.txt +0 -63
  127. generalmanager-0.11.2/LICENSE +0 -29
  128. generalmanager-0.11.2/PKG-INFO +0 -179
  129. generalmanager-0.11.2/README.md +0 -142
  130. generalmanager-0.11.2/pyproject.toml +0 -56
  131. generalmanager-0.11.2/src/general_manager/api/graphql.py +0 -815
  132. generalmanager-0.11.2/src/general_manager/api/mutation.py +0 -162
  133. generalmanager-0.11.2/src/general_manager/api/property.py +0 -20
  134. generalmanager-0.11.2/src/general_manager/apps.py +0 -221
  135. generalmanager-0.11.2/src/general_manager/bucket/baseBucket.py +0 -242
  136. generalmanager-0.11.2/src/general_manager/bucket/calculationBucket.py +0 -484
  137. generalmanager-0.11.2/src/general_manager/bucket/databaseBucket.py +0 -229
  138. generalmanager-0.11.2/src/general_manager/bucket/groupBucket.py +0 -296
  139. generalmanager-0.11.2/src/general_manager/cache/cacheDecorator.py +0 -81
  140. generalmanager-0.11.2/src/general_manager/cache/dependencyIndex.py +0 -306
  141. generalmanager-0.11.2/src/general_manager/factory/__init__.py +0 -5
  142. generalmanager-0.11.2/src/general_manager/factory/autoFactory.py +0 -224
  143. generalmanager-0.11.2/src/general_manager/factory/factories.py +0 -192
  144. generalmanager-0.11.2/src/general_manager/factory/factoryMethods.py +0 -109
  145. generalmanager-0.11.2/src/general_manager/interface/__init__.py +0 -0
  146. generalmanager-0.11.2/src/general_manager/interface/baseInterface.py +0 -231
  147. generalmanager-0.11.2/src/general_manager/interface/calculationInterface.py +0 -131
  148. generalmanager-0.11.2/src/general_manager/interface/databaseBasedInterface.py +0 -521
  149. generalmanager-0.11.2/src/general_manager/interface/databaseInterface.py +0 -168
  150. generalmanager-0.11.2/src/general_manager/interface/models.py +0 -88
  151. generalmanager-0.11.2/src/general_manager/interface/readOnlyInterface.py +0 -272
  152. generalmanager-0.11.2/src/general_manager/manager/__init__.py +0 -3
  153. generalmanager-0.11.2/src/general_manager/manager/generalManager.py +0 -239
  154. generalmanager-0.11.2/src/general_manager/manager/groupManager.py +0 -125
  155. generalmanager-0.11.2/src/general_manager/manager/meta.py +0 -127
  156. generalmanager-0.11.2/src/general_manager/measurement/__init__.py +0 -2
  157. generalmanager-0.11.2/src/general_manager/measurement/measurement.py +0 -369
  158. generalmanager-0.11.2/src/general_manager/measurement/measurementField.py +0 -168
  159. generalmanager-0.11.2/src/general_manager/permission/__init__.py +0 -1
  160. generalmanager-0.11.2/src/general_manager/permission/basePermission.py +0 -162
  161. generalmanager-0.11.2/src/general_manager/permission/fileBasedPermission.py +0 -0
  162. generalmanager-0.11.2/src/general_manager/permission/managerBasedPermission.py +0 -162
  163. generalmanager-0.11.2/src/general_manager/permission/mutationPermission.py +0 -88
  164. generalmanager-0.11.2/src/general_manager/permission/permissionChecks.py +0 -53
  165. generalmanager-0.11.2/src/general_manager/permission/permissionDataManager.py +0 -51
  166. generalmanager-0.11.2/src/general_manager/permission/utils.py +0 -35
  167. generalmanager-0.11.2/src/general_manager/rule/__init__.py +0 -1
  168. generalmanager-0.11.2/src/general_manager/rule/handler.py +0 -234
  169. generalmanager-0.11.2/src/general_manager/rule/rule.py +0 -315
  170. generalmanager-0.11.2/src/general_manager/utils/__init__.py +0 -2
  171. generalmanager-0.11.2/src/general_manager/utils/argsToKwargs.py +0 -25
  172. generalmanager-0.11.2/src/general_manager/utils/makeCacheKey.py +0 -33
  173. generalmanager-0.11.2/src/general_manager/utils/noneToZero.py +0 -21
  174. generalmanager-0.11.2/src/general_manager/utils/pathMapping.py +0 -176
  175. generalmanager-0.11.2/src/general_manager/utils/testing.py +0 -291
  176. {generalmanager-0.11.2 → generalmanager-0.24.2}/setup.cfg +0 -0
  177. {generalmanager-0.11.2 → generalmanager-0.24.2/src}/GeneralManager.egg-info/dependency_links.txt +0 -0
  178. {generalmanager-0.11.2 → generalmanager-0.24.2/src}/GeneralManager.egg-info/top_level.txt +0 -0
  179. /generalmanager-0.11.2/src/general_manager/__init__.py → /generalmanager-0.24.2/src/general_manager/py.typed +0 -0
  180. {generalmanager-0.11.2 → generalmanager-0.24.2}/tests/test_urls.py +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tim Kleindick
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.
@@ -0,0 +1,182 @@
1
+ Metadata-Version: 2.4
2
+ Name: GeneralManager
3
+ Version: 0.24.2
4
+ Summary: Modular Django-based data management framework with ORM, GraphQL, fine-grained permissions, rule validation, calculations and caching.
5
+ Author-email: Tim Kleindick <tkleindick@yahoo.de>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 Tim Kleindick
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/TimKleindick/general_manager
29
+ Project-URL: Documentation, https://timkleindick.github.io/general_manager/
30
+ Project-URL: Repository, https://github.com/TimKleindick/general_manager
31
+ Project-URL: Issues, https://github.com/TimKleindick/general_manager/issues
32
+ Project-URL: Changelog, https://github.com/TimKleindick/general_manager/releases
33
+ Keywords: django,orm,graphql,permissions,validation,caching,framework
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3 :: Only
37
+ Classifier: Programming Language :: Python :: 3.12
38
+ Classifier: Programming Language :: Python :: 3.13
39
+ Classifier: Programming Language :: Python :: 3.14
40
+ Classifier: Framework :: Django
41
+ Classifier: Intended Audience :: Developers
42
+ Classifier: Operating System :: OS Independent
43
+ Classifier: Typing :: Typed
44
+ Requires-Python: >=3.12
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Requires-Dist: asgiref>=3.8.1
48
+ Requires-Dist: channels>=4.1.0
49
+ Requires-Dist: Django>=5.2.7
50
+ Requires-Dist: django-simple-history>=3.8.0
51
+ Requires-Dist: exrex>=0.12.0
52
+ Requires-Dist: factory_boy>=3.3.3
53
+ Requires-Dist: Faker>=37.1.0
54
+ Requires-Dist: flexcache>=0.3
55
+ Requires-Dist: flexparser>=0.4
56
+ Requires-Dist: gitdb>=4.0.12
57
+ Requires-Dist: GitPython>=3.1.41
58
+ Requires-Dist: graphene>=3.4.3
59
+ Requires-Dist: graphene-django>=3.2.3
60
+ Requires-Dist: graphql-core>=3.2.6
61
+ Requires-Dist: graphql-relay>=3.2.0
62
+ Requires-Dist: numpy>=2.2.5
63
+ Requires-Dist: Pint>=0.24.4
64
+ Requires-Dist: platformdirs>=4.3.7
65
+ Requires-Dist: promise>=2.3
66
+ Requires-Dist: python-dateutil>=2.9.0.post0
67
+ Requires-Dist: six>=1.17.0
68
+ Requires-Dist: smmap>=5.0.2
69
+ Requires-Dist: sqlparse>=0.5.3
70
+ Requires-Dist: text-unidecode>=1.3
71
+ Requires-Dist: typing_extensions>=4.13.2
72
+ Requires-Dist: tzdata>=2025.2
73
+ Dynamic: license-file
74
+
75
+ # GeneralManager
76
+
77
+ [![PyPI](https://img.shields.io/pypi/v/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
78
+ [![Python](https://img.shields.io/pypi/pyversions/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
79
+ [![Build](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml)
80
+ [![Coverage](https://img.shields.io/codecov/c/github/TimKleindick/general_manager)](https://app.codecov.io/gh/TimKleindick/general_manager)
81
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
82
+
83
+ ## Overview
84
+
85
+ GeneralManager helps teams ship complex, data-driven products on top of Django without rewriting the same plumbing for every project. It combines domain modelling, GraphQL APIs, calculations, and permission logic in one toolkit so that you can focus on business rules instead of infrastructure.
86
+
87
+ ## Documentation
88
+
89
+ The full documentation is published on GitHub Pages: [GeneralManager Documentation](https://timkleindick.github.io/general_manager/). It covers tutorials, concept guides, API reference, and examples.
90
+
91
+ ## Key Features
92
+
93
+ - **Domain-first modelling**: Describe rich business entities in plain Python and let GeneralManager project them onto the Django ORM.
94
+ - **GraphQL without boilerplate**: Generate a complete API, then extend it with custom queries and mutations when needed.
95
+ - **Attribute-based access control**: Enforce permissions with `ManagerBasedPermission` down to single fields and operations.
96
+ - **Deterministic calculations**: Ship reusable interfaces e.g. for volume distributions, KPI calculations, and derived data.
97
+ - **Factory-powered testing**: Create large, realistic datasets quickly for demos, QA, and load tests.
98
+ - **Composable interfaces**: Connect to databases, spreadsheets, or computed sources with the same consistent abstractions.
99
+
100
+ ## Quick Start
101
+
102
+ ### Installation
103
+
104
+ Install the package from PyPI:
105
+
106
+ ```bash
107
+ pip install GeneralManager
108
+ ```
109
+
110
+ ### Minimal example
111
+
112
+ ```python
113
+ from datetime import date
114
+ from typing import Optional
115
+
116
+ from django.db.models import CharField, DateField
117
+
118
+ from general_manager import GeneralManager
119
+ from general_manager.interface import DatabaseInterface
120
+ from general_manager.measurement import Measurement, MeasurementField
121
+ from general_manager.permission import ManagerBasedPermission
122
+
123
+
124
+ class Project(GeneralManager):
125
+ name: str
126
+ start_date: Optional[date]
127
+ end_date: Optional[date]
128
+ total_capex: Optional[Measurement]
129
+
130
+ class Interface(DatabaseInterface):
131
+ name = CharField(max_length=50)
132
+ start_date = DateField(null=True, blank=True)
133
+ end_date = DateField(null=True, blank=True)
134
+ total_capex = MeasurementField(base_unit="EUR", null=True, blank=True)
135
+
136
+ class Permission(ManagerBasedPermission):
137
+ __read__ = ["public"]
138
+ __create__ = ["isAdmin"]
139
+ __update__ = ["isAdmin"]
140
+
141
+
142
+ Project.Factory.createBatch(10)
143
+ ```
144
+
145
+ The example above defines a project model, exposes it through the auto-generated GraphQL schema, and produces ten sample records with a single call. The full documentation walks through extending this setup with custom rules, interfaces, and queries.
146
+
147
+ ## Core Building Blocks
148
+
149
+ - **Entities & interfaces**: Compose domain entities with database-backed or computed interfaces to control persistence and data flows.
150
+ - **Rules & validation**: Protect your data with declarative constraints and business rules that run automatically.
151
+ - **Permissions**: Implement attribute-based access control with reusable policies that match your organisation’s roles.
152
+ - **GraphQL layer**: Serve a typed schema that mirrors your models and stays in sync as you iterate.
153
+ - **Caching & calculations**: Use the built-in caching decorator and calculation helpers to keep derived data fast and reliable.
154
+
155
+ ## Production-Ready Extras
156
+
157
+ - Works with Postgres, SQLite, and any database supported by Django.
158
+ - Plays nicely with CI thanks to deterministic factories, typing, and code coverage.
159
+ - Ships with MkDocs documentation, auto-generated API reference, and a growing cookbook of recipes.
160
+ - Designed for teams: opinionated defaults without blocking custom extensions or overrides.
161
+
162
+ ## Use Cases
163
+
164
+ - Internal tooling that mirrors real-world workflows, pricing models, or asset hierarchies.
165
+ - Customer-facing platforms that combine transactional data with live calculations.
166
+ - Analytics products that need controlled data sharing between teams or clients.
167
+ - Proof-of-concept projects that must scale into production without a rewrite.
168
+
169
+ ## Requirements
170
+
171
+ - Python >= 3.12
172
+ - Django >= 5.2
173
+ - Additional dependencies (see `requirements/base.txt`):
174
+ - `graphene`
175
+ - `numpy`
176
+ - `Pint`
177
+ - `factory_boy`
178
+ - and more.
179
+
180
+ ## License
181
+
182
+ This project is distributed under the **MIT License**. For further details see the [LICENSE](./LICENSE) file.
@@ -0,0 +1,108 @@
1
+ # GeneralManager
2
+
3
+ [![PyPI](https://img.shields.io/pypi/v/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
4
+ [![Python](https://img.shields.io/pypi/pyversions/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
5
+ [![Build](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml)
6
+ [![Coverage](https://img.shields.io/codecov/c/github/TimKleindick/general_manager)](https://app.codecov.io/gh/TimKleindick/general_manager)
7
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
8
+
9
+ ## Overview
10
+
11
+ GeneralManager helps teams ship complex, data-driven products on top of Django without rewriting the same plumbing for every project. It combines domain modelling, GraphQL APIs, calculations, and permission logic in one toolkit so that you can focus on business rules instead of infrastructure.
12
+
13
+ ## Documentation
14
+
15
+ The full documentation is published on GitHub Pages: [GeneralManager Documentation](https://timkleindick.github.io/general_manager/). It covers tutorials, concept guides, API reference, and examples.
16
+
17
+ ## Key Features
18
+
19
+ - **Domain-first modelling**: Describe rich business entities in plain Python and let GeneralManager project them onto the Django ORM.
20
+ - **GraphQL without boilerplate**: Generate a complete API, then extend it with custom queries and mutations when needed.
21
+ - **Attribute-based access control**: Enforce permissions with `ManagerBasedPermission` down to single fields and operations.
22
+ - **Deterministic calculations**: Ship reusable interfaces e.g. for volume distributions, KPI calculations, and derived data.
23
+ - **Factory-powered testing**: Create large, realistic datasets quickly for demos, QA, and load tests.
24
+ - **Composable interfaces**: Connect to databases, spreadsheets, or computed sources with the same consistent abstractions.
25
+
26
+ ## Quick Start
27
+
28
+ ### Installation
29
+
30
+ Install the package from PyPI:
31
+
32
+ ```bash
33
+ pip install GeneralManager
34
+ ```
35
+
36
+ ### Minimal example
37
+
38
+ ```python
39
+ from datetime import date
40
+ from typing import Optional
41
+
42
+ from django.db.models import CharField, DateField
43
+
44
+ from general_manager import GeneralManager
45
+ from general_manager.interface import DatabaseInterface
46
+ from general_manager.measurement import Measurement, MeasurementField
47
+ from general_manager.permission import ManagerBasedPermission
48
+
49
+
50
+ class Project(GeneralManager):
51
+ name: str
52
+ start_date: Optional[date]
53
+ end_date: Optional[date]
54
+ total_capex: Optional[Measurement]
55
+
56
+ class Interface(DatabaseInterface):
57
+ name = CharField(max_length=50)
58
+ start_date = DateField(null=True, blank=True)
59
+ end_date = DateField(null=True, blank=True)
60
+ total_capex = MeasurementField(base_unit="EUR", null=True, blank=True)
61
+
62
+ class Permission(ManagerBasedPermission):
63
+ __read__ = ["public"]
64
+ __create__ = ["isAdmin"]
65
+ __update__ = ["isAdmin"]
66
+
67
+
68
+ Project.Factory.createBatch(10)
69
+ ```
70
+
71
+ The example above defines a project model, exposes it through the auto-generated GraphQL schema, and produces ten sample records with a single call. The full documentation walks through extending this setup with custom rules, interfaces, and queries.
72
+
73
+ ## Core Building Blocks
74
+
75
+ - **Entities & interfaces**: Compose domain entities with database-backed or computed interfaces to control persistence and data flows.
76
+ - **Rules & validation**: Protect your data with declarative constraints and business rules that run automatically.
77
+ - **Permissions**: Implement attribute-based access control with reusable policies that match your organisation’s roles.
78
+ - **GraphQL layer**: Serve a typed schema that mirrors your models and stays in sync as you iterate.
79
+ - **Caching & calculations**: Use the built-in caching decorator and calculation helpers to keep derived data fast and reliable.
80
+
81
+ ## Production-Ready Extras
82
+
83
+ - Works with Postgres, SQLite, and any database supported by Django.
84
+ - Plays nicely with CI thanks to deterministic factories, typing, and code coverage.
85
+ - Ships with MkDocs documentation, auto-generated API reference, and a growing cookbook of recipes.
86
+ - Designed for teams: opinionated defaults without blocking custom extensions or overrides.
87
+
88
+ ## Use Cases
89
+
90
+ - Internal tooling that mirrors real-world workflows, pricing models, or asset hierarchies.
91
+ - Customer-facing platforms that combine transactional data with live calculations.
92
+ - Analytics products that need controlled data sharing between teams or clients.
93
+ - Proof-of-concept projects that must scale into production without a rewrite.
94
+
95
+ ## Requirements
96
+
97
+ - Python >= 3.12
98
+ - Django >= 5.2
99
+ - Additional dependencies (see `requirements/base.txt`):
100
+ - `graphene`
101
+ - `numpy`
102
+ - `Pint`
103
+ - `factory_boy`
104
+ - and more.
105
+
106
+ ## License
107
+
108
+ This project is distributed under the **MIT License**. For further details see the [LICENSE](./LICENSE) file.
@@ -0,0 +1,172 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "GeneralManager"
7
+ version = "0.24.2"
8
+ description = "Modular Django-based data management framework with ORM, GraphQL, fine-grained permissions, rule validation, calculations and caching."
9
+ readme = "README.md"
10
+ authors = [{ name = "Tim Kleindick", email = "tkleindick@yahoo.de" }]
11
+ license = { file = "LICENSE" }
12
+ requires-python = ">=3.12"
13
+ keywords = [
14
+ "django",
15
+ "orm",
16
+ "graphql",
17
+ "permissions",
18
+ "validation",
19
+ "caching",
20
+ "framework",
21
+ ]
22
+ classifiers = [
23
+ "License :: OSI Approved :: MIT License",
24
+ "Programming Language :: Python :: 3",
25
+ "Programming Language :: Python :: 3 :: Only",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Programming Language :: Python :: 3.14",
29
+ "Framework :: Django",
30
+ "Intended Audience :: Developers",
31
+ "Operating System :: OS Independent",
32
+ "Typing :: Typed",
33
+ ]
34
+ dependencies = [
35
+ "asgiref>=3.8.1",
36
+ "channels>=4.1.0",
37
+ "Django>=5.2.7",
38
+ "django-simple-history>=3.8.0",
39
+ "exrex>=0.12.0",
40
+ "factory_boy>=3.3.3",
41
+ "Faker>=37.1.0",
42
+ "flexcache>=0.3",
43
+ "flexparser>=0.4",
44
+ "gitdb>=4.0.12",
45
+ "GitPython>=3.1.41",
46
+ "graphene>=3.4.3",
47
+ "graphene-django>=3.2.3",
48
+ "graphql-core>=3.2.6",
49
+ "graphql-relay>=3.2.0",
50
+ "numpy>=2.2.5",
51
+ "Pint>=0.24.4",
52
+ "platformdirs>=4.3.7",
53
+ "promise>=2.3",
54
+ "python-dateutil>=2.9.0.post0",
55
+ "six>=1.17.0",
56
+ "smmap>=5.0.2",
57
+ "sqlparse>=0.5.3",
58
+ "text-unidecode>=1.3",
59
+ "typing_extensions>=4.13.2",
60
+ "tzdata>=2025.2",
61
+ ]
62
+
63
+ [project.urls]
64
+ Homepage = "https://github.com/TimKleindick/general_manager"
65
+ Documentation = "https://timkleindick.github.io/general_manager/"
66
+ Repository = "https://github.com/TimKleindick/general_manager"
67
+ Issues = "https://github.com/TimKleindick/general_manager/issues"
68
+ Changelog = "https://github.com/TimKleindick/general_manager/releases"
69
+
70
+ [tool.setuptools]
71
+ include-package-data = true
72
+
73
+ [tool.setuptools.packages.find]
74
+ where = ["src"]
75
+
76
+ [tool.setuptools.package-data]
77
+ "general_manager" = ["py.typed"]
78
+
79
+ [tool.semantic_release]
80
+ allow_zero_version = true
81
+ major_on_zero = false
82
+ version_toml = ["pyproject.toml:project.version"]
83
+ branch = "main"
84
+ build_command = "python -m build"
85
+ upload_to_PyPI = true
86
+ upload_to_release = true
87
+
88
+ [tool.semantic_release.remote]
89
+ ignore_token_for_push = true
90
+
91
+ [tool.ruff]
92
+
93
+ target-version = "py312"
94
+ line-length = 88
95
+ src = ["src", "tests"]
96
+ extend-exclude = ["example_project"]
97
+
98
+ [tool.ruff.lint]
99
+ select = [
100
+ "F", # Pyflakes
101
+ "B", # flake8-bugbear
102
+ "S", # flake8-bandit (Security)
103
+ "BLE", # blind except
104
+ "T10", # debugger
105
+ "EXE", # executable
106
+ "ARG", # unused arguments
107
+ "TRY", # tryceratops
108
+ "RUF", # Ruff-own rules
109
+ "E7", # pycodestyle: Syntax
110
+ "E9", # pycodestyle: Runtime
111
+ ]
112
+
113
+ ignore = [
114
+ "I001",
115
+ "Q000",
116
+ "UP006",
117
+ "E501",
118
+ "S101",
119
+ "ARG001",
120
+ "ARG002",
121
+ "ARG003",
122
+ "ARG004",
123
+ ]
124
+
125
+ [tool.ruff.lint.per-file-ignores]
126
+ "**/__init__.py" = ["E402"]
127
+ "**/conftest.py" = ["E402"]
128
+ "example_project/manage.py" = ["TRY003"]
129
+ "example_project/**/migrations/*.py" = ["RUF012"]
130
+
131
+ [tool.ruff.format]
132
+ quote-style = "double"
133
+ indent-style = "space"
134
+ line-ending = "lf"
135
+ skip-magic-trailing-comma = false
136
+ docstring-code-format = true
137
+
138
+ [tool.mypy]
139
+ python_version = "3.12"
140
+ explicit_package_bases = true
141
+ namespace_packages = true
142
+ mypy_path = ["src"]
143
+ files = ["src"]
144
+ exclude = ["^build/", "^dist/", "^docs/", "^example_project/", "^site/"]
145
+
146
+ [[tool.mypy.overrides]]
147
+ module = [
148
+ "channels",
149
+ "channels.*",
150
+ "channels.layers",
151
+ "channels.auth",
152
+ "channels.routing",
153
+ "django",
154
+ "django.*",
155
+ "django_simple_history",
156
+ "simple_history",
157
+ "simple_history.*",
158
+ "exrex",
159
+ "factory",
160
+ "factory.*",
161
+ "faker",
162
+ "faker.*",
163
+ "graphene",
164
+ "graphene.*",
165
+ "graphql",
166
+ "graphql.*",
167
+ "numpy",
168
+ "pint",
169
+ "pint.*",
170
+ "promise",
171
+ ]
172
+ ignore_missing_imports = true
@@ -0,0 +1,182 @@
1
+ Metadata-Version: 2.4
2
+ Name: GeneralManager
3
+ Version: 0.24.2
4
+ Summary: Modular Django-based data management framework with ORM, GraphQL, fine-grained permissions, rule validation, calculations and caching.
5
+ Author-email: Tim Kleindick <tkleindick@yahoo.de>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 Tim Kleindick
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/TimKleindick/general_manager
29
+ Project-URL: Documentation, https://timkleindick.github.io/general_manager/
30
+ Project-URL: Repository, https://github.com/TimKleindick/general_manager
31
+ Project-URL: Issues, https://github.com/TimKleindick/general_manager/issues
32
+ Project-URL: Changelog, https://github.com/TimKleindick/general_manager/releases
33
+ Keywords: django,orm,graphql,permissions,validation,caching,framework
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3 :: Only
37
+ Classifier: Programming Language :: Python :: 3.12
38
+ Classifier: Programming Language :: Python :: 3.13
39
+ Classifier: Programming Language :: Python :: 3.14
40
+ Classifier: Framework :: Django
41
+ Classifier: Intended Audience :: Developers
42
+ Classifier: Operating System :: OS Independent
43
+ Classifier: Typing :: Typed
44
+ Requires-Python: >=3.12
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Requires-Dist: asgiref>=3.8.1
48
+ Requires-Dist: channels>=4.1.0
49
+ Requires-Dist: Django>=5.2.7
50
+ Requires-Dist: django-simple-history>=3.8.0
51
+ Requires-Dist: exrex>=0.12.0
52
+ Requires-Dist: factory_boy>=3.3.3
53
+ Requires-Dist: Faker>=37.1.0
54
+ Requires-Dist: flexcache>=0.3
55
+ Requires-Dist: flexparser>=0.4
56
+ Requires-Dist: gitdb>=4.0.12
57
+ Requires-Dist: GitPython>=3.1.41
58
+ Requires-Dist: graphene>=3.4.3
59
+ Requires-Dist: graphene-django>=3.2.3
60
+ Requires-Dist: graphql-core>=3.2.6
61
+ Requires-Dist: graphql-relay>=3.2.0
62
+ Requires-Dist: numpy>=2.2.5
63
+ Requires-Dist: Pint>=0.24.4
64
+ Requires-Dist: platformdirs>=4.3.7
65
+ Requires-Dist: promise>=2.3
66
+ Requires-Dist: python-dateutil>=2.9.0.post0
67
+ Requires-Dist: six>=1.17.0
68
+ Requires-Dist: smmap>=5.0.2
69
+ Requires-Dist: sqlparse>=0.5.3
70
+ Requires-Dist: text-unidecode>=1.3
71
+ Requires-Dist: typing_extensions>=4.13.2
72
+ Requires-Dist: tzdata>=2025.2
73
+ Dynamic: license-file
74
+
75
+ # GeneralManager
76
+
77
+ [![PyPI](https://img.shields.io/pypi/v/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
78
+ [![Python](https://img.shields.io/pypi/pyversions/GeneralManager.svg)](https://pypi.org/project/GeneralManager/)
79
+ [![Build](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/TimKleindick/general_manager/actions/workflows/test.yml)
80
+ [![Coverage](https://img.shields.io/codecov/c/github/TimKleindick/general_manager)](https://app.codecov.io/gh/TimKleindick/general_manager)
81
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
82
+
83
+ ## Overview
84
+
85
+ GeneralManager helps teams ship complex, data-driven products on top of Django without rewriting the same plumbing for every project. It combines domain modelling, GraphQL APIs, calculations, and permission logic in one toolkit so that you can focus on business rules instead of infrastructure.
86
+
87
+ ## Documentation
88
+
89
+ The full documentation is published on GitHub Pages: [GeneralManager Documentation](https://timkleindick.github.io/general_manager/). It covers tutorials, concept guides, API reference, and examples.
90
+
91
+ ## Key Features
92
+
93
+ - **Domain-first modelling**: Describe rich business entities in plain Python and let GeneralManager project them onto the Django ORM.
94
+ - **GraphQL without boilerplate**: Generate a complete API, then extend it with custom queries and mutations when needed.
95
+ - **Attribute-based access control**: Enforce permissions with `ManagerBasedPermission` down to single fields and operations.
96
+ - **Deterministic calculations**: Ship reusable interfaces e.g. for volume distributions, KPI calculations, and derived data.
97
+ - **Factory-powered testing**: Create large, realistic datasets quickly for demos, QA, and load tests.
98
+ - **Composable interfaces**: Connect to databases, spreadsheets, or computed sources with the same consistent abstractions.
99
+
100
+ ## Quick Start
101
+
102
+ ### Installation
103
+
104
+ Install the package from PyPI:
105
+
106
+ ```bash
107
+ pip install GeneralManager
108
+ ```
109
+
110
+ ### Minimal example
111
+
112
+ ```python
113
+ from datetime import date
114
+ from typing import Optional
115
+
116
+ from django.db.models import CharField, DateField
117
+
118
+ from general_manager import GeneralManager
119
+ from general_manager.interface import DatabaseInterface
120
+ from general_manager.measurement import Measurement, MeasurementField
121
+ from general_manager.permission import ManagerBasedPermission
122
+
123
+
124
+ class Project(GeneralManager):
125
+ name: str
126
+ start_date: Optional[date]
127
+ end_date: Optional[date]
128
+ total_capex: Optional[Measurement]
129
+
130
+ class Interface(DatabaseInterface):
131
+ name = CharField(max_length=50)
132
+ start_date = DateField(null=True, blank=True)
133
+ end_date = DateField(null=True, blank=True)
134
+ total_capex = MeasurementField(base_unit="EUR", null=True, blank=True)
135
+
136
+ class Permission(ManagerBasedPermission):
137
+ __read__ = ["public"]
138
+ __create__ = ["isAdmin"]
139
+ __update__ = ["isAdmin"]
140
+
141
+
142
+ Project.Factory.createBatch(10)
143
+ ```
144
+
145
+ The example above defines a project model, exposes it through the auto-generated GraphQL schema, and produces ten sample records with a single call. The full documentation walks through extending this setup with custom rules, interfaces, and queries.
146
+
147
+ ## Core Building Blocks
148
+
149
+ - **Entities & interfaces**: Compose domain entities with database-backed or computed interfaces to control persistence and data flows.
150
+ - **Rules & validation**: Protect your data with declarative constraints and business rules that run automatically.
151
+ - **Permissions**: Implement attribute-based access control with reusable policies that match your organisation’s roles.
152
+ - **GraphQL layer**: Serve a typed schema that mirrors your models and stays in sync as you iterate.
153
+ - **Caching & calculations**: Use the built-in caching decorator and calculation helpers to keep derived data fast and reliable.
154
+
155
+ ## Production-Ready Extras
156
+
157
+ - Works with Postgres, SQLite, and any database supported by Django.
158
+ - Plays nicely with CI thanks to deterministic factories, typing, and code coverage.
159
+ - Ships with MkDocs documentation, auto-generated API reference, and a growing cookbook of recipes.
160
+ - Designed for teams: opinionated defaults without blocking custom extensions or overrides.
161
+
162
+ ## Use Cases
163
+
164
+ - Internal tooling that mirrors real-world workflows, pricing models, or asset hierarchies.
165
+ - Customer-facing platforms that combine transactional data with live calculations.
166
+ - Analytics products that need controlled data sharing between teams or clients.
167
+ - Proof-of-concept projects that must scale into production without a rewrite.
168
+
169
+ ## Requirements
170
+
171
+ - Python >= 3.12
172
+ - Django >= 5.2
173
+ - Additional dependencies (see `requirements/base.txt`):
174
+ - `graphene`
175
+ - `numpy`
176
+ - `Pint`
177
+ - `factory_boy`
178
+ - and more.
179
+
180
+ ## License
181
+
182
+ This project is distributed under the **MIT License**. For further details see the [LICENSE](./LICENSE) file.