Skip to main content

Extract knowledge assertions from tabular data into NCATS Translator-compliant KGX NDJSON — declaratively, with entity resolution and quality control built in.

Project description

Tablassert

PyPI Python License Docs

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 table configurations...
⠋ Resolving entities across 16 DuckDB shards...
⠋ Compiling subgraphs...
⠋ Deduplicating nodes and edges...
✓ Done  wrote nodes.ndjson and edges.ndjson to .storassert/

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.

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

Apache License 2.0

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


Download files

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

Source Distribution

tablassert-7.3.1.tar.gz (212.2 kB view details)

Uploaded Source

Built Distribution

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

tablassert-7.3.1-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file tablassert-7.3.1.tar.gz.

File metadata

  • Download URL: tablassert-7.3.1.tar.gz
  • Upload date:
  • Size: 212.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tablassert-7.3.1.tar.gz
Algorithm Hash digest
SHA256 3a49e8660217951fa7a5091dfe23d9248607f5ff99794bc639c6ed63e9f4fa2a
MD5 e339633678afdcbbe7775e1b08b25c1e
BLAKE2b-256 fdfa8e4f5546c61274e345f492cac96c3ad0090071d33642310ac89d9984ccfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-7.3.1.tar.gz:

Publisher: pipy.yml on SkyeAv/Tablassert

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

File details

Details for the file tablassert-7.3.1-py3-none-any.whl.

File metadata

  • Download URL: tablassert-7.3.1-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tablassert-7.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 086ad7cf0bfc1310ef106090a1b8b8c470132aaf9c9b85a7e36940c53b88ffa8
MD5 69b44bb94546b3ef3b037d56e0952e45
BLAKE2b-256 3a66fb516160ac6fa37f089ac96b51a791c64fe381e9c69b9683669c2b13073c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-7.3.1-py3-none-any.whl:

Publisher: pipy.yml on SkyeAv/Tablassert

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