Skip to content

mempalace.sources

Source: mempalace/sources/__init__.py

Source adapter subsystem (RFC 002).

Public surface:

  • :class:BaseSourceAdapter — per-source read-side contract.
  • Typed records: :class:SourceRef, :class:SourceItemMetadata, :class:DrawerRecord, :class:RouteHint, :class:SourceSummary, :class:AdapterSchema, :class:FieldSpec.
  • Error classes: :class:SourceNotFoundError, :class:AuthRequiredError, :class:AdapterClosedError, :class:TransformationViolationError, :class:SchemaConformanceError.
  • Registry: :func:register, :func:get_adapter, :func:available_adapters, :func:resolve_adapter_for_source.
  • :class:PalaceContext — facade core passes to adapters during ingest.
  • :mod:transforms — reference implementations of the reserved §1.4 transformations + :func:get_transformation resolver.

Released under the MIT License.