neverblink-linkml
Fast and robust LinkML schema validation and code generation for Python, backed by LinkML-Scala compiled to a native shared library.
No JVM, no subprocess per schema, and no dependency on the linkml Python package. In our
benchmarks the generators are 22.9–38.5x faster than the reference Python implementation.
Install
pip install neverblink-linkml
Usage
import linkml_scala
with linkml_scala.load_file("model.yaml") as schema:
print(schema.json_schema())
print(schema.shacl())
for issue in schema.issues(linkml_scala.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(),
table_schema(), graphql(), er_diagram() and scala(), plus lint() for validation.
To work from memory instead of the file system, use load_string() for a single schema or
load_path() when imports are involved:
schema = linkml_scala.load_path("model.yaml", {
"model.yaml": "...",
"person.yaml": "...",
})
Supported platforms
| OS | Architectures |
|---|---|
| Linux (glibc) | x86-64, ARM64 |
| Linux (musl) | x86-64 |
| macOS | Apple silicon, Intel |
| Windows | x86-64 |
Python 3.10 or newer, 64-bit only. Other platforms are currently not supported, and would require an alternative compilation path (e.g., Scala Native). Please open an issue if you need a platform that is not listed above.
Documentation
- Python bindings guide – all the options, and how the C ABI underneath works
- LinkML-Scala README – the CLI, the JVM library and the JavaScript library
- Online playground
License
Apache 2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neverblink_linkml-0.14.0-py3-none-win_amd64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-win_amd64.whl
- Upload date:
- Size: 8.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57a104354abc5606326c00cfa89a62e7bf6012cd3f543c2cd3e256a144193a7c
|
|
| MD5 |
74725aea8a5ac32a2f094a02d76d07e5
|
|
| BLAKE2b-256 |
31d1def2fdd4f5c8b06bdc23b47638104088f259e8b4cdab7e20125281e247bf
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-win_amd64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-win_amd64.whl -
Subject digest:
57a104354abc5606326c00cfa89a62e7bf6012cd3f543c2cd3e256a144193a7c - Sigstore transparency entry: 2549600653
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neverblink_linkml-0.14.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 8.6 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d10071e0606c3c10ddaa2b421d32d5485585b24c2c79932dcb724e44055cf55
|
|
| MD5 |
633efb768d0bfaad6a1d2b763aed18ab
|
|
| BLAKE2b-256 |
8bdc1960af77fdc31740f83e82460f20f32d197579671f9095e41041bc32308a
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
0d10071e0606c3c10ddaa2b421d32d5485585b24c2c79932dcb724e44055cf55 - Sigstore transparency entry: 2549600440
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neverblink_linkml-0.14.0-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 8.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
127071b603a5045ab75692223dc0890c4b8791cb5dce130af7a6f57ee72e4590
|
|
| MD5 |
ea0c9ef2e83678d9d2bc2efe4759a4ef
|
|
| BLAKE2b-256 |
7cee63c55d13ffdf002d52e35434008b8f74cb50e0b08e230423df26e900e5a5
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-manylinux_2_17_aarch64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-manylinux_2_17_aarch64.whl -
Subject digest:
127071b603a5045ab75692223dc0890c4b8791cb5dce130af7a6f57ee72e4590 - Sigstore transparency entry: 2549600833
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neverblink_linkml-0.14.0-py3-none-manylinux_2_14_x86_64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-manylinux_2_14_x86_64.whl
- Upload date:
- Size: 8.6 MB
- Tags: Python 3, manylinux: glibc 2.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2dcada1c14b9283a2a3e7a3e5c049a85dae7c64bd8da0f0b0f428a8cfd2e6af
|
|
| MD5 |
4605cf8a5c5c93aa85cfaa684e578ef9
|
|
| BLAKE2b-256 |
cacc0687a926ec0fe5badefe18677ce363aecaa8cb0f525b7282bde0788210dd
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-manylinux_2_14_x86_64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-manylinux_2_14_x86_64.whl -
Subject digest:
d2dcada1c14b9283a2a3e7a3e5c049a85dae7c64bd8da0f0b0f428a8cfd2e6af - Sigstore transparency entry: 2549600111
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neverblink_linkml-0.14.0-py3-none-macosx_15_0_x86_64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-macosx_15_0_x86_64.whl
- Upload date:
- Size: 8.4 MB
- Tags: Python 3, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45093b043280befe975d053a2280697d24054053aad07b251a237f316b05c6b1
|
|
| MD5 |
c67b06716127fd59073e28bc1bf2598b
|
|
| BLAKE2b-256 |
9e2ff6db716439ddec87b752efc82d1919e4e5c3b9022851dfb6160525733cef
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-macosx_15_0_x86_64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-macosx_15_0_x86_64.whl -
Subject digest:
45093b043280befe975d053a2280697d24054053aad07b251a237f316b05c6b1 - Sigstore transparency entry: 2549600316
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neverblink_linkml-0.14.0-py3-none-macosx_14_0_arm64.whl.
File metadata
- Download URL: neverblink_linkml-0.14.0-py3-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 8.5 MB
- Tags: Python 3, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a5509cda8b19a446ae5169d0c09b77dd045669406eee14d63789e0fe89049e0
|
|
| MD5 |
9ac73450724c2d8a12e400466bfadd4c
|
|
| BLAKE2b-256 |
e5095db1d6e970c2502f8b671ca3ec8c2cf84b5bd8be7bc08ddcdb432d21036c
|
Provenance
The following attestation bundles were made for neverblink_linkml-0.14.0-py3-none-macosx_14_0_arm64.whl:
Publisher:
release.yml on NeverBlink-OSS/linkml-scala
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neverblink_linkml-0.14.0-py3-none-macosx_14_0_arm64.whl -
Subject digest:
2a5509cda8b19a446ae5169d0c09b77dd045669406eee14d63789e0fe89049e0 - Sigstore transparency entry: 2549600985
- Sigstore integration time:
-
Permalink:
NeverBlink-OSS/linkml-scala@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/NeverBlink-OSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a9d941b79276f176f5558d0d5b8c295114d866a3 -
Trigger Event:
push
-
Statement type: