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.
- sandloom-0.7.0a1/.gitignore +4 -0
- sandloom-0.7.0a1/CHANGELOG.md +76 -0
- sandloom-0.7.0a1/LICENSE +202 -0
- sandloom-0.7.0a1/NOTICE +8 -0
- sandloom-0.7.0a1/PKG-INFO +97 -0
- sandloom-0.7.0a1/README.md +37 -0
- sandloom-0.7.0a1/pyproject.toml +105 -0
- sandloom-0.7.0a1/sandloom/__init__.py +349 -0
- sandloom-0.7.0a1/sandloom/core/AGENTS.md +120 -0
- sandloom-0.7.0a1/sandloom/core/CLAUDE.md +1 -0
- sandloom-0.7.0a1/sandloom/core/__init__.py +10 -0
- sandloom-0.7.0a1/sandloom/core/_internal/__init__.py +6 -0
- sandloom-0.7.0a1/sandloom/core/_internal/db_provider.py +53 -0
- sandloom-0.7.0a1/sandloom/core/admin/__init__.py +5 -0
- sandloom-0.7.0a1/sandloom/core/admin/api/__init__.py +1 -0
- sandloom-0.7.0a1/sandloom/core/admin/api/platform.py +754 -0
- sandloom-0.7.0a1/sandloom/core/admin/compiler.py +529 -0
- sandloom-0.7.0a1/sandloom/core/admin/models.py +106 -0
- sandloom-0.7.0a1/sandloom/core/app_factory.py +1135 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/__init__.py +22 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/analyzers.py +1830 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/api10_rules.py +952 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/manifest.py +286 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/module_rules.py +546 -0
- sandloom-0.7.0a1/sandloom/core/archcheck/runner.py +685 -0
- sandloom-0.7.0a1/sandloom/core/async_runner.py +195 -0
- sandloom-0.7.0a1/sandloom/core/auth/__init__.py +7 -0
- sandloom-0.7.0a1/sandloom/core/auth/bearer.py +118 -0
- sandloom-0.7.0a1/sandloom/core/auth/blocks.py +277 -0
- sandloom-0.7.0a1/sandloom/core/auth/hashing.py +232 -0
- sandloom-0.7.0a1/sandloom/core/auth/marks.py +307 -0
- sandloom-0.7.0a1/sandloom/core/auth/recovery.py +384 -0
- sandloom-0.7.0a1/sandloom/core/auth/revocation.py +393 -0
- sandloom-0.7.0a1/sandloom/core/auth/tokens.py +361 -0
- sandloom-0.7.0a1/sandloom/core/auth/verification.py +238 -0
- sandloom-0.7.0a1/sandloom/core/beat_lease.py +387 -0
- sandloom-0.7.0a1/sandloom/core/claims.py +29 -0
- sandloom-0.7.0a1/sandloom/core/cli/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/cli/_operator.py +71 -0
- sandloom-0.7.0a1/sandloom/core/cli/add.py +1467 -0
- sandloom-0.7.0a1/sandloom/core/cli/admin.py +41 -0
- sandloom-0.7.0a1/sandloom/core/cli/backup.py +265 -0
- sandloom-0.7.0a1/sandloom/core/cli/check.py +242 -0
- sandloom-0.7.0a1/sandloom/core/cli/config.py +283 -0
- sandloom-0.7.0a1/sandloom/core/cli/contracts.py +231 -0
- sandloom-0.7.0a1/sandloom/core/cli/doctor.py +627 -0
- sandloom-0.7.0a1/sandloom/core/cli/dto_copies.py +695 -0
- sandloom-0.7.0a1/sandloom/core/cli/events.py +320 -0
- sandloom-0.7.0a1/sandloom/core/cli/explain.py +61 -0
- sandloom-0.7.0a1/sandloom/core/cli/extract.py +1311 -0
- sandloom-0.7.0a1/sandloom/core/cli/generated.py +1354 -0
- sandloom-0.7.0a1/sandloom/core/cli/gunicorn_conf.py +319 -0
- sandloom-0.7.0a1/sandloom/core/cli/image_secrets.py +161 -0
- sandloom-0.7.0a1/sandloom/core/cli/keys.py +344 -0
- sandloom-0.7.0a1/sandloom/core/cli/migrate.py +679 -0
- sandloom-0.7.0a1/sandloom/core/cli/migrate_drift.py +156 -0
- sandloom-0.7.0a1/sandloom/core/cli/migrate_rls.py +102 -0
- sandloom-0.7.0a1/sandloom/core/cli/project.py +1164 -0
- sandloom-0.7.0a1/sandloom/core/cli/projections.py +144 -0
- sandloom-0.7.0a1/sandloom/core/cli/route_weakening.py +212 -0
- sandloom-0.7.0a1/sandloom/core/cli/routes.py +120 -0
- sandloom-0.7.0a1/sandloom/core/cli/run_tests.py +521 -0
- sandloom-0.7.0a1/sandloom/core/cli/sagas.py +306 -0
- sandloom-0.7.0a1/sandloom/core/cli/scaffold_deploy.py +969 -0
- sandloom-0.7.0a1/sandloom/core/cli/scaffold_wiring.py +183 -0
- sandloom-0.7.0a1/sandloom/core/cli/security.py +408 -0
- sandloom-0.7.0a1/sandloom/core/cli/skills.py +62 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/api-cheatsheet.md +54 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/compose/microservices.yml.tmpl +311 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/gateway/nginx.conf +71 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/deploy/postgres/init-databases.sh +26 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/module-AGENTS.md +120 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-event-version-roll/SKILL.md +55 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-new-module/SKILL.md +57 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-quality-gates/SKILL.md +52 -0
- sandloom-0.7.0a1/sandloom/core/cli/templates/skills/sandloom-split-deploy/SKILL.md +50 -0
- sandloom-0.7.0a1/sandloom/core/cli/tool_process.py +36 -0
- sandloom-0.7.0a1/sandloom/core/composition.py +95 -0
- sandloom-0.7.0a1/sandloom/core/config/__init__.py +7 -0
- sandloom-0.7.0a1/sandloom/core/config/accepted_risks.py +189 -0
- sandloom-0.7.0a1/sandloom/core/config/auth.py +141 -0
- sandloom-0.7.0a1/sandloom/core/config/cache.py +40 -0
- sandloom-0.7.0a1/sandloom/core/config/common.py +118 -0
- sandloom-0.7.0a1/sandloom/core/config/contracts.py +147 -0
- sandloom-0.7.0a1/sandloom/core/config/database.py +123 -0
- sandloom-0.7.0a1/sandloom/core/config/eventing.py +172 -0
- sandloom-0.7.0a1/sandloom/core/config/http.py +73 -0
- sandloom-0.7.0a1/sandloom/core/config/infra.py +20 -0
- sandloom-0.7.0a1/sandloom/core/config/modules.py +81 -0
- sandloom-0.7.0a1/sandloom/core/config/observability.py +30 -0
- sandloom-0.7.0a1/sandloom/core/config/password_params.py +120 -0
- sandloom-0.7.0a1/sandloom/core/config/replay_limits.py +28 -0
- sandloom-0.7.0a1/sandloom/core/config/rpc.py +94 -0
- sandloom-0.7.0a1/sandloom/core/config/runtime.py +136 -0
- sandloom-0.7.0a1/sandloom/core/config/sagas.py +40 -0
- sandloom-0.7.0a1/sandloom/core/config/services.py +50 -0
- sandloom-0.7.0a1/sandloom/core/config/settings.py +775 -0
- sandloom-0.7.0a1/sandloom/core/config/tiers.py +982 -0
- sandloom-0.7.0a1/sandloom/core/config/trust.py +76 -0
- sandloom-0.7.0a1/sandloom/core/consumers/__init__.py +7 -0
- sandloom-0.7.0a1/sandloom/core/consumers/callbacks.py +424 -0
- sandloom-0.7.0a1/sandloom/core/consumers/runtime.py +636 -0
- sandloom-0.7.0a1/sandloom/core/contract_cache_shadow.py +953 -0
- sandloom-0.7.0a1/sandloom/core/contract_compat.py +684 -0
- sandloom-0.7.0a1/sandloom/core/contract_context.py +71 -0
- sandloom-0.7.0a1/sandloom/core/contract_testing.py +488 -0
- sandloom-0.7.0a1/sandloom/core/contract_wire.py +847 -0
- sandloom-0.7.0a1/sandloom/core/contracts/__init__.py +43 -0
- sandloom-0.7.0a1/sandloom/core/contracts/payload_validation.py +168 -0
- sandloom-0.7.0a1/sandloom/core/contracts/schema_registry.py +114 -0
- sandloom-0.7.0a1/sandloom/core/contracts/uow.py +56 -0
- sandloom-0.7.0a1/sandloom/core/contracts/validators.py +255 -0
- sandloom-0.7.0a1/sandloom/core/cpu_quota.py +66 -0
- sandloom-0.7.0a1/sandloom/core/descriptors/__init__.py +318 -0
- sandloom-0.7.0a1/sandloom/core/descriptors/contract_refs.py +80 -0
- sandloom-0.7.0a1/sandloom/core/descriptors/module_names.py +164 -0
- sandloom-0.7.0a1/sandloom/core/descriptors/sagas.py +695 -0
- sandloom-0.7.0a1/sandloom/core/di.py +994 -0
- sandloom-0.7.0a1/sandloom/core/drivers/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/drivers/bootstrap.py +221 -0
- sandloom-0.7.0a1/sandloom/core/drivers/celery_taskqueue.py +242 -0
- sandloom-0.7.0a1/sandloom/core/drivers/event_bus_driver.py +241 -0
- sandloom-0.7.0a1/sandloom/core/drivers/filesystem_storage.py +155 -0
- sandloom-0.7.0a1/sandloom/core/drivers/linger_pool.py +358 -0
- sandloom-0.7.0a1/sandloom/core/drivers/local_objectstore.py +221 -0
- sandloom-0.7.0a1/sandloom/core/drivers/log_notifier.py +107 -0
- sandloom-0.7.0a1/sandloom/core/drivers/memory_document_store.py +123 -0
- sandloom-0.7.0a1/sandloom/core/drivers/redis_cache.py +836 -0
- sandloom-0.7.0a1/sandloom/core/drivers/smtp_notifier.py +128 -0
- sandloom-0.7.0a1/sandloom/core/drivers/sqlalchemy_database.py +913 -0
- sandloom-0.7.0a1/sandloom/core/drivers/system_db.py +160 -0
- sandloom-0.7.0a1/sandloom/core/effects.py +286 -0
- sandloom-0.7.0a1/sandloom/core/error_codes.py +1350 -0
- sandloom-0.7.0a1/sandloom/core/eventing/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/eventing/bus_base.py +346 -0
- sandloom-0.7.0a1/sandloom/core/eventing/bus_metrics.py +49 -0
- sandloom-0.7.0a1/sandloom/core/eventing/consumer_inbox.py +107 -0
- sandloom-0.7.0a1/sandloom/core/eventing/core_events.py +116 -0
- sandloom-0.7.0a1/sandloom/core/eventing/delivery.py +79 -0
- sandloom-0.7.0a1/sandloom/core/eventing/envelope.py +132 -0
- sandloom-0.7.0a1/sandloom/core/eventing/event_bus.py +63 -0
- sandloom-0.7.0a1/sandloom/core/eventing/memory_bus.py +250 -0
- sandloom-0.7.0a1/sandloom/core/eventing/memory_transport.py +355 -0
- sandloom-0.7.0a1/sandloom/core/eventing/origin.py +41 -0
- sandloom-0.7.0a1/sandloom/core/eventing/pubsub_bus.py +429 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_bus.py +477 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_consume.py +628 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_dispatch.py +325 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_groups.py +398 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_inventory.py +207 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_lease.py +100 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_transport.py +264 -0
- sandloom-0.7.0a1/sandloom/core/eventing/streams_transport_base.py +185 -0
- sandloom-0.7.0a1/sandloom/core/eventing/subscriptions.py +142 -0
- sandloom-0.7.0a1/sandloom/core/eventing/transport_base.py +355 -0
- sandloom-0.7.0a1/sandloom/core/eventing/transport_capabilities.py +122 -0
- sandloom-0.7.0a1/sandloom/core/exceptions.py +57 -0
- sandloom-0.7.0a1/sandloom/core/facade/__init__.py +313 -0
- sandloom-0.7.0a1/sandloom/core/facade/_claims.py +476 -0
- sandloom-0.7.0a1/sandloom/core/facade/_registries.py +365 -0
- sandloom-0.7.0a1/sandloom/core/facade/_runtime.py +118 -0
- sandloom-0.7.0a1/sandloom/core/facade/_services.py +294 -0
- sandloom-0.7.0a1/sandloom/core/facade/_state.py +173 -0
- sandloom-0.7.0a1/sandloom/core/gc_tuning.py +279 -0
- sandloom-0.7.0a1/sandloom/core/guarantee_lattice.py +218 -0
- sandloom-0.7.0a1/sandloom/core/guarantee_windows.py +256 -0
- sandloom-0.7.0a1/sandloom/core/guard_order.py +293 -0
- sandloom-0.7.0a1/sandloom/core/http/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/http/error_handlers.py +302 -0
- sandloom-0.7.0a1/sandloom/core/http/middlewares.py +597 -0
- sandloom-0.7.0a1/sandloom/core/http/request_authority.py +93 -0
- sandloom-0.7.0a1/sandloom/core/http/route_index.py +252 -0
- sandloom-0.7.0a1/sandloom/core/http/route_runtime.py +592 -0
- sandloom-0.7.0a1/sandloom/core/http/tenant_scope.py +186 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/__init__.py +72 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/automatic.py +166 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/cache_store.py +118 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/capture.py +251 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/durable.py +350 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/fingerprint.py +209 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/guard.py +207 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/replay.py +159 -0
- sandloom-0.7.0a1/sandloom/core/idempotency/reservation.py +277 -0
- sandloom-0.7.0a1/sandloom/core/infra/__init__.py +119 -0
- sandloom-0.7.0a1/sandloom/core/infra/access.py +135 -0
- sandloom-0.7.0a1/sandloom/core/infra/active.py +42 -0
- sandloom-0.7.0a1/sandloom/core/infra/capabilities.py +207 -0
- sandloom-0.7.0a1/sandloom/core/infra/config.py +218 -0
- sandloom-0.7.0a1/sandloom/core/infra/contracts.py +1170 -0
- sandloom-0.7.0a1/sandloom/core/infra/extra_capabilities.py +266 -0
- sandloom-0.7.0a1/sandloom/core/infra/registry.py +831 -0
- sandloom-0.7.0a1/sandloom/core/ingress/__init__.py +6 -0
- sandloom-0.7.0a1/sandloom/core/ingress/client_ip.py +161 -0
- sandloom-0.7.0a1/sandloom/core/ingress/rate_limit.py +213 -0
- sandloom-0.7.0a1/sandloom/core/internal_auth.py +92 -0
- sandloom-0.7.0a1/sandloom/core/lifecycle.py +210 -0
- sandloom-0.7.0a1/sandloom/core/loader/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/loader/manifest.py +445 -0
- sandloom-0.7.0a1/sandloom/core/loader/plugin_loader.py +664 -0
- sandloom-0.7.0a1/sandloom/core/migrations/__init__.py +45 -0
- sandloom-0.7.0a1/sandloom/core/migrations/alembic_support.py +236 -0
- sandloom-0.7.0a1/sandloom/core/migrations/backup.py +592 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/README +1 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/env.py +27 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/script.py.mako +28 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0001_core_infra_core_infrastructure_tables.py +110 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0002_outbox_lease.py +37 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0003_outbox_claim_token.py +37 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0004_outbox_backoff.py +37 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0005_outbox_partial_indexes.py +74 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0006_contract_command_log.py +55 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0007_consumer_inbox_processed_at.py +41 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0008_outbox_trace_id.py +23 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0009_http_idempotency_log.py +56 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0010_saga_state.py +133 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0011_projection_watermarks.py +41 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0012_projection_rebuilds_active.py +47 -0
- sandloom-0.7.0a1/sandloom/core/migrations/core_chain/versions/0013_contract_command_effects.py +38 -0
- sandloom-0.7.0a1/sandloom/core/migrations/migrations.py +930 -0
- sandloom-0.7.0a1/sandloom/core/migrations/urls.py +61 -0
- sandloom-0.7.0a1/sandloom/core/module_api/__init__.py +210 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_bootstrap.py +52 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_call.py +460 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_context.py +125 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_dedupe.py +393 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_define.py +186 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_errors.py +187 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_method.py +224 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_provider.py +396 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_read_guard.py +57 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_read_scope.py +492 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_registration.py +572 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_schema.py +280 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_service_registry.py +134 -0
- sandloom-0.7.0a1/sandloom/core/module_api/_spec.py +97 -0
- sandloom-0.7.0a1/sandloom/core/observability/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/observability/guardrails.py +221 -0
- sandloom-0.7.0a1/sandloom/core/observability/logging.py +192 -0
- sandloom-0.7.0a1/sandloom/core/observability/metrics.py +763 -0
- sandloom-0.7.0a1/sandloom/core/observability/metrics_utils.py +27 -0
- sandloom-0.7.0a1/sandloom/core/observability/observability.py +131 -0
- sandloom-0.7.0a1/sandloom/core/observability/request_context.py +16 -0
- sandloom-0.7.0a1/sandloom/core/observability/tracing.py +137 -0
- sandloom-0.7.0a1/sandloom/core/orm.py +69 -0
- sandloom-0.7.0a1/sandloom/core/planner.py +979 -0
- sandloom-0.7.0a1/sandloom/core/production_profile.py +310 -0
- sandloom-0.7.0a1/sandloom/core/projections/__init__.py +54 -0
- sandloom-0.7.0a1/sandloom/core/projections/consumer.py +61 -0
- sandloom-0.7.0a1/sandloom/core/projections/descriptors.py +162 -0
- sandloom-0.7.0a1/sandloom/core/projections/operations.py +232 -0
- sandloom-0.7.0a1/sandloom/core/projections/purge.py +268 -0
- sandloom-0.7.0a1/sandloom/core/projections/rebuild.py +131 -0
- sandloom-0.7.0a1/sandloom/core/projections/registry.py +129 -0
- sandloom-0.7.0a1/sandloom/core/projections/stores.py +262 -0
- sandloom-0.7.0a1/sandloom/core/projections/tokens.py +304 -0
- sandloom-0.7.0a1/sandloom/core/projections/upsert.py +230 -0
- sandloom-0.7.0a1/sandloom/core/route_markers.py +256 -0
- sandloom-0.7.0a1/sandloom/core/route_policy.py +532 -0
- sandloom-0.7.0a1/sandloom/core/route_snapshots.py +426 -0
- sandloom-0.7.0a1/sandloom/core/rpc/__init__.py +217 -0
- sandloom-0.7.0a1/sandloom/core/rpc/binding.py +237 -0
- sandloom-0.7.0a1/sandloom/core/rpc/client.py +154 -0
- sandloom-0.7.0a1/sandloom/core/rpc/context.py +210 -0
- sandloom-0.7.0a1/sandloom/core/rpc/dispatch.py +246 -0
- sandloom-0.7.0a1/sandloom/core/rpc/envelope.py +208 -0
- sandloom-0.7.0a1/sandloom/core/rpc/errors.py +67 -0
- sandloom-0.7.0a1/sandloom/core/rpc/inbound_auth.py +358 -0
- sandloom-0.7.0a1/sandloom/core/rpc/outbound.py +120 -0
- sandloom-0.7.0a1/sandloom/core/rpc/proxy.py +757 -0
- sandloom-0.7.0a1/sandloom/core/rpc/readiness.py +345 -0
- sandloom-0.7.0a1/sandloom/core/rpc/server.py +393 -0
- sandloom-0.7.0a1/sandloom/core/rpc/wire.py +88 -0
- sandloom-0.7.0a1/sandloom/core/rpc_binding.py +465 -0
- sandloom-0.7.0a1/sandloom/core/rpc_identity.py +368 -0
- sandloom-0.7.0a1/sandloom/core/rpc_pair_mac.py +831 -0
- sandloom-0.7.0a1/sandloom/core/rpc_transport.py +687 -0
- sandloom-0.7.0a1/sandloom/core/rpc_transport_compat.py +416 -0
- sandloom-0.7.0a1/sandloom/core/runtime.py +98 -0
- sandloom-0.7.0a1/sandloom/core/sagas/__init__.py +196 -0
- sandloom-0.7.0a1/sandloom/core/sagas/channel.py +156 -0
- sandloom-0.7.0a1/sandloom/core/sagas/ops.py +528 -0
- sandloom-0.7.0a1/sandloom/core/sagas/outcomes.py +231 -0
- sandloom-0.7.0a1/sandloom/core/sagas/registry.py +315 -0
- sandloom-0.7.0a1/sandloom/core/sagas/runtime.py +992 -0
- sandloom-0.7.0a1/sandloom/core/sagas/sweep.py +233 -0
- sandloom-0.7.0a1/sandloom/core/schema/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/core/schema/registry.py +220 -0
- sandloom-0.7.0a1/sandloom/core/signing_keys.py +248 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/__init__.py +1 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/base.py +17 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/columns.py +134 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/command_log.py +193 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/dead_connection.py +343 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/dedupe_log.py +380 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/driver_compat.py +470 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/durable_inbox.py +131 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/effect_rows.py +448 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/__init__.py +37 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/audit.py +50 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/consumer_inbox.py +59 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/contract_command.py +53 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/http_idempotency.py +56 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/outbox.py +130 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/projection_watermark.py +31 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/models/saga.py +136 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/money_ledger.py +94 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/__init__.py +509 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/audit.py +144 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/relay.py +549 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/outbox_store/statements.py +125 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/__init__.py +362 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/compiler.py +673 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/forms.py +529 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_adapter/units.py +460 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/planner_safety.py +213 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/projection_watermarks.py +207 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/read_guard.py +116 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/read_only_policy.py +88 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/reconnect.py +97 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/repositories/__init__.py +1 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/repositories/outbox.py +28 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/request_log.py +184 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/rls.py +210 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/saga_store.py +434 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/tenant_rls.py +696 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/uow.py +93 -0
- sandloom-0.7.0a1/sandloom/core/sql_alchemy/write_admission.py +462 -0
- sandloom-0.7.0a1/sandloom/core/tasks/__init__.py +1 -0
- sandloom-0.7.0a1/sandloom/core/tasks/enqueue.py +127 -0
- sandloom-0.7.0a1/sandloom/core/tasks/event_ops.py +155 -0
- sandloom-0.7.0a1/sandloom/core/tasks/periodic.py +39 -0
- sandloom-0.7.0a1/sandloom/core/tasks/pool_metrics.py +87 -0
- sandloom-0.7.0a1/sandloom/core/tasks/relay.py +826 -0
- sandloom-0.7.0a1/sandloom/core/tenant.py +643 -0
- sandloom-0.7.0a1/sandloom/core/tenant_context.py +100 -0
- sandloom-0.7.0a1/sandloom/core/testing/__init__.py +236 -0
- sandloom-0.7.0a1/sandloom/core/testing/_uow.py +450 -0
- sandloom-0.7.0a1/sandloom/core/testing/auth.py +87 -0
- sandloom-0.7.0a1/sandloom/core/testing/authz.py +183 -0
- sandloom-0.7.0a1/sandloom/core/testing/boot.py +209 -0
- sandloom-0.7.0a1/sandloom/core/testing/connections.py +195 -0
- sandloom-0.7.0a1/sandloom/core/testing/database.py +367 -0
- sandloom-0.7.0a1/sandloom/core/testing/deploy_profile.py +1088 -0
- sandloom-0.7.0a1/sandloom/core/testing/env.py +83 -0
- sandloom-0.7.0a1/sandloom/core/testing/events.py +143 -0
- sandloom-0.7.0a1/sandloom/core/testing/fixtures.py +558 -0
- sandloom-0.7.0a1/sandloom/core/testing/infra.py +52 -0
- sandloom-0.7.0a1/sandloom/core/testing/isolation.py +236 -0
- sandloom-0.7.0a1/sandloom/core/testing/migrations.py +312 -0
- sandloom-0.7.0a1/sandloom/core/testing/observed.py +91 -0
- sandloom-0.7.0a1/sandloom/core/testing/ownership.py +314 -0
- sandloom-0.7.0a1/sandloom/core/testing/plugin.py +104 -0
- sandloom-0.7.0a1/sandloom/core/testing/registration.py +135 -0
- sandloom-0.7.0a1/sandloom/core/testing/resources.py +535 -0
- sandloom-0.7.0a1/sandloom/core/testing/routes.py +86 -0
- sandloom-0.7.0a1/sandloom/core/testing/sagas.py +755 -0
- sandloom-0.7.0a1/sandloom/core/testing/security.py +129 -0
- sandloom-0.7.0a1/sandloom/core/testing/served.py +262 -0
- sandloom-0.7.0a1/sandloom/core/testing/server_errors.py +77 -0
- sandloom-0.7.0a1/sandloom/core/testing/services.py +57 -0
- sandloom-0.7.0a1/sandloom/core/testing/session_checks.py +175 -0
- sandloom-0.7.0a1/sandloom/core/testing/shuffle.py +112 -0
- sandloom-0.7.0a1/sandloom/core/testing/static_checks.py +318 -0
- sandloom-0.7.0a1/sandloom/core/testing/workers.py +364 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/__init__.py +488 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/dispatch.py +626 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/effects.py +266 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/hooks.py +314 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/intent.py +398 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/request.py +574 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/risk.py +838 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/savepoints.py +68 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/scope.py +325 -0
- sandloom-0.7.0a1/sandloom/core/unit_of_work/versioning.py +82 -0
- sandloom-0.7.0a1/sandloom/core/utils.py +11 -0
- sandloom-0.7.0a1/sandloom/core/worker.py +420 -0
- sandloom-0.7.0a1/sandloom/main.py +48 -0
- sandloom-0.7.0a1/sandloom/py.typed +0 -0
- sandloom-0.7.0a1/sandloom/sdk/__init__.py +74 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/__init__.py +13 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/_caller.py +152 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/_event_wire.py +1065 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/_owner.py +103 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/_recording.py +36 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/contracts.py +520 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/errors.py +79 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/events.py +594 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/module.py +592 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/projections.py +1051 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/sagas.py +110 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/testing.py +89 -0
- sandloom-0.7.0a1/sandloom/sdk/_decl/web.py +276 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/__init__.py +12 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/app.py +59 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/authz.py +12 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/contracts.py +96 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/data.py +47 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/docs.py +253 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/docs_wire.py +322 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/effects.py +13 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/events.py +24 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/infra.py +13 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/module.py +23 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/projections.py +61 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/recipes.py +987 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/sagas.py +14 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/tasks.py +111 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/tenant.py +26 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/testing.py +142 -0
- sandloom-0.7.0a1/sandloom/sdk/_prim/web.py +113 -0
- sandloom-0.7.0a1/sandloom/sdk/_stub.py +14 -0
- sandloom-0.7.0a1/sandloom/sdk/app.py +26 -0
- sandloom-0.7.0a1/sandloom/sdk/authz.py +151 -0
- sandloom-0.7.0a1/sandloom/sdk/contracts.py +94 -0
- sandloom-0.7.0a1/sandloom/sdk/data.py +88 -0
- sandloom-0.7.0a1/sandloom/sdk/effects.py +41 -0
- sandloom-0.7.0a1/sandloom/sdk/errors.py +93 -0
- sandloom-0.7.0a1/sandloom/sdk/events.py +39 -0
- sandloom-0.7.0a1/sandloom/sdk/infra.py +61 -0
- sandloom-0.7.0a1/sandloom/sdk/migrations.py +24 -0
- sandloom-0.7.0a1/sandloom/sdk/module.py +49 -0
- sandloom-0.7.0a1/sandloom/sdk/projections.py +82 -0
- sandloom-0.7.0a1/sandloom/sdk/sagas.py +54 -0
- sandloom-0.7.0a1/sandloom/sdk/security.py +74 -0
- sandloom-0.7.0a1/sandloom/sdk/tasks.py +24 -0
- sandloom-0.7.0a1/sandloom/sdk/tenant.py +37 -0
- sandloom-0.7.0a1/sandloom/sdk/testing/__init__.py +205 -0
- sandloom-0.7.0a1/sandloom/sdk/testing/fixtures.py +114 -0
- sandloom-0.7.0a1/sandloom/sdk/testing/plugin.py +99 -0
- sandloom-0.7.0a1/sandloom/sdk/tooling.py +24 -0
- sandloom-0.7.0a1/sandloom/sdk/web.py +96 -0
- sandloom-0.7.0a1/sandloom/shared/README.md +58 -0
- sandloom-0.7.0a1/sandloom/shared/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/shared/authz/__init__.py +155 -0
- sandloom-0.7.0a1/sandloom/shared/authz/_resolve.py +173 -0
- sandloom-0.7.0a1/sandloom/shared/authz/account.py +263 -0
- sandloom-0.7.0a1/sandloom/shared/authz/algebra.py +282 -0
- sandloom-0.7.0a1/sandloom/shared/authz/atoms_claims.py +363 -0
- sandloom-0.7.0a1/sandloom/shared/authz/atoms_fact.py +125 -0
- sandloom-0.7.0a1/sandloom/shared/authz/atoms_live.py +231 -0
- sandloom-0.7.0a1/sandloom/shared/authz/atoms_resource.py +43 -0
- sandloom-0.7.0a1/sandloom/shared/authz/constants.py +31 -0
- sandloom-0.7.0a1/sandloom/shared/authz/context.py +89 -0
- sandloom-0.7.0a1/sandloom/shared/authz/deps.py +287 -0
- sandloom-0.7.0a1/sandloom/shared/authz/enforce.py +134 -0
- sandloom-0.7.0a1/sandloom/shared/authz/facts.py +600 -0
- sandloom-0.7.0a1/sandloom/shared/authz/facts_contract.py +108 -0
- sandloom-0.7.0a1/sandloom/shared/authz/live_contracts.py +175 -0
- sandloom-0.7.0a1/sandloom/shared/authz/metrics.py +35 -0
- sandloom-0.7.0a1/sandloom/shared/authz/projection.py +83 -0
- sandloom-0.7.0a1/sandloom/shared/authz/results.py +205 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/__init__.py +1 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/billing_credits_v1.py +56 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/billing_entitlements_v1.py +54 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/identity_contact_v1.py +38 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/identity_dto.py +32 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/identity_security_v1.py +34 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/tenancy_dto.py +41 -0
- sandloom-0.7.0a1/sandloom/shared/contracts/tenancy_membership_v1.py +69 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.credits.added.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.credits.restored.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.credits.reversed.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.credits.spent.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.canceled.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.created.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/billing.subscription.updated.v1.json +51 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.sso_linked.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.sso_unlinked.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_backup_codes_regenerated.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_disabled.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.twofa_enabled.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_deleted.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_email_confirmed.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_logged_in.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_logged_out.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_password_reset.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_registered.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_role_assigned.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_role_revoked.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_sessions_revoked.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/identity.user_updated.v1.json +86 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_accepted.v1.json +48 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_created.v1.json +48 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.invitation_revoked.v1.json +48 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_added.v1.json +62 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_added.v2.json +66 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_removed.v1.json +62 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_removed.v2.json +66 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_role_changed.v1.json +62 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.member_role_changed.v2.json +66 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_created.v1.json +29 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_deleted.v1.json +29 -0
- sandloom-0.7.0a1/sandloom/shared/events/tenancy.organization_updated.v1.json +29 -0
- sandloom-0.7.0a1/sandloom/shared/guards/__init__.py +0 -0
- sandloom-0.7.0a1/sandloom/shared/guards/auth.py +26 -0
- sandloom-0.7.0a1/sandloom/shared/guards/platform.py +19 -0
- sandloom-0.7.0a1/sandloom/shared/guards/service.py +27 -0
- sandloom-0.7.0a1/sandloom/shared/membership.py +72 -0
- sandloom-0.7.0a1/sandloom/shared/subject.py +122 -0
|
@@ -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.
|
sandloom-0.7.0a1/LICENSE
ADDED
|
@@ -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.
|
sandloom-0.7.0a1/NOTICE
ADDED
|
@@ -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"]
|