Skip to main content

Wrapper arround whelk-rs for integration with py-horned-owl

Project description

py-whelk

A wrapper around whelk-rs to use the reasoner in Python using py-horned-owl.

Usage

from pyhornedowl import open_ontology
import pywhelk

ontology = open_ontology("path/to/ontology.owl")
reasoner = pywhelk.create_reasoner()

# Use the reasoner to infer axioms
inferred_axioms = reasoner.infer(ontology)

# Use the reasoner to classify an ontology 
classified_ontology = reasoner.classify(ontology)

# Consistency checking is not supported at the moment
reasoner.consistency(ontology) # ValueError: NotImplemented

Installation

Build the shared library with cargo build --release and copy the resulting .dll or .so files to the py-whelk directory. Then, install the Python package with pip install .:

make
pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_whelk-0.1.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

py_whelk-0.1.0-py3-none-win_amd64.whl (573.1 kB view details)

Uploaded Python 3Windows x86-64

py_whelk-0.1.0-py3-none-win32.whl (308.3 kB view details)

Uploaded Python 3Windows x86

py_whelk-0.1.0-py3-none-musllinux_1_2_x86_64.whl (588.3 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

py_whelk-0.1.0-py3-none-musllinux_1_2_aarch64.whl (559.7 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

py_whelk-0.1.0-py3-none-manylinux_2_28_x86_64.whl (510.4 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

py_whelk-0.1.0-py3-none-manylinux_2_28_aarch64.whl (505.4 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

py_whelk-0.1.0-py3-none-macosx_11_0_arm64.whl (477.3 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

py_whelk-0.1.0-py3-none-macosx_10_12_x86_64.whl (515.5 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file py_whelk-0.1.0.tar.gz.

File metadata

  • Download URL: py_whelk-0.1.0.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_whelk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d78ecc2de41af46fabc3865ec6af3d1ac64115e4032c655decbce916da30f4e7
MD5 058fffef94cece521ed3f7df5e1bfad9
BLAKE2b-256 5a489c065c56bcba4aac7896b2b4f70443c334095b6a8057bc59f4b97d5cc139

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0.tar.gz:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: py_whelk-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 573.1 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_whelk-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4404834c7eae0e16307c0ac092bc776903bd51df2a6b2344a002c99ce8713e93
MD5 a219d828ee9179e39936f6feb809289e
BLAKE2b-256 4f7b10ce0c2fd65d3213098cb9199fca147d52722bdba417318dae3afc29e462

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-win_amd64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-win32.whl.

File metadata

  • Download URL: py_whelk-0.1.0-py3-none-win32.whl
  • Upload date:
  • Size: 308.3 kB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_whelk-0.1.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 c4ed6259652024a6ede46db4870b16a76bbf794d09a043edc1198716c6931e5d
MD5 476999fcb218d3621aeb8457f433931b
BLAKE2b-256 2a6338ce06f1163a0ad0d5b7d2429ed4f55ed30c73987d1c64551d719cb7ac98

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-win32.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 36706777aeed143336a32f6e8532226e6efcfcc87d4895d4c6452dbc25c4999c
MD5 a9aa245b7ab2806a7a7c5d845eae888a
BLAKE2b-256 7cbacf0ba1126404cc289173537c929ae227a7d4f959b5a8a7261c92c29c3ce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0cc187371dd0420001318f8a35bd954372446349ab2891f035af590e189062bd
MD5 7939a1e1a86a4d1b01843960e4b46ab7
BLAKE2b-256 0ce89ea926028600489fb445e910dc0997b7632f7cdc538d127116a9e36a1ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 64bc6f91c55d428d156c5b4563173cc720f4fa14e534b94e6096a1dd1d99fadc
MD5 e178d3fe6c1848a90f2f1b6e06395c6a
BLAKE2b-256 37b4c085f85d8988d5fecd5e63722da65d0faae45a8c3060fd4790ba37ad9a27

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e33b78f55ffa1c1f042611741ae5413d03297772544baa22e89d6253f6bd5a39
MD5 4b4206db000525e7348e95f9d4fbfe00
BLAKE2b-256 29390d86638a056fbce7602f56687b28822919062fd413a0e6cddd7c28210327

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-manylinux_2_28_aarch64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a2ed2e81522f7c4c8347181856582cd891a6b2c1885b3dcd514ad5618a9ce27
MD5 e92d39e4f8204804732a176128be9f47
BLAKE2b-256 09a8f57e30d59adc59d804fbaab2745f5046f4d34be0b30c287337bd43cb30f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-macosx_11_0_arm64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_whelk-0.1.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for py_whelk-0.1.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6303d9375ae5a065d9d4f332bba52810e3fcbf29965f4f8ef2a3d1ec54f3864c
MD5 de45d45c40ab82b9ef9972c4505d11ee
BLAKE2b-256 aa5be350db76d8907aa4187aa54fa081ad7c2119a7ecb4c2d4ddb530b2c0ce7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_whelk-0.1.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: CI.yaml on ontology-tools/py-whelk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page