nmdc-lakehouse-schema
The NMDC flattened-schema product. It owns the definition of the flat, tabular shape the NMDC lakehouse writes to Parquet, independent of the data-generation, publication, and validation code that consumes it:
transforms.schema_generator— generates the flat LinkML target schema from a source schema (e.g.nmdc-schema).transforms.flatteners— the schema-driven flattener that turns nested LinkML records into flat rows, mirroring the generator's decision tree one-to-one.transforms.schema_diff— diffs two generated flat schemas so "what changed and why" is answerable.
Downstream ETL (the nmdc-lakehouse repo) depends on this package rather than defining the engine itself.
Documentation Website
https://microbiomedata.github.io/nmdc-lakehouse-schema
Repository Structure
- docs/ - mkdocs-managed documentation
- elements/ - generated schema documentation
- examples/ - Examples of using the schema
- project/ - project files (these files are auto-generated, do not edit)
- src/ - source files (edit these)
- nmdc_lakehouse_schema
- schema/ -- LinkML schema (edit this)
- datamodel/ -- generated Python datamodel
- nmdc_lakehouse_schema
- tests/ - Python tests
- data/ - Example data
Developer Tools
There are several pre-defined command-recipes available.
They are written for the command runner just.
To list all pre-defined commands, run just or just --list.
Credits
This project uses the template linkml-project-copier.
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 nmdc_lakehouse_schema-0.2.0.tar.gz.
File metadata
- Download URL: nmdc_lakehouse_schema-0.2.0.tar.gz
- Upload date:
- Size: 314.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e85e884448fdc6a0f7c0f0996df3fec062de329b668ce0f0398111f24d86a6bf
|
|
| MD5 |
fb0397821d917de685ede45fa5711119
|
|
| BLAKE2b-256 |
15d191968534ce233ae51ac7b9146af232afe4dabe0aa6da7abb4b2d8cf16c6c
|
Provenance
The following attestation bundles were made for nmdc_lakehouse_schema-0.2.0.tar.gz:
Publisher:
pypi-publish.yaml on microbiomedata/nmdc-lakehouse-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nmdc_lakehouse_schema-0.2.0.tar.gz -
Subject digest:
e85e884448fdc6a0f7c0f0996df3fec062de329b668ce0f0398111f24d86a6bf - Sigstore transparency entry: 2770723298
- Sigstore integration time:
-
Permalink:
microbiomedata/nmdc-lakehouse-schema@4d5ead964c5aec2778b2c7f64e0afcd734129cc2 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/microbiomedata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@4d5ead964c5aec2778b2c7f64e0afcd734129cc2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nmdc_lakehouse_schema-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nmdc_lakehouse_schema-0.2.0-py3-none-any.whl
- Upload date:
- Size: 75.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
120260d65997d9765eade282414872a59cef1cc487bfae352aa294c234c04d39
|
|
| MD5 |
c7eb1c7a9c67f8771ff377e73e0ad566
|
|
| BLAKE2b-256 |
f54c48dbe00aa1e5073c1f69f0f358b1c76995f429059c11b44a23291d50a692
|
Provenance
The following attestation bundles were made for nmdc_lakehouse_schema-0.2.0-py3-none-any.whl:
Publisher:
pypi-publish.yaml on microbiomedata/nmdc-lakehouse-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nmdc_lakehouse_schema-0.2.0-py3-none-any.whl -
Subject digest:
120260d65997d9765eade282414872a59cef1cc487bfae352aa294c234c04d39 - Sigstore transparency entry: 2770723377
- Sigstore integration time:
-
Permalink:
microbiomedata/nmdc-lakehouse-schema@4d5ead964c5aec2778b2c7f64e0afcd734129cc2 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/microbiomedata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@4d5ead964c5aec2778b2c7f64e0afcd734129cc2 -
Trigger Event:
release
-
Statement type: