linkml-map
LinkML Map is a framework for specifying and executing declarative mappings between data models. At its core is the TransformationSpecification — a YAML-based language for describing how to map one data model to another, independent of serialization format or execution engine.
Features:
- YAML-based lightweight transformation syntax
- Python library for executing mappings on data files
- Tabular data support (TSV/CSV) with streaming for large datasets
- Experimental SQL compilation backend (DuckDB) for set-based transforms
- Derivation of target (implicit) schemas, allowing easy customization of data models (profiling)
- Simple YAML dictionaries for simple mappings
- Automatic unit conversion
- Use of subset of Python to specify complex mappings
- Visualizations of mappings
- Mappings are reversible (provided all expressions used are reversible)
- Multiple output formats (YAML, JSON, JSONL, TSV, CSV)
For full documentation see linkml.io/linkml-map/.
Status:
The transformation data model is not yet fully stable, and may be subject to change. Not all parts of the model are implemented in the reference Python framework.
Quickstart
Install:
pip install linkml-map
# or, in a uv-managed project: uv add linkml-map
When using uv, prefix CLI invocations with uv run (e.g. uv run linkml-map --help).
Run the included example (the example files live in this repo):
git clone https://github.com/linkml/linkml-map.git
cd linkml-map/tests/input/examples/personinfo_basic
linkml-map map-data --unrestricted-eval \
-T transform/personinfo-to-agent.transform.yaml \
-s source/personinfo.yaml \
data/Container-001.yaml
See the Quick Start guide for the expected output and next steps.
More
Release files for linkml-map 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linkml_map-0.5.4.tar.gz | 653.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linkml_map-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 803.5 kB
Release files / linkml_map-0.5.4.tar.gz
| Download URL | linkml_map-0.5.4.tar.gz |
|---|---|
| Size | 653.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08b5c7f8011036ad9acbb271baf5c3a23964bc15132ad33184b0eb5aa82d9277
|
|
BLAKE2b-256 checksum How to use checksums |
487bcca78afe9a3fa1ee2ddd1edf3f26f9021f99eb6778769adfff5a1dd32cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / linkml_map-0.5.4-py3-none-any.whl
| Download URL | linkml_map-0.5.4-py3-none-any.whl |
|---|---|
| Size | 149.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
316429deb753568937eb73a173723a3edfb8ce744a61f0ca05a2d91752c05d8b
|
|
BLAKE2b-256 checksum How to use checksums |
2c43c65215a4aa4f2670c4887df471fde96a59d406f363224ed7fa0264712a1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log