Skip to main content

Tablassert

PyPI Python License Docs

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

pip install tablassert
tablassert build-kg config.yaml

Full Documentation — installation guides, tutorials, configuration reference, and API docs.

Installation

pip install tablassert

The base install builds knowledge graphs from CSV/TSV/Excel sources. Optional extras (rt, qc, agent) add CPU-compatible Polars, the three-stage QC audit, and the autonomous agent — see the Installation guide for the full matrix. QC is opt-in at build time (build-kg --qc); see the CLI Reference for the complete flag reference.

Quick Demo

from pathlib import Path
from tablassert.lib import resolve_many

results = resolve_many(col="gene", entities=["TP53", "BRCA1"], fullmap=Path("/path/to/fullmap"), taxon="9606")
# [{"original_gene": "TP53", "gene": "HGNC:11998", "gene_name": "TP53", ...}, ...]

Point resolve_many() at a fullmap database to resolve any iterable of entity strings to CURIEs — no LazyFrame setup or NLP preprocessing required. See the Batch Resolution API for the full reference; for YAML-configured pipeline builds use tablassert build-kg config.yaml.

Key Features

Declarative YAML configs, built-in entity resolution, optional three-stage QC, and KGX-compliant NDJSON output — with lazy Polars pipelines over an embedded redb resolution database. See the documentation for the full feature overview and use-case gallery.

Developing

uv sync --group dev --extra qc
uv run maturin develop --manifest-path rust/Cargo.toml
make check

See CONTRIBUTING.md for the full development loop, quality gates, and pull request guidelines.

License

Apache License 2.0

Contributors

Skye Lane Goetz — Institute for Systems Biology

Gwênlyn Glusman — Institute for Systems Biology

Jared C. Roach — Institute for Systems Biology

Download files

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

Source Distribution

tablassert-8.1.0.tar.gz (180.6 kB view details)

Uploaded Source

Built Distributions

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

tablassert-8.1.0-cp314-cp314-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

tablassert-8.1.0-cp314-cp314-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tablassert-8.1.0-cp313-cp313-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

tablassert-8.1.0-cp313-cp313-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tablassert-8.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

tablassert-8.1.0-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tablassert-8.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

tablassert-8.1.0-cp311-cp311-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: tablassert-8.1.0.tar.gz
  • Upload date:
  • Size: 180.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tablassert-8.1.0.tar.gz
Algorithm Hash digest
SHA256 301538d7d392e29f62ccb3c2d65531cd7a56540f4fe14d84bbcdcddd07cb9e47
MD5 6a70167cbc03e8c4aa9bd51acd3dfa1e
BLAKE2b-256 488f23a65ec2ed31cd9cf40eeb7272bf93880e861a55fadd04a79a362f320311

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0.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-8.1.0-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 01286ed11c6a413f0002e946afec0609cb389865b2fc43900e7dae4ac0cbf284
MD5 d9bdeeb271d7512e94f8dab5405fbe44
BLAKE2b-256 e6d1f5af3b10b76d32cf6bfdd530edd09534eb465417a5edbeae545cfab2a8e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp314-cp314-manylinux_2_34_x86_64.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.

File details

Details for the file tablassert-8.1.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1e9bbbfe2a8e8477e107bb0bd81d96747a2a4ee66ba3354bf01431cccc5bdb8e
MD5 7a85a0035f6a3b936a1566bd6a90922b
BLAKE2b-256 1236db95caacf5dfe9ab3c7faf6b2bb00a527a880ae377ee0cbfa97c39e85d5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp314-cp314-macosx_11_0_arm64.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.

File details

Details for the file tablassert-8.1.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4168f825846ab96a2597fa87253f6190ae1c09cbfa1f4cef7dac99b665da4753
MD5 a56c1f40130b0c578d2b7c92396d11e2
BLAKE2b-256 40e6156a63868d305f4cd9764b57416732c7bbd7b04ed084c9d11dde2d179e0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp313-cp313-manylinux_2_34_x86_64.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.

File details

Details for the file tablassert-8.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 660ec27fa7053880d399ada835eec733e31f4d29a739aa554144b2a0de1912c2
MD5 f8ebe9482e62cb4f7ed5a94cf6756554
BLAKE2b-256 084d254ecad80a6d373af01dbcdcadb9aa9c54a2a93b8f509bffc17082c910ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp313-cp313-macosx_11_0_arm64.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.

File details

Details for the file tablassert-8.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 55358a2a318ec23e3c67b7b21b7cf2015ec62022589d12e6cb86788d297b72df
MD5 5200b78bf16308670ea5bc9b7771f272
BLAKE2b-256 5598d81ad547b2a4861d1119c6deced82e2834a33bea41281c238b17bf9e9ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp312-cp312-manylinux_2_34_x86_64.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.

File details

Details for the file tablassert-8.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57df1abfb71f8953e40361cad11c9a9f685ec13d81c2caf3699daa4e76775ec7
MD5 38a00938daa20bc5b41b8b2aa78b5cc9
BLAKE2b-256 52a99f6b3d06520826036d140dc4358380d92a78da5d9f4c5212b73730776cdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp312-cp312-macosx_11_0_arm64.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.

File details

Details for the file tablassert-8.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 09d7d0cde94e822d4754d2e27e660a4eb67a9eb7b91cf2bcb34401f70d1e6e8e
MD5 688fec08d6e19b1ba3b09204974186f9
BLAKE2b-256 2aee02889a44038690ed5026be4de575965871be536db08625fb9058784db5e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp311-cp311-manylinux_2_34_x86_64.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.

File details

Details for the file tablassert-8.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tablassert-8.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3e69f28556af2cf59909da08c2c9c1b30a9cf8254bbc3924b253ef36aa8127e
MD5 d05780f40663f94891a735029e4fcb5f
BLAKE2b-256 ff8e0ec790c6b25f4714d64f6088740161c6a87fa09436fe8cbd94bde7f6df8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.1.0-cp311-cp311-macosx_11_0_arm64.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