Skip to content

dazzle_back

Auto-generated reference documentation for the dazzle_back module.

Metric Value
Total Files 204
Submodules 18

alembic/

1 files

File Description
env.py env

channels/

6 files

File Description
detection.py detection
manager.py manager
outbox.py outbox
resolver.py resolver
ses_webhooks.py ses_webhooks
templates.py templates

channels/adapters/

4 files

File Description
base.py base
email.py email
queue.py queue
stream.py stream

channels/providers/

3 files

File Description
email.py email
queue.py queue
stream.py stream

converters/

2 files

File Description
entity_converter.py entity_converter
surface_converter.py surface_converter

data_products/

4 files

File Description
cross_tenant.py cross_tenant
curated_topics.py curated_topics
test_generator.py test_generator
transformer.py transformer

demo_data/

3 files

File Description
generator.py generator
loader.py loader
seeder.py seeder

email/

4 files

File Description
blob_store.py blob_store
inbound.py inbound
normalizer.py normalizer
outbound.py outbound

events/

18 files

File Description
api.py api
base_event_bus.py base_event_bus
bus.py bus
consumer.py consumer
dev_memory.py dev_memory
envelope.py envelope
framework.py framework
inbox.py inbox
kafka_bus.py kafka_bus
multi_tenancy.py multi_tenancy
null.py null
outbox.py outbox
postgres_bus.py postgres_bus
publisher.py publisher
redis_bus.py redis_bus
service_mixin.py service_mixin
tier.py tier
topology_drift.py topology_drift

graphql/

4 files

File Description
context.py context
integration.py integration
resolver_generator.py resolver_generator
schema_generator.py schema_generator

graphql/adapters/

2 files

File Description
base.py base
errors.py errors

metrics/

6 files

File Description
backlog.py backlog
collector.py collector
latency.py latency
reporter.py reporter
system_collector.py system_collector
throughput.py throughput

pra/

11 files

File Description
cli.py cli
consumers.py consumers
data_factory.py data_factory
generator.py generator
harness.py harness
profiles.py profiles
scenarios.py scenarios
tigerbeetle_client.py tigerbeetle_client
tigerbeetle_generator.py tigerbeetle_generator
tigerbeetle_harness.py tigerbeetle_harness
tigerbeetle_scenarios.py tigerbeetle_scenarios

runtime/

108 files

File Description
_comparison.py _comparison
_fastapi_compat.py _fastapi_compat
access_control.py access_control
access_evaluator.py access_evaluator
admin_api_routes.py admin_api_routes
analytics_collector.py analytics_collector
api_cache.py Async Redis cache for external API responses.
api_middleware.py api_middleware
api_tracker.py api_tracker
app_factory.py App factory functions extracted from server.py.
asset_manifest.py src/dazzle_back/runtime/asset_manifest.py
audit_log.py audit_log
audit_routes.py audit_routes
auth_detection.py auth_detection
aws_config.py aws_config
breadcrumbs.py breadcrumbs
computed_evaluator.py computed_evaluator
condition_evaluator.py condition_evaluator
control_plane.py control_plane
csrf.py csrf
debug_routes.py debug_routes
deploy_history.py deploy_history
device_registry.py device_registry
email_templates.py email_templates
event_bus.py event_bus
event_explorer.py event_explorer
exception_handlers.py exception_handlers
file_routes.py file_routes
file_storage.py file_storage
fragment_routes.py Fragment routes for composable HTMX fragments.
fts_manager.py fts_manager
fts_postgres.py fts_postgres
grant_routes.py grant_routes
grant_store.py grant_store
graph_algorithms.py Graph algorithm functions (#619 Phase 4). Pure functions on
graph_materializer.py Graph materializer — DB records → NetworkX graph (#619 Phase
graph_serializer.py Graph-shaped API response serializer (#619 Phase 2).
health_aggregator.py health_aggregator
hook_registry.py Service hook registry for project-level lifecycle extensions
htmx_response.py htmx_response
http_utils.py Shared HTTP utilities for dazzle_back runtime.
image_processor.py image_processor
integration_executor.py Integration action executor (v0.20.0).
integration_manager.py Integration manager — channel and integration executor setup
invariant_evaluator.py invariant_evaluator
island_routes.py island_routes
jwt_auth.py jwt_auth
jwt_middleware.py jwt_middleware
llm_executor.py LLM intent executor.
llm_queue.py llm_queue
llm_routes.py REST routes for LLM intent execution.
llm_trigger.py llm_trigger
logging.py logging
mapping_executor.py Integration mapping executor (v0.30.0).
migrations.py migrations
model_generator.py model_generator
neighborhood.py Neighborhood query builder — recursive CTE SQL generation (#
ops_database.py ops_database
ops_integration.py ops_integration
otp_store.py otp_store
param_store.py Runtime parameter store: validation, resolution with scope c
pg_backend.py pg_backend
predicate_compiler.py Predicate compiler — translates ScopePredicate trees into pa
presence_tracker.py presence_tracker
process_celery_tasks.py Celery tasks for process execution.
process_executor.py process_executor
process_manager.py process_manager
push_notifications.py push_notifications
query_builder.py query_builder
rate_limit.py rate_limit
realtime_routes.py realtime_routes
recovery_codes.py recovery_codes
relation_loader.py relation_loader
repository.py repository
response_helpers.py response_helpers
richtext_processor.py richtext_processor
rollback_manager.py rollback_manager
route_generator.py route_generator
route_overrides.py Route override discovery for project-level custom handlers (
route_validator.py route_validator
sa_schema.py sa_schema
safe_casts.py Safe cast registry for Alembic type change migrations.
sanitizer.py sanitizer
security_middleware.py security_middleware
seed_runner.py seed_runner
server.py server
service_generator.py service_generator
service_loader.py service_loader
services.py Runtime service container — replaces module-level singletons
side_effect_executor.py side_effect_executor
site_routes.py site_routes
sla_manager.py sla_manager
social_auth.py social_auth
spec_versioning.py spec_versioning
sse_stream.py sse_stream
state_machine.py state_machine
static_files.py Combined static file serving from multiple directories.
surface_access.py surface_access
system_entity_store.py system_entity_store
task_routes.py task_routes
tenant_isolation.py Tenant schema context — per-request schema routing via conte
tenant_middleware.py Tenant middleware — resolves tenant from request, routes to
test_routes.py test_routes
totp.py totp
transition_effects.py Transition side-effect runner for entity state machines.
websocket_manager.py websocket_manager
workspace_rendering.py Workspace rendering helpers extracted from server.py.
workspace_route_builder.py Workspace route builder — workspace region and entity redire

runtime/auth/

10 files

File Description
crypto.py Password hashing, verification, and cookie security helpers.
dependencies.py FastAPI dependencies for protected routes.
events.py Auth lifecycle event emission.
magic_link.py Magic link tokens for one-time authentication.
middleware.py Authentication middleware for FastAPI.
models.py Pydantic models for authentication.
routes.py Session-based authentication routes (login, logout, register
routes_2fa.py Two-factor authentication routes.
routes_jwt.py JWT token authentication routes (for mobile clients).
store.py Authentication store (PostgreSQL) — user CRUD, sessions, and

runtime/metrics/

2 files

File Description
emitter.py emitter
middleware.py middleware

runtime/subsystems/

10 files

File Description
auth.py Auth routes subsystem.
channels.py Channels subsystem.
events.py Event framework subsystem.
graphql.py GraphQL subsystem (placeholder).
llm_queue.py LLM intent executor subsystem.
process.py Process engine subsystem.
seed.py Seed runner subsystem.
sla.py SLA manager subsystem.
system_routes.py System routes subsystem.
websocket.py WebSocket / real-time subsystem (placeholder).

specs/

6 files

File Description
auth.py auth
backend_spec.py backend_spec
channel.py channel
endpoint.py endpoint
entity.py entity
service.py service