Installation

With pip

The simplest and quickest way to install Py-Horned-OWL is via pip. Pre-built wheels are available for Linux, macOS and Windows on Python 3.10 and newer.

(.venv) $ pip install py-horned-owl

From source

Building from source requires Rust and uv.

Clone the repository from GitHub:

$ git clone https://github.com/ontology-tools/py-horned-owl.git
$ cd py-horned-owl

The Makefile wraps the common tasks and creates the virtual environment .venv if needed:

$ make dev     # build and install into .venv (maturin develop --generate-stubs)
$ make tests   # run the Rust and Python test suites
$ make lib     # build a release wheel into target/wheels/

Consult the maturin documentation for further build options.