Skip to main content

Python source-mode loader for MDA v1.0 configuration artifacts

Project description

snoai-mda-config

Python source-mode loader for MDA v1.0 configuration artifacts.

This package mirrors the TypeScript @snoai/mda-config loader. The v1.0 surface covers frontmatter extraction, MDA source-schema validation, integrity verification, and consumer pydantic validation.

from pathlib import Path
from pydantic import BaseModel
from snoai_mda_config import load_mda_source


class Preset(BaseModel, extra="forbid"):
    name: str
    description: str
    metadata: dict | None = None
    integrity: dict | None = None
    signatures: list[dict] | None = None


config = load_mda_source(
    Path("preset.mda"),
    schema=Preset,
    verify_integrity=True,
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snoai_mda_config-1.0.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snoai_mda_config-1.0.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file snoai_mda_config-1.0.0.tar.gz.

File metadata

  • Download URL: snoai_mda_config-1.0.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for snoai_mda_config-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c0f698aa1010edda89887c9b4b1272cf64ef32db736d8e593c42af71d0b5539
MD5 617b38cbcc19735470f0675a4cd0ce11
BLAKE2b-256 552eb6b5ddea375ae15f2292172af05283b5c724ad8190c3eb46050cc5961f5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for snoai_mda_config-1.0.0.tar.gz:

Publisher: publish-pypi.yml on sno-ai/mda-config

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snoai_mda_config-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for snoai_mda_config-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8449e7eddd15b0575d6313a93fcb16bbbb0f3b1d472473fcacb1747d46899fd5
MD5 c16d92fcefe85ce4a7ef5851268fc769
BLAKE2b-256 58e242e08d0b78fb01ea696e728431a1ad14336af7957fecd60ad608308fef55

See more details on using hashes here.

Provenance

The following attestation bundles were made for snoai_mda_config-1.0.0-py3-none-any.whl:

Publisher: publish-pypi.yml on sno-ai/mda-config

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page