Metadata-Version: 2.4
Name: linkml-runtime
Version: 1.11.0rc3
Summary: Runtime environment for LinkML, the Linked open data modeling language
Author-email: Chris Mungall <cjmungall@lbl.gov>, Harold Solbrig <solbrig@jhu.edu>, Sierra Moxon <smoxon@lbl.gov>, Bill Duncan <wdduncan@gmail.com>, Harshad Hegde <hhegde@lbl.gov>
License-Expression: CC0-1.0
License-File: LICENSE
Keywords: linkml,metamodel,owl,rdf,schema visualization,yaml
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: click>=8.2
Requires-Dist: curies>=0.5.4
Requires-Dist: deprecated
Requires-Dist: hbreader
Requires-Dist: isodate<1.0.0,>=0.7.2; python_version < '3.11'
Requires-Dist: json-flattener>=0.1.9
Requires-Dist: jsonasobj2==1.*,>=1.0.0,>=1.0.4
Requires-Dist: jsonschema>=3.2.0
Requires-Dist: prefixcommons>=0.1.12
Requires-Dist: prefixmaps>=0.1.4
Requires-Dist: pydantic<3.0.0,>=1.10.2
Requires-Dist: pyyaml
Requires-Dist: rdflib>=6.0.0
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: coverage; extra == 'dev'
Requires-Dist: requests-cache; extra == 'dev'
Description-Content-Type: text/markdown

# linkml-runtime
[![Pyversions](https://img.shields.io/pypi/pyversions/linkml-runtime.svg)](https://pypi.python.org/pypi/linkml-runtime)
![](https://github.com/linkml/linkml/workflows/Build/badge.svg)
[![badge](https://img.shields.io/badge/launch-binder-579ACA.svg)](https://mybinder.org/v2/gh/linkml/linkml/main?filepath=notebooks)
[![PyPi](https://img.shields.io/pypi/v/linkml-runtime.svg)](https://pypi.python.org/pypi/linkml-runtime)
[![PyPIDownloadsTotal](https://pepy.tech/badge/linkml-runtime)](https://pepy.tech/project/linkml-runtime)
[![PyPIDownloadsMonth](https://img.shields.io/pypi/dm/linkml-runtime?logo=PyPI&color=blue)](https://pypi.org/project/linkml-runtime)
[![codecov](https://codecov.io/gh/linkml/linkml/branch/main/graph/badge.svg?token=FOBHNSK5WG)](https://codecov.io/gh/linkml/linkml)

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 operation

See [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/tree/main/packages/linkml_runtime/notebooks) folder for examples.
