Meridian Storage Semantics
meridian-storage-semantics is the independently released Meridian V1 logical
schema, resource, data, and query-facing metadata package. It provides portable
contracts for Records, Relations, Objects, cache entries, dynamic Schema
publication, compatibility classification, multilingual ICU metadata, and Core
mapping-first Catalog surfaces.
The distribution contains one Python package, meridian_storage.semantics, and
depends on the released meridian-storage-core==1.0.0 contract. The shared
meridian_storage import root is packaging infrastructure; this repository does
not contain Core source or any other Meridian package.
Install
python -m pip install meridian-storage-semantics==1.0.0
Python 3.12 or newer is required.
Define and publish a Schema
from meridian_storage.semantics import InMemoryMetadataRepository, SchemaAPI
schemas = SchemaAPI(InMemoryMetadataRepository())
published = schemas.publish(
namespace="investigation",
name="case",
version="1.0.0",
definition={
"semanticKind": "relational",
"fields": [
{"name": "case_id", "logicalType": "uuid"},
{"name": "title", "logicalType": "string"},
],
"identity": ["case_id"],
},
)
assert published.publication.document.format_version == "meridian.schema.v1"
Schema versions are immutable. Publishing an identical version and fingerprint is idempotent; a different document under the same version is rejected. New versions are ordered by SemVer and classified before activation.
Build mapping-first Expressions
from meridian_storage.semantics import StructuredCatalogProvider
provider = StructuredCatalogProvider()
expression = provider.create_surface().query(
resource="investigation.cases",
where={"status": {"eq": "open"}},
select=("case_id", "title"),
limit=50,
)
operation = provider.normalize(expression)
Consumers create serializable Core Expression values. Planning normalizes them
to portable Operation values. Engine selection, credentials, provisioning,
physical DDL, ACLs, migration execution, and lifecycle remain Adapter/Platform
responsibilities and are not accepted by these APIs.
Catalog registry
The V1 registry is exactly:
structured— owned here; relational, document, key-value, search, geospatial, time-series, and relation profiles.object— owned bymeridian-storage-object-common; object, artifact, and media profiles. This package supplies their logical metadata values.cache— owned here; explicit, non-authoritative cache semantics.evidence— owned bymeridian-storage-evidence; telemetry, audit, lineage, and provenance profiles.streaming— accepted-pending and owned by the downstream streaming package.
Query, projection, ontology, search, geospatial, time-series, relation,
artifact, media, telemetry, audit, lineage, and provenance are not Catalogs.
NativeQuery is post-V1. No Kafka or streaming-provider behavior is embedded.
Contracts and verification
Language-neutral JSON contracts live in contracts, including the
canonical meridian.schema.v1 schema, wire documents, public API ledger, exact
Catalog registry, and valid/invalid conformance fixtures. Compatibility with
Core and the design revisions is pinned in compatibility.json.
Run all local gates after installing test dependencies:
python -m pip install '.[test]'
ruff format --check src tests scripts
ruff check src tests scripts
mypy src
python scripts/verify_contracts.py
pytest --cov=meridian_storage.semantics --cov-report=term-missing
Release builds are created twice with a fixed SOURCE_DATE_EPOCH, compared
byte-for-byte, inspected for repository/package boundaries and license metadata,
and accompanied by SPDX SBOM and GitHub build-provenance attestations.
Further detail is in docs/contracts.md and
docs/architecture.md.
License
Copyright 2026 Meridian contributors. Licensed under Apache License 2.0; see
LICENSE and NOTICE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meridian_storage_semantics-1.0.0.tar.gz.
File metadata
- Download URL: meridian_storage_semantics-1.0.0.tar.gz
- Upload date:
- Size: 79.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02605909db5dc7ff22d4ae5e3ae1b3fe6c25a68e9ecaa4c3ead36082848d0311
|
|
| MD5 |
ff5fe62c46399eee6a4d228977e1cb86
|
|
| BLAKE2b-256 |
fc9595741d116106f4880be422113e00d961c0b7e69ac709ec64ec67101fc181
|
Provenance
The following attestation bundles were made for meridian_storage_semantics-1.0.0.tar.gz:
Publisher:
release.yml on zephytiju/meridian-storage-semantics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meridian_storage_semantics-1.0.0.tar.gz -
Subject digest:
02605909db5dc7ff22d4ae5e3ae1b3fe6c25a68e9ecaa4c3ead36082848d0311 - Sigstore transparency entry: 2589921157
- Sigstore integration time:
-
Permalink:
zephytiju/meridian-storage-semantics@62cc5caba415594f99cb8b25146e6854d5aec5bf -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/zephytiju
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62cc5caba415594f99cb8b25146e6854d5aec5bf -
Trigger Event:
push
-
Statement type:
File details
Details for the file meridian_storage_semantics-1.0.0-py3-none-any.whl.
File metadata
- Download URL: meridian_storage_semantics-1.0.0-py3-none-any.whl
- Upload date:
- Size: 65.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76fced0bc083f145fad1949b85147a3563f3584f99994471693915a8ba1851ec
|
|
| MD5 |
d30b4ce9cebd2ef151961cc065b267f5
|
|
| BLAKE2b-256 |
1e0a26dce0a4393c2d1aa81361acfd94cf983893e13d52cae958b399fa3a38dc
|
Provenance
The following attestation bundles were made for meridian_storage_semantics-1.0.0-py3-none-any.whl:
Publisher:
release.yml on zephytiju/meridian-storage-semantics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meridian_storage_semantics-1.0.0-py3-none-any.whl -
Subject digest:
76fced0bc083f145fad1949b85147a3563f3584f99994471693915a8ba1851ec - Sigstore transparency entry: 2589921286
- Sigstore integration time:
-
Permalink:
zephytiju/meridian-storage-semantics@62cc5caba415594f99cb8b25146e6854d5aec5bf -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/zephytiju
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62cc5caba415594f99cb8b25146e6854d5aec5bf -
Trigger Event:
push
-
Statement type: