Skip to main content

linkml-map

Pyversions PyPi codecov

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

Metadata

Release files for linkml-map 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linkml-map 0.6.1
File Size Uploaded Provenance Actions
linkml_map-0.6.1.tar.gz 722.2 kB With provenance Details for linkml_map-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for linkml-map 0.6.1
File Interpreter ABI Platform Actions
linkml_map-0.6.1-py3-none-any.whl Python 3 none any Details for linkml_map-0.6.1-py3-none-any.whl

Total release size: 890.1 kB

Release files / linkml_map-0.6.1.tar.gz

Download URL linkml_map-0.6.1.tar.gz
Size 722.2 kB
Tags Source
SHA-256 checksum
How to use checksums
89df882f67782b44b5974c36d8f7730d5ae704c5f98878d489ae8bc1dcb2b02c
BLAKE2b-256 checksum
How to use checksums
d37791df4e49f7dabd3d05b1bac87f4c84cbbd0255a2da81991e47ffedbbf26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / linkml_map-0.6.1-py3-none-any.whl

Download URL linkml_map-0.6.1-py3-none-any.whl
Size 167.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bf5f560f49814c317fdd427aabf9fe19b85ec38270aa0afa80bb26c2aaa3135
BLAKE2b-256 checksum
How to use checksums
82e1730349b5ce3fdaddf64f7e0a508f88af9941e144cec41980c5a41f0e020b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Security for linkml-map 0.6.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for linkml_map-0.6.1.tar.gz

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 Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page