Extract knowledge assertions from tabular data into NCATS Translator-compliant KGX NDJSON — declaratively, with entity resolution and quality control built in.
Project description
Tablassert
Extract knowledge assertions from tabular data into NCATS Translator-compliant KGX NDJSON — declaratively, with entity resolution and quality control built in.
pip install tablassert
tablassert build-knowledge-graph config.yaml
Full Documentation — installation guides, tutorials, configuration reference, and API docs.
Installation
pip install tablassert
All dependencies (ML, web, Excel support) are included in the base install. An optional extra is available for CPU compatibility:
pip install "tablassert[rtcompat]" # Polars build for CPUs without required instructions
Docker
docker pull ghcr.io/skyeav/tablassert:latest
docker run --rm \
-v /path/to/config:/data \
-v /path/to/datassert:/datassert \
ghcr.io/skyeav/tablassert:latest \
build-knowledge-graph /data/graph-config.yaml
Quick Demo
# Build a knowledge graph from a YAML configuration
$ tablassert build-knowledge-graph graph-config.yaml
⠋ Loading Tables...
⠋ Extracting Sections...
⠋ Building TCode...
⠋ Collecting Instructions...
⠋ Building Subgraphs...
⠋ Compiling Graph...
✓ Finished!
Define your entities and relationships in YAML, point tablassert at your data, and get NCATS Translator-compliant KGX NDJSON out the other side — no code required. Intermediate section artifacts are staged in .storassert/ during the build.
Key Features
- Declarative Configuration — YAML-based, no code required
- Entity Resolution — Maps text to biological entities (genes, diseases, chemicals)
- Quality Control — Three-stage validation (exact → fuzzy → BERT embeddings)
- KGX Compliance — NCATS Translator-compatible NDJSON output
- Performance — Lazy evaluation pipelines with Polars and DuckDB-accelerated entity resolution
Contributing
See CONTRIBUTING.md for development setup, code style, and pull request guidelines.
License
Contributors
Skye Lane Goetz — Institute for Systems Biology, CalPoly SLO
Gwênlyn Glusman — Institute for Systems Biology
Jared C. Roach — Institute for Systems Biology
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 tablassert-7.3.6.tar.gz.
File metadata
- Download URL: tablassert-7.3.6.tar.gz
- Upload date:
- Size: 215.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ad9d4828e55674fee8c274a28fd230901e1c9bf8fa58ec4caea4775f45bd07f
|
|
| MD5 |
0cb3d9b99317cba87e009608a79848dc
|
|
| BLAKE2b-256 |
d54e174d7f71ecb9a61d5ef7822f0c6c62666bc13e22367549ebbff376f695a4
|
Provenance
The following attestation bundles were made for tablassert-7.3.6.tar.gz:
Publisher:
pipy.yml on SkyeAv/Tablassert
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tablassert-7.3.6.tar.gz -
Subject digest:
8ad9d4828e55674fee8c274a28fd230901e1c9bf8fa58ec4caea4775f45bd07f - Sigstore transparency entry: 1405572449
- Sigstore integration time:
-
Permalink:
SkyeAv/Tablassert@94968d6a4283c99377e806b27e6d7d2347110d50 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SkyeAv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy.yml@94968d6a4283c99377e806b27e6d7d2347110d50 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tablassert-7.3.6-py3-none-any.whl.
File metadata
- Download URL: tablassert-7.3.6-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5ad1657d77984c66337db795eea63d41f5c223bc3899163fe1fa40ef247c472
|
|
| MD5 |
4080cc5bdd9c3e327d630127fae50ba5
|
|
| BLAKE2b-256 |
9305a4eae72832afa992b26404ed60fc3e56387a1db73d0464bb4df5fe6b2134
|
Provenance
The following attestation bundles were made for tablassert-7.3.6-py3-none-any.whl:
Publisher:
pipy.yml on SkyeAv/Tablassert
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tablassert-7.3.6-py3-none-any.whl -
Subject digest:
e5ad1657d77984c66337db795eea63d41f5c223bc3899163fe1fa40ef247c472 - Sigstore transparency entry: 1405572481
- Sigstore integration time:
-
Permalink:
SkyeAv/Tablassert@94968d6a4283c99377e806b27e6d7d2347110d50 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SkyeAv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy.yml@94968d6a4283c99377e806b27e6d7d2347110d50 -
Trigger Event:
push
-
Statement type: