sandloom 0.7.0a1__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 (499) hide show
  1. sandloom-0.7.0a1/.gitignore +4 -0
  2. sandloom-0.7.0a1/CHANGELOG.md +76 -0
  3. sandloom-0.7.0a1/LICENSE +202 -0
  4. sandloom-0.7.0a1/NOTICE +8 -0
  5. sandloom-0.7.0a1/PKG-INFO +97 -0
  6. sandloom-0.7.0a1/README.md +37 -0
  7. sandloom-0.7.0a1/pyproject.toml +105 -0
  8. sandloom-0.7.0a1/sandloom/__init__.py +349 -0
  9. sandloom-0.7.0a1/sandloom/core/AGENTS.md +120 -0
  10. sandloom-0.7.0a1/sandloom/core/CLAUDE.md +1 -0
  11. sandloom-0.7.0a1/sandloom/core/__init__.py +10 -0
  12. sandloom-0.7.0a1/sandloom/core/_internal/__init__.py +6 -0
  13. sandloom-0.7.0a1/sandloom/core/_internal/db_provider.py +53 -0
  14. sandloom-0.7.0a1/sandloom/core/admin/__init__.py +5 -0
  15. sandloom-0.7.0a1/sandloom/core/admin/api/__init__.py +1 -0
  16. sandloom-0.7.0a1/sandloom/core/admin/api/platform.py +754 -0
  17. sandloom-0.7.0a1/sandloom/core/admin/compiler.py +529 -0
  18. sandloom-0.7.0a1/sandloom/core/admin/models.py +106 -0
  19. sandloom-0.7.0a1/sandloom/core/app_factory.py +1135 -0
  20. sandloom-0.7.0a1/sandloom/core/archcheck/__init__.py +22 -0
  21. sandloom-0.7.0a1/sandloom/core/archcheck/analyzers.py +1830 -0
  22. sandloom-0.7.0a1/sandloom/core/archcheck/api10_rules.py +952 -0
  23. sandloom-0.7.0a1/sandloom/core/archcheck/manifest.py +286 -0
  24. sandloom-0.7.0a1/sandloom/core/archcheck/module_rules.py +546 -0
  25. sandloom-0.7.0a1/sandloom/core/archcheck/runner.py +685 -0
  26. sandloom-0.7.0a1/sandloom/core/async_runner.py +195 -0
  27. sandloom-0.7.0a1/sandloom/core/auth/__init__.py +7 -0
  28. sandloom-0.7.0a1/sandloom/core/auth/bearer.py +118 -0
  29. sandloom-0.7.0a1/sandloom/core/auth/blocks.py +277 -0
  30. sandloom-0.7.0a1/sandloom/core/auth/hashing.py +232 -0
  31. sandloom-0.7.0a1/sandloom/core/auth/marks.py +307 -0
  32. sandloom-0.7.0a1/sandloom/core/auth/recovery.py +384 -0
  33. sandloom-0.7.0a1/sandloom/core/auth/revocation.py +393 -0
  34. sandloom-0.7.0a1/sandloom/core/auth/tokens.py +361 -0
  35. sandloom-0.7.0a1/sandloom/core/auth/verification.py +238 -0
  36. sandloom-0.7.0a1/sandloom/core/beat_lease.py +387 -0
  37. sandloom-0.7.0a1/sandloom/core/claims.py +29 -0
  38. sandloom-0.7.0a1/sandloom/core/cli/__init__.py +0 -0
  39. sandloom-0.7.0a1/sandloom/core/cli/_operator.py +71 -0
  40. sandloom-0.7.0a1/sandloom/core/cli/add.py +1467 -0
  41. sandloom-0.7.0a1/sandloom/core/cli/admin.py +41 -0
  42. sandloom-0.7.0a1/sandloom/core/cli/backup.py +265 -0
  43. sandloom-0.7.0a1/sandloom/core/cli/check.py +242 -0
  44. sandloom-0.7.0a1/sandloom/core/cli/config.py +283 -0
  45. sandloom-0.7.0a1/sandloom/core/cli/contracts.py +231 -0
  46. sandloom-0.7.0a1/sandloom/core/cli/doctor.py +627 -0
  47. sandloom-0.7.0a1/sandloom/core/cli/dto_copies.py +695 -0
  48. sandloom-0.7.0a1/sandloom/core/cli/events.py +320 -0
  49. sandloom-0.7.0a1/sandloom/core/cli/explain.py +61 -0
  50. sandloom-0.7.0a1/sandloom/core/cli/extract.py +1311 -0
  51. sandloom-0.7.0a1/sandloom/core/cli/generated.py +1354 -0
  52. sandloom-0.7.0a1/sandloom/core/cli/gunicorn_conf.py +319 -0
  53. sandloom-0.7.0a1/sandloom/core/cli/image_secrets.py +161 -0
  54. sandloom-0.7.0a1/sandloom/core/cli/keys.py +344 -0
  55. sandloom-0.7.0a1/sandloom/core/cli/migrate.py +679 -0
  56. sandloom-0.7.0a1/sandloom/core/cli/migrate_drift.py +156 -0
  57. sandloom-0.7.0a1/sandloom/core/cli/migrate_rls.py +102 -0
  58. sandloom-0.7.0a1/sandloom/core/cli/project.py +1164 -0
  59. sandloom-0.7.0a1/sandloom/core/cli/projections.py +144 -0
  60. sandloom-0.7.0a1/sandloom/core/cli/route_weakening.py +212 -0
  61. sandloom-0.7.0a1/sandloom/core/cli/routes.py +120 -0
  62. sandloom-0.7.0a1/sandloom/core/cli/run_tests.py +521 -0
  63. sandloom-0.7.0a1/sandloom/core/cli/sagas.py +306 -0
  64. sandloom-0.7.0a1/sandloom/core/cli/scaffold_deploy.py +969 -0
  65. sandloom-0.7.0a1/sandloom/core/cli/scaffold_wiring.py +183 -0
  66. sandloom-0.7.0a1/sandloom/core/cli/security.py +408 -0
  67. sandloom-0.7.0a1/sandloom/core/cli/skills.py +62 -0
  68. sandloom-0.7.0a1/sandloom/core/cli/templates/api-cheatsheet.md +54 -0
  69. sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/compose/microservices.yml.tmpl +311 -0
  70. sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/gateway/nginx.conf +71 -0
  71. sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/postgres/init-databases.sh +26 -0
  72. sandloom-0.7.0a1/sandloom/core/cli/templates/module-AGENTS.md +120 -0
  73. sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-event-version-roll/SKILL.md +55 -0
  74. sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-new-module/SKILL.md +57 -0
  75. sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-quality-gates/SKILL.md +52 -0
  76. sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-split-deploy/SKILL.md +50 -0
  77. sandloom-0.7.0a1/sandloom/core/cli/tool_process.py +36 -0
  78. sandloom-0.7.0a1/sandloom/core/composition.py +95 -0
  79. sandloom-0.7.0a1/sandloom/core/config/__init__.py +7 -0
  80. sandloom-0.7.0a1/sandloom/core/config/accepted_risks.py +189 -0
  81. sandloom-0.7.0a1/sandloom/core/config/auth.py +141 -0
  82. sandloom-0.7.0a1/sandloom/core/config/cache.py +40 -0
  83. sandloom-0.7.0a1/sandloom/core/config/common.py +118 -0
  84. sandloom-0.7.0a1/sandloom/core/config/contracts.py +147 -0
  85. sandloom-0.7.0a1/sandloom/core/config/database.py +123 -0
  86. sandloom-0.7.0a1/sandloom/core/config/eventing.py +172 -0
  87. sandloom-0.7.0a1/sandloom/core/config/http.py +73 -0
  88. sandloom-0.7.0a1/sandloom/core/config/infra.py +20 -0
  89. sandloom-0.7.0a1/sandloom/core/config/modules.py +81 -0
  90. sandloom-0.7.0a1/sandloom/core/config/observability.py +30 -0
  91. sandloom-0.7.0a1/sandloom/core/config/password_params.py +120 -0
  92. sandloom-0.7.0a1/sandloom/core/config/replay_limits.py +28 -0
  93. sandloom-0.7.0a1/sandloom/core/config/rpc.py +94 -0
  94. sandloom-0.7.0a1/sandloom/core/config/runtime.py +136 -0
  95. sandloom-0.7.0a1/sandloom/core/config/sagas.py +40 -0
  96. sandloom-0.7.0a1/sandloom/core/config/services.py +50 -0
  97. sandloom-0.7.0a1/sandloom/core/config/settings.py +775 -0
  98. sandloom-0.7.0a1/sandloom/core/config/tiers.py +982 -0
  99. sandloom-0.7.0a1/sandloom/core/config/trust.py +76 -0
  100. sandloom-0.7.0a1/sandloom/core/consumers/__init__.py +7 -0
  101. sandloom-0.7.0a1/sandloom/core/consumers/callbacks.py +424 -0
  102. sandloom-0.7.0a1/sandloom/core/consumers/runtime.py +636 -0
  103. sandloom-0.7.0a1/sandloom/core/contract_cache_shadow.py +953 -0
  104. sandloom-0.7.0a1/sandloom/core/contract_compat.py +684 -0
  105. sandloom-0.7.0a1/sandloom/core/contract_context.py +71 -0
  106. sandloom-0.7.0a1/sandloom/core/contract_testing.py +488 -0
  107. sandloom-0.7.0a1/sandloom/core/contract_wire.py +847 -0
  108. sandloom-0.7.0a1/sandloom/core/contracts/__init__.py +43 -0
  109. sandloom-0.7.0a1/sandloom/core/contracts/payload_validation.py +168 -0
  110. sandloom-0.7.0a1/sandloom/core/contracts/schema_registry.py +114 -0
  111. sandloom-0.7.0a1/sandloom/core/contracts/uow.py +56 -0
  112. sandloom-0.7.0a1/sandloom/core/contracts/validators.py +255 -0
  113. sandloom-0.7.0a1/sandloom/core/cpu_quota.py +66 -0
  114. sandloom-0.7.0a1/sandloom/core/descriptors/__init__.py +318 -0
  115. sandloom-0.7.0a1/sandloom/core/descriptors/contract_refs.py +80 -0
  116. sandloom-0.7.0a1/sandloom/core/descriptors/module_names.py +164 -0
  117. sandloom-0.7.0a1/sandloom/core/descriptors/sagas.py +695 -0
  118. sandloom-0.7.0a1/sandloom/core/di.py +994 -0
  119. sandloom-0.7.0a1/sandloom/core/drivers/__init__.py +0 -0
  120. sandloom-0.7.0a1/sandloom/core/drivers/bootstrap.py +221 -0
  121. sandloom-0.7.0a1/sandloom/core/drivers/celery_taskqueue.py +242 -0
  122. sandloom-0.7.0a1/sandloom/core/drivers/event_bus_driver.py +241 -0
  123. sandloom-0.7.0a1/sandloom/core/drivers/filesystem_storage.py +155 -0
  124. sandloom-0.7.0a1/sandloom/core/drivers/linger_pool.py +358 -0
  125. sandloom-0.7.0a1/sandloom/core/drivers/local_objectstore.py +221 -0
  126. sandloom-0.7.0a1/sandloom/core/drivers/log_notifier.py +107 -0
  127. sandloom-0.7.0a1/sandloom/core/drivers/memory_document_store.py +123 -0
  128. sandloom-0.7.0a1/sandloom/core/drivers/redis_cache.py +836 -0
  129. sandloom-0.7.0a1/sandloom/core/drivers/smtp_notifier.py +128 -0
  130. sandloom-0.7.0a1/sandloom/core/drivers/sqlalchemy_database.py +913 -0
  131. sandloom-0.7.0a1/sandloom/core/drivers/system_db.py +160 -0
  132. sandloom-0.7.0a1/sandloom/core/effects.py +286 -0
  133. sandloom-0.7.0a1/sandloom/core/error_codes.py +1350 -0
  134. sandloom-0.7.0a1/sandloom/core/eventing/__init__.py +0 -0
  135. sandloom-0.7.0a1/sandloom/core/eventing/bus_base.py +346 -0
  136. sandloom-0.7.0a1/sandloom/core/eventing/bus_metrics.py +49 -0
  137. sandloom-0.7.0a1/sandloom/core/eventing/consumer_inbox.py +107 -0
  138. sandloom-0.7.0a1/sandloom/core/eventing/core_events.py +116 -0
  139. sandloom-0.7.0a1/sandloom/core/eventing/delivery.py +79 -0
  140. sandloom-0.7.0a1/sandloom/core/eventing/envelope.py +132 -0
  141. sandloom-0.7.0a1/sandloom/core/eventing/event_bus.py +63 -0
  142. sandloom-0.7.0a1/sandloom/core/eventing/memory_bus.py +250 -0
  143. sandloom-0.7.0a1/sandloom/core/eventing/memory_transport.py +355 -0
  144. sandloom-0.7.0a1/sandloom/core/eventing/origin.py +41 -0
  145. sandloom-0.7.0a1/sandloom/core/eventing/pubsub_bus.py +429 -0
  146. sandloom-0.7.0a1/sandloom/core/eventing/streams_bus.py +477 -0
  147. sandloom-0.7.0a1/sandloom/core/eventing/streams_consume.py +628 -0
  148. sandloom-0.7.0a1/sandloom/core/eventing/streams_dispatch.py +325 -0
  149. sandloom-0.7.0a1/sandloom/core/eventing/streams_groups.py +398 -0
  150. sandloom-0.7.0a1/sandloom/core/eventing/streams_inventory.py +207 -0
  151. sandloom-0.7.0a1/sandloom/core/eventing/streams_lease.py +100 -0
  152. sandloom-0.7.0a1/sandloom/core/eventing/streams_transport.py +264 -0
  153. sandloom-0.7.0a1/sandloom/core/eventing/streams_transport_base.py +185 -0
  154. sandloom-0.7.0a1/sandloom/core/eventing/subscriptions.py +142 -0
  155. sandloom-0.7.0a1/sandloom/core/eventing/transport_base.py +355 -0
  156. sandloom-0.7.0a1/sandloom/core/eventing/transport_capabilities.py +122 -0
  157. sandloom-0.7.0a1/sandloom/core/exceptions.py +57 -0
  158. sandloom-0.7.0a1/sandloom/core/facade/__init__.py +313 -0
  159. sandloom-0.7.0a1/sandloom/core/facade/_claims.py +476 -0
  160. sandloom-0.7.0a1/sandloom/core/facade/_registries.py +365 -0
  161. sandloom-0.7.0a1/sandloom/core/facade/_runtime.py +118 -0
  162. sandloom-0.7.0a1/sandloom/core/facade/_services.py +294 -0
  163. sandloom-0.7.0a1/sandloom/core/facade/_state.py +173 -0
  164. sandloom-0.7.0a1/sandloom/core/gc_tuning.py +279 -0
  165. sandloom-0.7.0a1/sandloom/core/guarantee_lattice.py +218 -0
  166. sandloom-0.7.0a1/sandloom/core/guarantee_windows.py +256 -0
  167. sandloom-0.7.0a1/sandloom/core/guard_order.py +293 -0
  168. sandloom-0.7.0a1/sandloom/core/http/__init__.py +0 -0
  169. sandloom-0.7.0a1/sandloom/core/http/error_handlers.py +302 -0
  170. sandloom-0.7.0a1/sandloom/core/http/middlewares.py +597 -0
  171. sandloom-0.7.0a1/sandloom/core/http/request_authority.py +93 -0
  172. sandloom-0.7.0a1/sandloom/core/http/route_index.py +252 -0
  173. sandloom-0.7.0a1/sandloom/core/http/route_runtime.py +592 -0
  174. sandloom-0.7.0a1/sandloom/core/http/tenant_scope.py +186 -0
  175. sandloom-0.7.0a1/sandloom/core/idempotency/__init__.py +72 -0
  176. sandloom-0.7.0a1/sandloom/core/idempotency/automatic.py +166 -0
  177. sandloom-0.7.0a1/sandloom/core/idempotency/cache_store.py +118 -0
  178. sandloom-0.7.0a1/sandloom/core/idempotency/capture.py +251 -0
  179. sandloom-0.7.0a1/sandloom/core/idempotency/durable.py +350 -0
  180. sandloom-0.7.0a1/sandloom/core/idempotency/fingerprint.py +209 -0
  181. sandloom-0.7.0a1/sandloom/core/idempotency/guard.py +207 -0
  182. sandloom-0.7.0a1/sandloom/core/idempotency/replay.py +159 -0
  183. sandloom-0.7.0a1/sandloom/core/idempotency/reservation.py +277 -0
  184. sandloom-0.7.0a1/sandloom/core/infra/__init__.py +119 -0
  185. sandloom-0.7.0a1/sandloom/core/infra/access.py +135 -0
  186. sandloom-0.7.0a1/sandloom/core/infra/active.py +42 -0
  187. sandloom-0.7.0a1/sandloom/core/infra/capabilities.py +207 -0
  188. sandloom-0.7.0a1/sandloom/core/infra/config.py +218 -0
  189. sandloom-0.7.0a1/sandloom/core/infra/contracts.py +1170 -0
  190. sandloom-0.7.0a1/sandloom/core/infra/extra_capabilities.py +266 -0
  191. sandloom-0.7.0a1/sandloom/core/infra/registry.py +831 -0
  192. sandloom-0.7.0a1/sandloom/core/ingress/__init__.py +6 -0
  193. sandloom-0.7.0a1/sandloom/core/ingress/client_ip.py +161 -0
  194. sandloom-0.7.0a1/sandloom/core/ingress/rate_limit.py +213 -0
  195. sandloom-0.7.0a1/sandloom/core/internal_auth.py +92 -0
  196. sandloom-0.7.0a1/sandloom/core/lifecycle.py +210 -0
  197. sandloom-0.7.0a1/sandloom/core/loader/__init__.py +0 -0
  198. sandloom-0.7.0a1/sandloom/core/loader/manifest.py +445 -0
  199. sandloom-0.7.0a1/sandloom/core/loader/plugin_loader.py +664 -0
  200. sandloom-0.7.0a1/sandloom/core/migrations/__init__.py +45 -0
  201. sandloom-0.7.0a1/sandloom/core/migrations/alembic_support.py +236 -0
  202. sandloom-0.7.0a1/sandloom/core/migrations/backup.py +592 -0
  203. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/README +1 -0
  204. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/env.py +27 -0
  205. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/script.py.mako +28 -0
  206. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0001_core_infra_core_infrastructure_tables.py +110 -0
  207. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0002_outbox_lease.py +37 -0
  208. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0003_outbox_claim_token.py +37 -0
  209. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0004_outbox_backoff.py +37 -0
  210. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0005_outbox_partial_indexes.py +74 -0
  211. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0006_contract_command_log.py +55 -0
  212. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0007_consumer_inbox_processed_at.py +41 -0
  213. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0008_outbox_trace_id.py +23 -0
  214. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0009_http_idempotency_log.py +56 -0
  215. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0010_saga_state.py +133 -0
  216. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0011_projection_watermarks.py +41 -0
  217. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0012_projection_rebuilds_active.py +47 -0
  218. sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0013_contract_command_effects.py +38 -0
  219. sandloom-0.7.0a1/sandloom/core/migrations/migrations.py +930 -0
  220. sandloom-0.7.0a1/sandloom/core/migrations/urls.py +61 -0
  221. sandloom-0.7.0a1/sandloom/core/module_api/__init__.py +210 -0
  222. sandloom-0.7.0a1/sandloom/core/module_api/_bootstrap.py +52 -0
  223. sandloom-0.7.0a1/sandloom/core/module_api/_call.py +460 -0
  224. sandloom-0.7.0a1/sandloom/core/module_api/_context.py +125 -0
  225. sandloom-0.7.0a1/sandloom/core/module_api/_dedupe.py +393 -0
  226. sandloom-0.7.0a1/sandloom/core/module_api/_define.py +186 -0
  227. sandloom-0.7.0a1/sandloom/core/module_api/_errors.py +187 -0
  228. sandloom-0.7.0a1/sandloom/core/module_api/_method.py +224 -0
  229. sandloom-0.7.0a1/sandloom/core/module_api/_provider.py +396 -0
  230. sandloom-0.7.0a1/sandloom/core/module_api/_read_guard.py +57 -0
  231. sandloom-0.7.0a1/sandloom/core/module_api/_read_scope.py +492 -0
  232. sandloom-0.7.0a1/sandloom/core/module_api/_registration.py +572 -0
  233. sandloom-0.7.0a1/sandloom/core/module_api/_schema.py +280 -0
  234. sandloom-0.7.0a1/sandloom/core/module_api/_service_registry.py +134 -0
  235. sandloom-0.7.0a1/sandloom/core/module_api/_spec.py +97 -0
  236. sandloom-0.7.0a1/sandloom/core/observability/__init__.py +0 -0
  237. sandloom-0.7.0a1/sandloom/core/observability/guardrails.py +221 -0
  238. sandloom-0.7.0a1/sandloom/core/observability/logging.py +192 -0
  239. sandloom-0.7.0a1/sandloom/core/observability/metrics.py +763 -0
  240. sandloom-0.7.0a1/sandloom/core/observability/metrics_utils.py +27 -0
  241. sandloom-0.7.0a1/sandloom/core/observability/observability.py +131 -0
  242. sandloom-0.7.0a1/sandloom/core/observability/request_context.py +16 -0
  243. sandloom-0.7.0a1/sandloom/core/observability/tracing.py +137 -0
  244. sandloom-0.7.0a1/sandloom/core/orm.py +69 -0
  245. sandloom-0.7.0a1/sandloom/core/planner.py +979 -0
  246. sandloom-0.7.0a1/sandloom/core/production_profile.py +310 -0
  247. sandloom-0.7.0a1/sandloom/core/projections/__init__.py +54 -0
  248. sandloom-0.7.0a1/sandloom/core/projections/consumer.py +61 -0
  249. sandloom-0.7.0a1/sandloom/core/projections/descriptors.py +162 -0
  250. sandloom-0.7.0a1/sandloom/core/projections/operations.py +232 -0
  251. sandloom-0.7.0a1/sandloom/core/projections/purge.py +268 -0
  252. sandloom-0.7.0a1/sandloom/core/projections/rebuild.py +131 -0
  253. sandloom-0.7.0a1/sandloom/core/projections/registry.py +129 -0
  254. sandloom-0.7.0a1/sandloom/core/projections/stores.py +262 -0
  255. sandloom-0.7.0a1/sandloom/core/projections/tokens.py +304 -0
  256. sandloom-0.7.0a1/sandloom/core/projections/upsert.py +230 -0
  257. sandloom-0.7.0a1/sandloom/core/route_markers.py +256 -0
  258. sandloom-0.7.0a1/sandloom/core/route_policy.py +532 -0
  259. sandloom-0.7.0a1/sandloom/core/route_snapshots.py +426 -0
  260. sandloom-0.7.0a1/sandloom/core/rpc/__init__.py +217 -0
  261. sandloom-0.7.0a1/sandloom/core/rpc/binding.py +237 -0
  262. sandloom-0.7.0a1/sandloom/core/rpc/client.py +154 -0
  263. sandloom-0.7.0a1/sandloom/core/rpc/context.py +210 -0
  264. sandloom-0.7.0a1/sandloom/core/rpc/dispatch.py +246 -0
  265. sandloom-0.7.0a1/sandloom/core/rpc/envelope.py +208 -0
  266. sandloom-0.7.0a1/sandloom/core/rpc/errors.py +67 -0
  267. sandloom-0.7.0a1/sandloom/core/rpc/inbound_auth.py +358 -0
  268. sandloom-0.7.0a1/sandloom/core/rpc/outbound.py +120 -0
  269. sandloom-0.7.0a1/sandloom/core/rpc/proxy.py +757 -0
  270. sandloom-0.7.0a1/sandloom/core/rpc/readiness.py +345 -0
  271. sandloom-0.7.0a1/sandloom/core/rpc/server.py +393 -0
  272. sandloom-0.7.0a1/sandloom/core/rpc/wire.py +88 -0
  273. sandloom-0.7.0a1/sandloom/core/rpc_binding.py +465 -0
  274. sandloom-0.7.0a1/sandloom/core/rpc_identity.py +368 -0
  275. sandloom-0.7.0a1/sandloom/core/rpc_pair_mac.py +831 -0
  276. sandloom-0.7.0a1/sandloom/core/rpc_transport.py +687 -0
  277. sandloom-0.7.0a1/sandloom/core/rpc_transport_compat.py +416 -0
  278. sandloom-0.7.0a1/sandloom/core/runtime.py +98 -0
  279. sandloom-0.7.0a1/sandloom/core/sagas/__init__.py +196 -0
  280. sandloom-0.7.0a1/sandloom/core/sagas/channel.py +156 -0
  281. sandloom-0.7.0a1/sandloom/core/sagas/ops.py +528 -0
  282. sandloom-0.7.0a1/sandloom/core/sagas/outcomes.py +231 -0
  283. sandloom-0.7.0a1/sandloom/core/sagas/registry.py +315 -0
  284. sandloom-0.7.0a1/sandloom/core/sagas/runtime.py +992 -0
  285. sandloom-0.7.0a1/sandloom/core/sagas/sweep.py +233 -0
  286. sandloom-0.7.0a1/sandloom/core/schema/__init__.py +0 -0
  287. sandloom-0.7.0a1/sandloom/core/schema/registry.py +220 -0
  288. sandloom-0.7.0a1/sandloom/core/signing_keys.py +248 -0
  289. sandloom-0.7.0a1/sandloom/core/sql_alchemy/__init__.py +1 -0
  290. sandloom-0.7.0a1/sandloom/core/sql_alchemy/base.py +17 -0
  291. sandloom-0.7.0a1/sandloom/core/sql_alchemy/columns.py +134 -0
  292. sandloom-0.7.0a1/sandloom/core/sql_alchemy/command_log.py +193 -0
  293. sandloom-0.7.0a1/sandloom/core/sql_alchemy/dead_connection.py +343 -0
  294. sandloom-0.7.0a1/sandloom/core/sql_alchemy/dedupe_log.py +380 -0
  295. sandloom-0.7.0a1/sandloom/core/sql_alchemy/driver_compat.py +470 -0
  296. sandloom-0.7.0a1/sandloom/core/sql_alchemy/durable_inbox.py +131 -0
  297. sandloom-0.7.0a1/sandloom/core/sql_alchemy/effect_rows.py +448 -0
  298. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/__init__.py +37 -0
  299. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/audit.py +50 -0
  300. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/consumer_inbox.py +59 -0
  301. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/contract_command.py +53 -0
  302. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/http_idempotency.py +56 -0
  303. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/outbox.py +130 -0
  304. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/projection_watermark.py +31 -0
  305. sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/saga.py +136 -0
  306. sandloom-0.7.0a1/sandloom/core/sql_alchemy/money_ledger.py +94 -0
  307. sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/__init__.py +509 -0
  308. sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/audit.py +144 -0
  309. sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/relay.py +549 -0
  310. sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/statements.py +125 -0
  311. sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/__init__.py +362 -0
  312. sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/compiler.py +673 -0
  313. sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/forms.py +529 -0
  314. sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/units.py +460 -0
  315. sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_safety.py +213 -0
  316. sandloom-0.7.0a1/sandloom/core/sql_alchemy/projection_watermarks.py +207 -0
  317. sandloom-0.7.0a1/sandloom/core/sql_alchemy/read_guard.py +116 -0
  318. sandloom-0.7.0a1/sandloom/core/sql_alchemy/read_only_policy.py +88 -0
  319. sandloom-0.7.0a1/sandloom/core/sql_alchemy/reconnect.py +97 -0
  320. sandloom-0.7.0a1/sandloom/core/sql_alchemy/repositories/__init__.py +1 -0
  321. sandloom-0.7.0a1/sandloom/core/sql_alchemy/repositories/outbox.py +28 -0
  322. sandloom-0.7.0a1/sandloom/core/sql_alchemy/request_log.py +184 -0
  323. sandloom-0.7.0a1/sandloom/core/sql_alchemy/rls.py +210 -0
  324. sandloom-0.7.0a1/sandloom/core/sql_alchemy/saga_store.py +434 -0
  325. sandloom-0.7.0a1/sandloom/core/sql_alchemy/tenant_rls.py +696 -0
  326. sandloom-0.7.0a1/sandloom/core/sql_alchemy/uow.py +93 -0
  327. sandloom-0.7.0a1/sandloom/core/sql_alchemy/write_admission.py +462 -0
  328. sandloom-0.7.0a1/sandloom/core/tasks/__init__.py +1 -0
  329. sandloom-0.7.0a1/sandloom/core/tasks/enqueue.py +127 -0
  330. sandloom-0.7.0a1/sandloom/core/tasks/event_ops.py +155 -0
  331. sandloom-0.7.0a1/sandloom/core/tasks/periodic.py +39 -0
  332. sandloom-0.7.0a1/sandloom/core/tasks/pool_metrics.py +87 -0
  333. sandloom-0.7.0a1/sandloom/core/tasks/relay.py +826 -0
  334. sandloom-0.7.0a1/sandloom/core/tenant.py +643 -0
  335. sandloom-0.7.0a1/sandloom/core/tenant_context.py +100 -0
  336. sandloom-0.7.0a1/sandloom/core/testing/__init__.py +236 -0
  337. sandloom-0.7.0a1/sandloom/core/testing/_uow.py +450 -0
  338. sandloom-0.7.0a1/sandloom/core/testing/auth.py +87 -0
  339. sandloom-0.7.0a1/sandloom/core/testing/authz.py +183 -0
  340. sandloom-0.7.0a1/sandloom/core/testing/boot.py +209 -0
  341. sandloom-0.7.0a1/sandloom/core/testing/connections.py +195 -0
  342. sandloom-0.7.0a1/sandloom/core/testing/database.py +367 -0
  343. sandloom-0.7.0a1/sandloom/core/testing/deploy_profile.py +1088 -0
  344. sandloom-0.7.0a1/sandloom/core/testing/env.py +83 -0
  345. sandloom-0.7.0a1/sandloom/core/testing/events.py +143 -0
  346. sandloom-0.7.0a1/sandloom/core/testing/fixtures.py +558 -0
  347. sandloom-0.7.0a1/sandloom/core/testing/infra.py +52 -0
  348. sandloom-0.7.0a1/sandloom/core/testing/isolation.py +236 -0
  349. sandloom-0.7.0a1/sandloom/core/testing/migrations.py +312 -0
  350. sandloom-0.7.0a1/sandloom/core/testing/observed.py +91 -0
  351. sandloom-0.7.0a1/sandloom/core/testing/ownership.py +314 -0
  352. sandloom-0.7.0a1/sandloom/core/testing/plugin.py +104 -0
  353. sandloom-0.7.0a1/sandloom/core/testing/registration.py +135 -0
  354. sandloom-0.7.0a1/sandloom/core/testing/resources.py +535 -0
  355. sandloom-0.7.0a1/sandloom/core/testing/routes.py +86 -0
  356. sandloom-0.7.0a1/sandloom/core/testing/sagas.py +755 -0
  357. sandloom-0.7.0a1/sandloom/core/testing/security.py +129 -0
  358. sandloom-0.7.0a1/sandloom/core/testing/served.py +262 -0
  359. sandloom-0.7.0a1/sandloom/core/testing/server_errors.py +77 -0
  360. sandloom-0.7.0a1/sandloom/core/testing/services.py +57 -0
  361. sandloom-0.7.0a1/sandloom/core/testing/session_checks.py +175 -0
  362. sandloom-0.7.0a1/sandloom/core/testing/shuffle.py +112 -0
  363. sandloom-0.7.0a1/sandloom/core/testing/static_checks.py +318 -0
  364. sandloom-0.7.0a1/sandloom/core/testing/workers.py +364 -0
  365. sandloom-0.7.0a1/sandloom/core/unit_of_work/__init__.py +488 -0
  366. sandloom-0.7.0a1/sandloom/core/unit_of_work/dispatch.py +626 -0
  367. sandloom-0.7.0a1/sandloom/core/unit_of_work/effects.py +266 -0
  368. sandloom-0.7.0a1/sandloom/core/unit_of_work/hooks.py +314 -0
  369. sandloom-0.7.0a1/sandloom/core/unit_of_work/intent.py +398 -0
  370. sandloom-0.7.0a1/sandloom/core/unit_of_work/request.py +574 -0
  371. sandloom-0.7.0a1/sandloom/core/unit_of_work/risk.py +838 -0
  372. sandloom-0.7.0a1/sandloom/core/unit_of_work/savepoints.py +68 -0
  373. sandloom-0.7.0a1/sandloom/core/unit_of_work/scope.py +325 -0
  374. sandloom-0.7.0a1/sandloom/core/unit_of_work/versioning.py +82 -0
  375. sandloom-0.7.0a1/sandloom/core/utils.py +11 -0
  376. sandloom-0.7.0a1/sandloom/core/worker.py +420 -0
  377. sandloom-0.7.0a1/sandloom/main.py +48 -0
  378. sandloom-0.7.0a1/sandloom/py.typed +0 -0
  379. sandloom-0.7.0a1/sandloom/sdk/__init__.py +74 -0
  380. sandloom-0.7.0a1/sandloom/sdk/_decl/__init__.py +13 -0
  381. sandloom-0.7.0a1/sandloom/sdk/_decl/_caller.py +152 -0
  382. sandloom-0.7.0a1/sandloom/sdk/_decl/_event_wire.py +1065 -0
  383. sandloom-0.7.0a1/sandloom/sdk/_decl/_owner.py +103 -0
  384. sandloom-0.7.0a1/sandloom/sdk/_decl/_recording.py +36 -0
  385. sandloom-0.7.0a1/sandloom/sdk/_decl/contracts.py +520 -0
  386. sandloom-0.7.0a1/sandloom/sdk/_decl/errors.py +79 -0
  387. sandloom-0.7.0a1/sandloom/sdk/_decl/events.py +594 -0
  388. sandloom-0.7.0a1/sandloom/sdk/_decl/module.py +592 -0
  389. sandloom-0.7.0a1/sandloom/sdk/_decl/projections.py +1051 -0
  390. sandloom-0.7.0a1/sandloom/sdk/_decl/sagas.py +110 -0
  391. sandloom-0.7.0a1/sandloom/sdk/_decl/testing.py +89 -0
  392. sandloom-0.7.0a1/sandloom/sdk/_decl/web.py +276 -0
  393. sandloom-0.7.0a1/sandloom/sdk/_prim/__init__.py +12 -0
  394. sandloom-0.7.0a1/sandloom/sdk/_prim/app.py +59 -0
  395. sandloom-0.7.0a1/sandloom/sdk/_prim/authz.py +12 -0
  396. sandloom-0.7.0a1/sandloom/sdk/_prim/contracts.py +96 -0
  397. sandloom-0.7.0a1/sandloom/sdk/_prim/data.py +47 -0
  398. sandloom-0.7.0a1/sandloom/sdk/_prim/docs.py +253 -0
  399. sandloom-0.7.0a1/sandloom/sdk/_prim/docs_wire.py +322 -0
  400. sandloom-0.7.0a1/sandloom/sdk/_prim/effects.py +13 -0
  401. sandloom-0.7.0a1/sandloom/sdk/_prim/events.py +24 -0
  402. sandloom-0.7.0a1/sandloom/sdk/_prim/infra.py +13 -0
  403. sandloom-0.7.0a1/sandloom/sdk/_prim/module.py +23 -0
  404. sandloom-0.7.0a1/sandloom/sdk/_prim/projections.py +61 -0
  405. sandloom-0.7.0a1/sandloom/sdk/_prim/recipes.py +987 -0
  406. sandloom-0.7.0a1/sandloom/sdk/_prim/sagas.py +14 -0
  407. sandloom-0.7.0a1/sandloom/sdk/_prim/tasks.py +111 -0
  408. sandloom-0.7.0a1/sandloom/sdk/_prim/tenant.py +26 -0
  409. sandloom-0.7.0a1/sandloom/sdk/_prim/testing.py +142 -0
  410. sandloom-0.7.0a1/sandloom/sdk/_prim/web.py +113 -0
  411. sandloom-0.7.0a1/sandloom/sdk/_stub.py +14 -0
  412. sandloom-0.7.0a1/sandloom/sdk/app.py +26 -0
  413. sandloom-0.7.0a1/sandloom/sdk/authz.py +151 -0
  414. sandloom-0.7.0a1/sandloom/sdk/contracts.py +94 -0
  415. sandloom-0.7.0a1/sandloom/sdk/data.py +88 -0
  416. sandloom-0.7.0a1/sandloom/sdk/effects.py +41 -0
  417. sandloom-0.7.0a1/sandloom/sdk/errors.py +93 -0
  418. sandloom-0.7.0a1/sandloom/sdk/events.py +39 -0
  419. sandloom-0.7.0a1/sandloom/sdk/infra.py +61 -0
  420. sandloom-0.7.0a1/sandloom/sdk/migrations.py +24 -0
  421. sandloom-0.7.0a1/sandloom/sdk/module.py +49 -0
  422. sandloom-0.7.0a1/sandloom/sdk/projections.py +82 -0
  423. sandloom-0.7.0a1/sandloom/sdk/sagas.py +54 -0
  424. sandloom-0.7.0a1/sandloom/sdk/security.py +74 -0
  425. sandloom-0.7.0a1/sandloom/sdk/tasks.py +24 -0
  426. sandloom-0.7.0a1/sandloom/sdk/tenant.py +37 -0
  427. sandloom-0.7.0a1/sandloom/sdk/testing/__init__.py +205 -0
  428. sandloom-0.7.0a1/sandloom/sdk/testing/fixtures.py +114 -0
  429. sandloom-0.7.0a1/sandloom/sdk/testing/plugin.py +99 -0
  430. sandloom-0.7.0a1/sandloom/sdk/tooling.py +24 -0
  431. sandloom-0.7.0a1/sandloom/sdk/web.py +96 -0
  432. sandloom-0.7.0a1/sandloom/shared/README.md +58 -0
  433. sandloom-0.7.0a1/sandloom/shared/__init__.py +0 -0
  434. sandloom-0.7.0a1/sandloom/shared/authz/__init__.py +155 -0
  435. sandloom-0.7.0a1/sandloom/shared/authz/_resolve.py +173 -0
  436. sandloom-0.7.0a1/sandloom/shared/authz/account.py +263 -0
  437. sandloom-0.7.0a1/sandloom/shared/authz/algebra.py +282 -0
  438. sandloom-0.7.0a1/sandloom/shared/authz/atoms_claims.py +363 -0
  439. sandloom-0.7.0a1/sandloom/shared/authz/atoms_fact.py +125 -0
  440. sandloom-0.7.0a1/sandloom/shared/authz/atoms_live.py +231 -0
  441. sandloom-0.7.0a1/sandloom/shared/authz/atoms_resource.py +43 -0
  442. sandloom-0.7.0a1/sandloom/shared/authz/constants.py +31 -0
  443. sandloom-0.7.0a1/sandloom/shared/authz/context.py +89 -0
  444. sandloom-0.7.0a1/sandloom/shared/authz/deps.py +287 -0
  445. sandloom-0.7.0a1/sandloom/shared/authz/enforce.py +134 -0
  446. sandloom-0.7.0a1/sandloom/shared/authz/facts.py +600 -0
  447. sandloom-0.7.0a1/sandloom/shared/authz/facts_contract.py +108 -0
  448. sandloom-0.7.0a1/sandloom/shared/authz/live_contracts.py +175 -0
  449. sandloom-0.7.0a1/sandloom/shared/authz/metrics.py +35 -0
  450. sandloom-0.7.0a1/sandloom/shared/authz/projection.py +83 -0
  451. sandloom-0.7.0a1/sandloom/shared/authz/results.py +205 -0
  452. sandloom-0.7.0a1/sandloom/shared/contracts/__init__.py +1 -0
  453. sandloom-0.7.0a1/sandloom/shared/contracts/billing_credits_v1.py +56 -0
  454. sandloom-0.7.0a1/sandloom/shared/contracts/billing_entitlements_v1.py +54 -0
  455. sandloom-0.7.0a1/sandloom/shared/contracts/identity_contact_v1.py +38 -0
  456. sandloom-0.7.0a1/sandloom/shared/contracts/identity_dto.py +32 -0
  457. sandloom-0.7.0a1/sandloom/shared/contracts/identity_security_v1.py +34 -0
  458. sandloom-0.7.0a1/sandloom/shared/contracts/tenancy_dto.py +41 -0
  459. sandloom-0.7.0a1/sandloom/shared/contracts/tenancy_membership_v1.py +69 -0
  460. sandloom-0.7.0a1/sandloom/shared/events/billing.credits.added.v1.json +51 -0
  461. sandloom-0.7.0a1/sandloom/shared/events/billing.credits.restored.v1.json +51 -0
  462. sandloom-0.7.0a1/sandloom/shared/events/billing.credits.reversed.v1.json +51 -0
  463. sandloom-0.7.0a1/sandloom/shared/events/billing.credits.spent.v1.json +51 -0
  464. sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.canceled.v1.json +51 -0
  465. sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.created.v1.json +51 -0
  466. sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.updated.v1.json +51 -0
  467. sandloom-0.7.0a1/sandloom/shared/events/identity.sso_linked.v1.json +86 -0
  468. sandloom-0.7.0a1/sandloom/shared/events/identity.sso_unlinked.v1.json +86 -0
  469. sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_backup_codes_regenerated.v1.json +86 -0
  470. sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_disabled.v1.json +86 -0
  471. sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_enabled.v1.json +86 -0
  472. sandloom-0.7.0a1/sandloom/shared/events/identity.user_deleted.v1.json +86 -0
  473. sandloom-0.7.0a1/sandloom/shared/events/identity.user_email_confirmed.v1.json +86 -0
  474. sandloom-0.7.0a1/sandloom/shared/events/identity.user_logged_in.v1.json +86 -0
  475. sandloom-0.7.0a1/sandloom/shared/events/identity.user_logged_out.v1.json +86 -0
  476. sandloom-0.7.0a1/sandloom/shared/events/identity.user_password_reset.v1.json +86 -0
  477. sandloom-0.7.0a1/sandloom/shared/events/identity.user_registered.v1.json +86 -0
  478. sandloom-0.7.0a1/sandloom/shared/events/identity.user_role_assigned.v1.json +86 -0
  479. sandloom-0.7.0a1/sandloom/shared/events/identity.user_role_revoked.v1.json +86 -0
  480. sandloom-0.7.0a1/sandloom/shared/events/identity.user_sessions_revoked.v1.json +86 -0
  481. sandloom-0.7.0a1/sandloom/shared/events/identity.user_updated.v1.json +86 -0
  482. sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_accepted.v1.json +48 -0
  483. sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_created.v1.json +48 -0
  484. sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_revoked.v1.json +48 -0
  485. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_added.v1.json +62 -0
  486. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_added.v2.json +66 -0
  487. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_removed.v1.json +62 -0
  488. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_removed.v2.json +66 -0
  489. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_role_changed.v1.json +62 -0
  490. sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_role_changed.v2.json +66 -0
  491. sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_created.v1.json +29 -0
  492. sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_deleted.v1.json +29 -0
  493. sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_updated.v1.json +29 -0
  494. sandloom-0.7.0a1/sandloom/shared/guards/__init__.py +0 -0
  495. sandloom-0.7.0a1/sandloom/shared/guards/auth.py +26 -0
  496. sandloom-0.7.0a1/sandloom/shared/guards/platform.py +19 -0
  497. sandloom-0.7.0a1/sandloom/shared/guards/service.py +27 -0
  498. sandloom-0.7.0a1/sandloom/shared/membership.py +72 -0
  499. sandloom-0.7.0a1/sandloom/shared/subject.py +122 -0
@@ -0,0 +1,4 @@
1
+ # Build artifacts from `uv build` — not committed.
2
+ dist/
3
+ build/
4
+ *.egg-info/
@@ -0,0 +1,76 @@
1
+ # Changelog — sandloom
2
+
3
+ All notable changes to the `sandloom` distribution (named `sandloom-framework`
4
+ before 2026-10-28) are documented here.
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+ Per-package entries are aggregated in the repository-level [docs/changelog.md](../../docs/changelog.md).
8
+
9
+ ## [Unreleased]
10
+
11
+ ## [0.7.0a1] — 2026-10-28
12
+
13
+ Initial public alpha preparation; earlier version headings describe internal development.
14
+
15
+ - Breaking (packaging): `sandloom` is the framework distribution, replacing
16
+ `sandloom-framework`, `sandloom-shared`, `sandloom-platform`,
17
+ `sandloom-infra-redis` and `sandloom-infra-celery` (removed, no shims). It
18
+ ships the kernel, `sandloom.sdk`, `sandloom.shared` (including the
19
+ standard modules' generated contract DTOs, stubs and event schemas), the CLI and
20
+ `sandloom.main`. Extras: `redis`, `celery`, `standard` (Redis + Celery +
21
+ the three module packages), `fast`, `check`, `testing`, `sentry`.
22
+ Dependencies are ranges; `requests` and `python-multipart` are dropped,
23
+ `itsdangerous` and `email-validator` moved to the module packages.
24
+ - Breaking: modules are discovered through the `sandloom.modules`
25
+ entry-point group (formerly `sandloom.plugins`); the entry-point name is
26
+ the module name. `sandloom.main:app` composes every installed entry point
27
+ when `SANDLOOM_MODULES` is unset (`DEFAULT_MODULES` is gone). An ambiguous
28
+ requested module name fails startup with SANDLOOM-B020. `MODULE_FS_SCAN`
29
+ is removed (setting it fails startup).
30
+ - `sandloom new --with identity,tenancy,billing` depends on
31
+ `sandloom[redis,celery]>=0.7,<0.8` plus one `sandloom-<module>` per module.
32
+ - `sandloom check`: importing an installed module package from an app module
33
+ is SANDLOOM-C001.
34
+
35
+ - Breaking (kernel internals only, ADR-0007): `sandloom.core` is layered and
36
+ acyclic, checked by import-linter; internal modules moved without
37
+ re-exports (`sandloom.core.infra.drivers` → `sandloom.core.drivers`, consumer runtime
38
+ → `sandloom.core.consumers`, `sandloom-migrate` → `sandloom.core.cli.migrate`, …). The
39
+ public API is unchanged. The non-production default-registry fallback is
40
+ removed (`di.cache()` / `di.notifier()` raise without a bound registry).
41
+ See `CHANGELOG.md`.
42
+
43
+ - Preserve Boolean parameter coercion, deferred raiseload and root discriminator
44
+ handling through conservative planner fallback to the ORM.
45
+
46
+ - Enable eligible optimized declared reads by default with an explicit rollback
47
+ switch, conservative ORM fallback and enforced read-only transactions.
48
+ - Preserve application hooks/type processors/cardinality and scope transaction
49
+ budgets; clean up failed or cancelled planner leases.
50
+ - Prevent contended pool starvation and stagger PostgreSQL recovery with capped
51
+ exponential jitter, bounded waiting and a finite connection timeout.
52
+
53
+ ## [0.7.0] — 2026-10-13
54
+
55
+ First prepared release version; public publication is pending. While the framework is `0.x`, every Sandloom
56
+ distribution is released in lockstep with the framework release line
57
+ (see [Versioning & Stability](../../docs/contributing/versioning.md));
58
+ the change list since 0.6.0 is in [CHANGELOG.md](../../CHANGELOG.md)
59
+ and the current source API upgrade steps are in
60
+ [Upgrading to Public API 1.0](../../docs/guides/upgrading-1.0.md).
61
+ The historical 0.7 migration guide remains in the preparation archive.
62
+
63
+ ### Fixed
64
+ - Atomic task-enqueue deduplication, local/RPC read memo parity, missing-path architecture validation, testing fixture export, and scaffold RLS/name validation.
65
+ - Source distributions include the package sources and build independently of the monorepo.
66
+
67
+ ### Added
68
+ - Framework kernel: the enforced public surface (`sandloom.core.di`, `sandloom.core.facade`,
69
+ `sandloom.core.module_api`, `sandloom.core.descriptors`, `sandloom.core.orm`,
70
+ `sandloom.core.projections`) plus `sandloom.__init__` and the `sandloom` CLI (`new`,
71
+ `scaffold`, `migrate`, `projection`, `version`).
72
+ - Lean kernel: no eager `redis`/`celery` imports; the Redis/Celery backends are
73
+ opt-in via the `[redis]`, `[celery]` and `[infra]` extras.
74
+ - Pluggable infrastructure layer (`sandloom.core.infra`): capability contracts,
75
+ registry, built-in filesystem/SQLAlchemy/log drivers, transactional outbox and
76
+ audit stores.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,8 @@
1
+ Sandloom
2
+ Copyright 2026 Vasyl Cherniavskyi
3
+
4
+ The original Sandloom framework code, documentation and examples are licensed
5
+ under the Apache License, Version 2.0. See LICENSE for the full terms.
6
+
7
+ Third-party components and assets retain their own copyright notices and
8
+ licenses. This notice does not replace or modify those terms.
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.5
2
+ Name: sandloom
3
+ Version: 0.7.0a1
4
+ Summary: Sandloom: configurable-monolith framework for SaaS (kernel, public SDK sandloom.sdk, CLI).
5
+ Project-URL: Homepage, https://sandloom.dev/
6
+ Project-URL: Documentation, https://sandloom.dev/docs/
7
+ Project-URL: Repository, https://github.com/Sandloom-dev/sandloom
8
+ Project-URL: Issues, https://github.com/Sandloom-dev/sandloom/issues
9
+ Project-URL: Changelog, https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom/CHANGELOG.md
10
+ Author: Vasyl Cherniavskyi
11
+ License-Expression: Apache-2.0
12
+ License-File: LICENSE
13
+ License-File: NOTICE
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Requires-Python: >=3.11
16
+ Requires-Dist: aiohttp<3.15,>=3.14.5
17
+ Requires-Dist: alembic<2,>=1.20.0
18
+ Requires-Dist: argon2-cffi<26,>=25.1.0
19
+ Requires-Dist: asyncpg<0.33,>=0.32.0
20
+ Requires-Dist: certifi>=2026.10.19
21
+ Requires-Dist: cryptography<51,>=50.0.2
22
+ Requires-Dist: fastapi<0.137,>=0.136.3
23
+ Requires-Dist: gunicorn<27,>=26.2.0
24
+ Requires-Dist: httpx<0.29,>=0.28.1
25
+ Requires-Dist: jsonschema<5,>=4.26.0
26
+ Requires-Dist: msgpack<2,>=1.2.3
27
+ Requires-Dist: orjson<4,>=3.13.0
28
+ Requires-Dist: prometheus-client<0.27,>=0.26.0
29
+ Requires-Dist: psycopg2-binary<3,>=2.9.11
30
+ Requires-Dist: pydantic-settings<3,>=2.16.1
31
+ Requires-Dist: pydantic<2.15,>=2.14.1
32
+ Requires-Dist: pyjwt<3,>=2.15.1
33
+ Requires-Dist: python-dotenv<2,>=1.2.4
34
+ Requires-Dist: sqlalchemy[asyncio]<2.2,>=2.1.4
35
+ Requires-Dist: starlette<1.7,>=1.3.1
36
+ Requires-Dist: uvicorn-worker<0.5,>=0.4.0
37
+ Requires-Dist: uvicorn[standard]<1,>=0.54.0
38
+ Provides-Extra: celery
39
+ Requires-Dist: celery[redis]<6,>=5.6.3; extra == 'celery'
40
+ Provides-Extra: check
41
+ Requires-Dist: pyyaml<7,>=6.0.2; extra == 'check'
42
+ Provides-Extra: fast
43
+ Requires-Dist: jsonschema-rs<0.60,>=0.59.0; extra == 'fast'
44
+ Requires-Dist: redis[hiredis]<6,>=5.2.1; extra == 'fast'
45
+ Provides-Extra: redis
46
+ Requires-Dist: redis<6,>=5.2.1; extra == 'redis'
47
+ Provides-Extra: sentry
48
+ Requires-Dist: sentry-sdk<3,>=2.72.0; extra == 'sentry'
49
+ Provides-Extra: standard
50
+ Requires-Dist: celery[redis]<6,>=5.6.3; extra == 'standard'
51
+ Requires-Dist: redis<6,>=5.2.1; extra == 'standard'
52
+ Requires-Dist: sandloom-billing<0.8,>=0.7.0a1; extra == 'standard'
53
+ Requires-Dist: sandloom-identity<0.8,>=0.7.0a1; extra == 'standard'
54
+ Requires-Dist: sandloom-tenancy<0.8,>=0.7.0a1; extra == 'standard'
55
+ Provides-Extra: testing
56
+ Requires-Dist: pytest-asyncio<2,>=1.4.0; extra == 'testing'
57
+ Requires-Dist: pytest-xdist<4,>=3.8.0; extra == 'testing'
58
+ Requires-Dist: pytest<10,>=9.1.1; extra == 'testing'
59
+ Description-Content-Type: text/markdown
60
+
61
+ # sandloom
62
+
63
+ The Sandloom framework: the kernel (`sandloom.core`: dependency injection, the
64
+ core facade, the ORM base, eventing with the transactional outbox, the
65
+ infrastructure capability registry, the migrations runner), the public SDK
66
+ (`sandloom.sdk`; `sandloom docs <name>`), the framework DTOs, guards and authz
67
+ algebra (`sandloom.shared`), the `sandloom` CLI (`sandloom new`, `sandloom add`,
68
+ `sandloom migrate`, `sandloom test`, ...) and the composition root
69
+ `sandloom.main:app`, which composes every installed module package.
70
+
71
+ ```bash
72
+ pip install "sandloom[standard]==0.7.0a1" # + Redis, Celery, identity, tenancy, billing
73
+ ```
74
+
75
+ Extras: `redis`, `celery`, `standard` (Redis + Celery + `sandloom-identity`,
76
+ `sandloom-tenancy`, `sandloom-billing`), `fast` (hiredis, jsonschema-rs),
77
+ `check` (PyYAML for `sandloom check`), `testing` (pytest, pytest-asyncio,
78
+ pytest-xdist for the test kit) and `sentry` (imported only when `SENTRY_DSN`
79
+ is set). The kernel names no module: modules are separate distributions that
80
+ register a `sandloom.modules` entry point.
81
+
82
+ Source of truth lives in the monorepo at `src/sandloom`; this package builds
83
+ the wheel and source archive through the shared build hook.
84
+
85
+ ## Project links
86
+
87
+ [Source](https://github.com/Sandloom-dev/sandloom) ·
88
+ [Documentation](https://sandloom.dev/docs/) ·
89
+ [Changelog](https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom/CHANGELOG.md)
90
+
91
+ This is the initial `0.7.0a1` alpha distribution. The canonical source
92
+ repository is private and awaiting transfer; the documentation website is
93
+ not deployed yet. The project links above are the planned public locations.
94
+
95
+ ## License
96
+
97
+ Apache-2.0. Copyright 2026 Vasyl Cherniavskyi. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -0,0 +1,37 @@
1
+ # sandloom
2
+
3
+ The Sandloom framework: the kernel (`sandloom.core`: dependency injection, the
4
+ core facade, the ORM base, eventing with the transactional outbox, the
5
+ infrastructure capability registry, the migrations runner), the public SDK
6
+ (`sandloom.sdk`; `sandloom docs <name>`), the framework DTOs, guards and authz
7
+ algebra (`sandloom.shared`), the `sandloom` CLI (`sandloom new`, `sandloom add`,
8
+ `sandloom migrate`, `sandloom test`, ...) and the composition root
9
+ `sandloom.main:app`, which composes every installed module package.
10
+
11
+ ```bash
12
+ pip install "sandloom[standard]==0.7.0a1" # + Redis, Celery, identity, tenancy, billing
13
+ ```
14
+
15
+ Extras: `redis`, `celery`, `standard` (Redis + Celery + `sandloom-identity`,
16
+ `sandloom-tenancy`, `sandloom-billing`), `fast` (hiredis, jsonschema-rs),
17
+ `check` (PyYAML for `sandloom check`), `testing` (pytest, pytest-asyncio,
18
+ pytest-xdist for the test kit) and `sentry` (imported only when `SENTRY_DSN`
19
+ is set). The kernel names no module: modules are separate distributions that
20
+ register a `sandloom.modules` entry point.
21
+
22
+ Source of truth lives in the monorepo at `src/sandloom`; this package builds
23
+ the wheel and source archive through the shared build hook.
24
+
25
+ ## Project links
26
+
27
+ [Source](https://github.com/Sandloom-dev/sandloom) ·
28
+ [Documentation](https://sandloom.dev/docs/) ·
29
+ [Changelog](https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom/CHANGELOG.md)
30
+
31
+ This is the initial `0.7.0a1` alpha distribution. The canonical source
32
+ repository is private and awaiting transfer; the documentation website is
33
+ not deployed yet. The project links above are the planned public locations.
34
+
35
+ ## License
36
+
37
+ Apache-2.0. Copyright 2026 Vasyl Cherniavskyi. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -0,0 +1,105 @@
1
+ [project]
2
+ name = "sandloom"
3
+ version = "0.7.0a1"
4
+ classifiers = ["Development Status :: 3 - Alpha"]
5
+ description = "Sandloom: configurable-monolith framework for SaaS (kernel, public SDK sandloom.sdk, CLI)."
6
+ readme = "README.md"
7
+ license = "Apache-2.0"
8
+ license-files = ["LICENSE", "NOTICE"]
9
+ authors = [
10
+ { name = "Vasyl Cherniavskyi" },
11
+ ]
12
+ requires-python = ">=3.11"
13
+ # Ranges, never exact pins: `>=tested,<next breaking release` (for a 0.x
14
+ # project the next minor). Exact versions live only in uv.lock. A narrower
15
+ # range says why: the framework relies on that release's internals there.
16
+ dependencies = [
17
+ # Remove the compromised emSign CA from outbound HTTPS trust bundles.
18
+ "certifi>=2026.10.19",
19
+ # route dependant pruning (sandloom.core.route_markers) and the OpenAPI
20
+ # hooks rely on FastAPI internals: one minor at a time.
21
+ "fastapi>=0.136.3,<0.137",
22
+ # the request middleware relies on Starlette internals (checked up to 1.6).
23
+ "starlette>=1.3.1,<1.7",
24
+ "uvicorn[standard]>=0.54.0,<1",
25
+ "uvicorn-worker>=0.4.0,<0.5",
26
+ # the planner compiler (sql_alchemy/planner_adapter) uses 2.1 internals.
27
+ "sqlalchemy[asyncio]>=2.1.4,<2.2",
28
+ "alembic>=1.20.0,<2",
29
+ # the event reader rewrites pydantic-core schemas (sdk/_decl/events.py):
30
+ # version-specific internals, one minor at a time.
31
+ "pydantic>=2.14.1,<2.15",
32
+ "pydantic-settings>=2.16.1,<3",
33
+ "python-dotenv>=1.2.4,<2",
34
+ "httpx>=0.28.1,<0.29",
35
+ # the RPC transport probes aiohttp connector internals
36
+ # (rpc_transport_compat falls back to httpx on a mismatch).
37
+ "aiohttp>=3.14.5,<3.15",
38
+ "msgpack>=1.2.3,<2",
39
+ "orjson>=3.13.0,<4",
40
+ "asyncpg>=0.32.0,<0.33",
41
+ # the sync driver of `sandloom migrate`, backup and extract-module.
42
+ "psycopg2-binary>=2.9.11,<3",
43
+ "pyjwt>=2.15.1,<3",
44
+ "cryptography>=50.0.2,<51",
45
+ "argon2-cffi>=25.1.0,<26",
46
+ # imported by the app factory, the UoW and eventing (default path).
47
+ "prometheus-client>=0.26.0,<0.27",
48
+ "jsonschema>=4.26.0,<5",
49
+ # the CMD of the framework and every generated production image
50
+ # (gunicorn -c python:sandloom.core.cli.gunicorn_conf).
51
+ "gunicorn>=26.2.0,<27",
52
+ ]
53
+
54
+ [project.urls]
55
+ Homepage = "https://sandloom.dev/"
56
+ Documentation = "https://sandloom.dev/docs/"
57
+ Repository = "https://github.com/Sandloom-dev/sandloom"
58
+ Issues = "https://github.com/Sandloom-dev/sandloom/issues"
59
+ Changelog = "https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom/CHANGELOG.md"
60
+
61
+ [project.optional-dependencies]
62
+ redis = [
63
+ "redis>=5.2.1,<6",
64
+ ]
65
+ celery = [
66
+ "celery[redis]>=5.6.3,<6",
67
+ ]
68
+ # The batteries-included set: the three standard modules plus Redis and Celery.
69
+ standard = [
70
+ "sandloom[redis,celery]",
71
+ "sandloom-identity>=0.7.0a1,<0.8",
72
+ "sandloom-tenancy>=0.7.0a1,<0.8",
73
+ "sandloom-billing>=0.7.0a1,<0.8",
74
+ ]
75
+ fast = [
76
+ "redis[hiredis]>=5.2.1,<6",
77
+ "jsonschema-rs>=0.59.0,<0.60",
78
+ ]
79
+ # `sandloom check` reads YAML manifests.
80
+ check = [
81
+ "PyYAML>=6.0.2,<7",
82
+ ]
83
+ # The test kit (sandloom.sdk.testing, `sandloom test`): pytest plugins and the
84
+ # parallel runner a generated app's dev tools bring.
85
+ testing = [
86
+ "pytest>=9.1.1,<10",
87
+ "pytest-asyncio>=1.4.0,<2",
88
+ "pytest-xdist>=3.8.0,<4",
89
+ ]
90
+ # Imported only when SENTRY_DSN is set (sandloom.core.observability).
91
+ sentry = [
92
+ "sentry-sdk>=2.72.0,<3",
93
+ ]
94
+
95
+ [project.scripts]
96
+ sandloom = "sandloom:main"
97
+
98
+ [build-system]
99
+ requires = [
100
+ "hatchling>=1.27",
101
+ ]
102
+ build-backend = "hatchling.build"
103
+
104
+ [tool.hatch.build.targets.wheel]
105
+ packages = ["sandloom"]