Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ohi SDK for Python

Search ontologies on ohi.dev, inspect their metadata, download selected files and save file selections.

Install on Python 3.10 or later:

python -m pip install ohi-sdk

Search, inspect the first hit and download its first file:

from ohi import CatalogClient, SearchRequest

client = CatalogClient()
page = client.search(SearchRequest(q="sensors", page=1, per_page=10))
if page.hits:
    publication = client.inspect(page.hits[0].base_url)
    artifact = publication.artifacts[0]
    content = client.get(artifact.url)

inspect and latest also take an ontology reference such as w3c/dcat@3 instead of a URL, see ontology references.

hit = client.latest("w3c/dcat@3")  # search hit, or None
publication = client.inspect("w3c/dcat@3")

get returns the file's bytes.

See the SDK documentation for configuration, file selections, metadata and errors.

Metadata

Release files for ohi-sdk 0.18.8.dev20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ohi-sdk 0.18.8.dev20
File Size Uploaded Provenance Actions
ohi_sdk-0.18.8.dev20.tar.gz 31.1 kB With provenance Details for ohi_sdk-0.18.8.dev20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ohi-sdk 0.18.8.dev20
File Interpreter ABI Platform Actions
ohi_sdk-0.18.8.dev20-py3-none-any.whl Python 3 none any Details for ohi_sdk-0.18.8.dev20-py3-none-any.whl

Total release size: 51.3 kB

Release files / ohi_sdk-0.18.8.dev20.tar.gz

Download URL ohi_sdk-0.18.8.dev20.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1e2b4a9fb3d89bb13f8554759c53ca1882f3b83f9cdf08217dcb36294cfc9423
BLAKE2b-256 checksum
How to use checksums
8d8ab6636a5da97af5db9027c4f598b1a3f00b59e79537b266e93d0e5dc5ca34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / ohi_sdk-0.18.8.dev20-py3-none-any.whl

Download URL ohi_sdk-0.18.8.dev20-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
562fbd1a53ed532377c8e744b6125cb10ecf62d88e7712a6761e57c44c29530d
BLAKE2b-256 checksum
How to use checksums
e9196e4b790e23a3ede1a91d6dd1575d277958c8a9daab78f531247dbb749ba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for ohi-sdk 0.18.8.dev20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ohi_sdk-0.18.8.dev20.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page