Python SDK for shellbound Django applications. Provides ShellApp, ShardContext, ShellboundMiddleware. Emits Chronicle events to stdout in dev mode. Includes fix for IndexError in apps.py when DJANGO_SETTINGS_MODULE has no dots (e.g. instance_settings). Shard name now falls back safely without eager default argument parsing. Implements SHELLBOUND-APP-0001 §4 (dev mode). Wired into entropyopposition as of 2026-03-18.
15 lines
371 B
Python
15 lines
371 B
Python
from .app import ShellApp
|
|
from .chronicle import LAYER_APPLICATION, LAYER_GOVERNANCE, LAYER_IDENTITY, LAYER_TCB, ShardEmitter, emit_event
|
|
from .context import ShardContext
|
|
|
|
__version__ = "0.1.0"
|
|
__all__ = [
|
|
"ShellApp",
|
|
"ShardContext",
|
|
"ShardEmitter",
|
|
"emit_event",
|
|
"LAYER_TCB",
|
|
"LAYER_IDENTITY",
|
|
"LAYER_GOVERNANCE",
|
|
"LAYER_APPLICATION",
|
|
]
|