This repository has been archived on 2026-04-16. You can view files and clone it, but cannot push or open issues or pull requests.
substrate-sdk-python/substrate_sdk/__init__.py
Tyler King 89a054d656 initial: substrate-sdk-python v0.1.0
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.
2026-03-18 13:53:58 -04:00

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",
]