This repository provides Python bindings for the linkml-core Rust library. The bindings are built using maturin. To compile and install the package you need a working Rust toolchain and Python 3.8 or newer.
- Install Rust from https://www.rust-lang.org/tools/install if it is not already available on your system.
- Clone this repository and change into the project directory:
git clone https://github.com/linkml/rust-linkml-core.git
cd rust-linkml-core- Build and install the Python runtime module using pip:
pip install src/runtimeFor editable installs during development use:
pip install -e src/runtimeAfter installation you should be able to import linkml_runtime from Python:
import linkml_runtime