Skip to content

linkml/linkml-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7743ff7 · Sep 10, 2024
Jul 26, 2024
Sep 10, 2024
Jul 4, 2024
Sep 10, 2024
Dec 7, 2021
Oct 4, 2022
Oct 25, 2022
Mar 18, 2021
Jan 27, 2023
May 2, 2023
Apr 22, 2021
Sep 28, 2023
Apr 22, 2021
Apr 3, 2024
Sep 10, 2024
Apr 22, 2021
Feb 7, 2022

Repository files navigation

linkml-runtime

Pyversions badge PyPi PyPIDownloadsTotal PyPIDownloadsMonth codecov

Runtime support for linkml generated data classes

About

This python library provides runtime support for LinkML datamodels.

See the LinkML repo for the Python Dataclass Generator which will convert a schema into a Python object model. That model will have dependencies on functionality in this library.

The library also provides

  • loaders: for loading from external formats such as json, yaml, rdf, tsv into LinkML instances
  • dumpers: the reverse operation

See working with data in the documentation for more details

This repository also contains the Python dataclass representation of the LinkML metamodel, and various utility functions that are useful for working with LinkML data and schemas.

It also includes the SchemaView class for working with LinkML schemas

Notebooks

See the notebooks folder for examples