neverblink-linkml
Fast and robust LinkML schema validation and code generation for Python, backed by ohi LinkML compiled to a native shared library.
Install
pip install neverblink-linkml
Usage
import ohi_linkml
with ohi_linkml.load_file("model.yaml") as schema:
print(schema.json_schema())
print(schema.shacl())
for issue in schema.issues(ohi_linkml.WARNING):
print(issue["severity"], issue["message"])
load_file() will automatically resolve imports and parse the schema. You can reuse the Schema object for multiple generator calls, and it will automatically cache the parsed form of any imported schemas.
Generators available on a Schema: json_schema(), shacl(), rdfs(), linkml(),
frictionless(), graphql(), typescript(), pydantic(), java(), er_diagram(), docs(), translation(),
ossie(), owl(), scala() and stats(), plus lint() for validation. For how to use the classes
pydantic() and java() generate, see
the Pydantic guide and
the Java guide.
Going the other way, ohi_linkml.from_ossie() reads an Apache Ossie (incubating) ontology, and ohi_linkml.from_owl() an OWL ontology in Turtle or N-Triples. Each returns a dict with the corresponding LinkML schema, and what it could not import: as lines in "warnings", and as an ImportReport with one entry for each thing in "report".
To work from memory instead of the file system, use load_string() for a single schema or
load_path() when imports are involved:
schema = ohi_linkml.load_path("model.yaml", {
"model.yaml": "...",
"person.yaml": "...", # referenced via `imports: - person`
})
To load an import from another location without changing the schema, pass import_map=, a
mapping or the path of a JSON file:
schema = ohi_linkml.load_file(
"model.yaml",
import_map={"https://example.org/units/": "deps/units/"},
)
schema = ohi_linkml.load_file("model.yaml", import_map="imports.json")
See Import maps.
Supported platforms
We provide both sdist (source distribution) and pre-built wheels for popular platforms (Linux, macOS, Windows, x86-64 and ARM64).
To build the package from source (sdist) you must have Java 17+ and Clang installed on your system. Please open an issue if you encounter any issues with the installation process.
Documentation
- Python bindings guide – all the options, and how the C ABI underneath works
- ohi LinkML README – the CLI, the JVM library and the JavaScript library
- Online playground
License
Apache 2.0.
Metadata
Release files for neverblink-linkml 0.18.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neverblink_linkml-0.18.6.tar.gz | 68.5 MB | With provenance | Details for neverblink_linkml-0.18.6.tar.gz |
Built distributions (wheels)
Total release size: 102.3 MB
Release files / neverblink_linkml-0.18.6.tar.gz
| Download URL | neverblink_linkml-0.18.6.tar.gz |
|---|---|
| Size | 68.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
225aad0b66d0efb46385c1e215f7d8b3289ff0853a9b532d75b2ae1ef9b47950
|
|
BLAKE2b-256 checksum How to use checksums |
9413bd09745e4b55faf870669d0478312db434891f885dde790977e6e26677b2
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-win_arm64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-win_arm64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
33b74982fa6d8e93beaa63fae6b8dfeac95c39f059506a1cb04b44f34fd3117b
|
|
BLAKE2b-256 checksum How to use checksums |
fdec338c8c1ac595ee75cf96e212da7630cdddc3f09403b75c474f253ac37b4b
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-win_amd64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
150a7e7e73e58cffbfdf267e03c3030485a4df7b6ef752f22bf36329144d5aad
|
|
BLAKE2b-256 checksum How to use checksums |
d79316dff219a66d7ac5a15cc980aa8bcfab384088052f4998eb7ae90a2546e5
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-musllinux_1_2_x86_64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
59393b867f56c60c806c043a49fa52677d25429bb92d00858b42fb26cf60312d
|
|
BLAKE2b-256 checksum How to use checksums |
bd87a02e782e0dc51ddc236a45919aa036c9659067fe2706df6e109e58b99af1
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-musllinux_1_2_aarch64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
fa630eb1862fddfb2a8316f045ca4294bf94e3df783dbc20ab21c7656a973d97
|
|
BLAKE2b-256 checksum How to use checksums |
a2affb23502756bb2be863a80460711090b2384d0239642e055cce242a57a92a
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-manylinux_2_17_x86_64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
f5ca3d72cab3e1326f4331a14c642ecd305b25b36630c30dd445f2f09d0909a9
|
|
BLAKE2b-256 checksum How to use checksums |
9596e0659f666849046db7239c79550ddf6b96a4684285440ab05cedf62a4e20
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-manylinux_2_17_aarch64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
ec81edab6ca6325c5ae298d54dac6775bcf94545c35145ab912783d689c08c35
|
|
BLAKE2b-256 checksum How to use checksums |
2651003f5c1ca354efd52f5c8fcf7ef611315016320bcfd8e1ce493d805d2cf0
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-macosx_13_0_x86_64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-macosx_13_0_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
d28f35633d9ea8417740d724fc7ddbe551306b0f0e77dbd98af81ed19659bfa2
|
|
BLAKE2b-256 checksum How to use checksums |
7a2007b71c82575df5385cc3cb40753ca8d470daac713f213e97862f85858954
|
| 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 18, 2026.
Transparency logRelease files / neverblink_linkml-0.18.6-py3-none-macosx_13_0_arm64.whl
| Download URL | neverblink_linkml-0.18.6-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
87f54490ccf1de75089d7486d5e51939ed220542b037050cd66539cddcf406e3
|
|
BLAKE2b-256 checksum How to use checksums |
c17bc949d088e9d4d7a775153e92cc316c761e98aeeebd64305b80d4ae3e387e
|
| 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 18, 2026.
Transparency logSecurity for neverblink-linkml 0.18.6
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
All 9 files in this release have been uploaded with provenance metadata.
Attestation for neverblink_linkml-0.18.6.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 18, 2026.
Transparency logA 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.