https://github.com/linkml/linkml-runtime
Runtime support for linkml generated models
https://github.com/linkml/linkml-runtime
conversion hacktoberfest instances linkml linkml-runtime object-model python
Last synced: about 3 hours ago
JSON representation
Runtime support for linkml generated models
- Host: GitHub
- URL: https://github.com/linkml/linkml-runtime
- Owner: linkml
- License: cc0-1.0
- Created: 2021-03-18T20:38:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-28T21:06:52.000Z (1 day ago)
- Last Synced: 2025-04-28T22:32:21.269Z (1 day ago)
- Topics: conversion, hacktoberfest, instances, linkml, linkml-runtime, object-model, python
- Language: Python
- Homepage: https://linkml.io/linkml/
- Size: 2.82 MB
- Stars: 33
- Watchers: 8
- Forks: 30
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - linkml/linkml-runtime - Runtime support for linkml generated models (Python)
README
# linkml-runtime
[](https://pypi.python.org/pypi/linkml-runtime)

[](https://mybinder.org/v2/gh/linkml/linkml-runtime/main?filepath=notebooks)
[](https://pypi.python.org/pypi/linkml)
[](https://pepy.tech/project/linkml-runtime)
[](https://pypi.org/project/linkml-runtime)
[](https://codecov.io/gh/linkml/linkml-runtime)Runtime support for linkml generated data classes.
## About
This Python library provides runtime support for [LinkML](https://linkml.io/linkml/) datamodels.
See the [LinkML repo](https://github.com/linkml/linkml) for the [Python Dataclass Generator](https://linkml.io/linkml/generators/python.html) 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 operationSee [working with data](https://linkml.io/linkml/data/index.html) in the documentation for more details
This repository also contains the Python dataclass representation of the [LinkML metamodel](https://github.com/linkml/linkml-model), and various utility functions that are useful for working with LinkML data and schemas.
It also includes the [SchemaView](https://linkml.io/linkml/developers/manipulating-schemas.html) class for working with LinkML schemas.
## Notebooks
See the [notebooks](https://github.com/linkml/linkml-runtime/tree/main/notebooks) folder for examples.