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.0.1.tar.gz (163.3 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.0.1-cp314-cp314-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

tablassert-8.0.1-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.0.1.tar.gz.

File metadata

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

File hashes

Hashes for tablassert-8.0.1.tar.gz
Algorithm Hash digest
SHA256 b8825102a12a0ccbfdbee58af6ba35374a7513c6d7e7bf452d1bbda5085efd35
MD5 0b7544be5a2d0c7537481e1c10e11389
BLAKE2b-256 b4bba29617bf38674e65e34ef46df306fb083114b842bda5c6dd5d38df7a78a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6ae638bcb5c650835fb50dbaeec70140ce372e41c628c29fe31a9d692a9250b7
MD5 b5918cb3116da54c4c29d35e584dc77d
BLAKE2b-256 6edd79fc37cdd93f89aa84b8122acea8bff7cbc8e57a0e5506f4e2a1caa890f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ef08e334203f63eca324afa1ae016884223cb327e41f534aaafede436ee05ce
MD5 72a4fda29fad1d83f43486f422e0582d
BLAKE2b-256 1adebacabf85d7e19276b863ab2caeee6d171dc4b4da8e4f76c720fb4417cab4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b3673f668cb3d00ff7214258e2e529ff3a925e07878eb385c9b40131f863280a
MD5 b5788114917692490cb5e9c3daaa983a
BLAKE2b-256 b3e0a717df076fed2b949569e7e0c5aaf7434b5d49e9919993384a00fb06cc05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aafd593abfb749668b3d81628423e94c6e7040178cea830680ff3e1e1bdd2ed3
MD5 ee9fb2e5a5021bd769eed3c9defcc908
BLAKE2b-256 b94298c21f10efe51284bf6f5f543532eb774b1c6699da991d256c8f09444c57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 069817dcdb75b6a83dddf314d605bc51352490217358252ef7d1b4067c0d7e2f
MD5 ac4eb462e945f670d9a6bef8c0ebb9b7
BLAKE2b-256 5264e87fc5a6efa1a8b6b78f36e2d03b8713b1286a2fcfe111b404d6d5115404

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58d64c257e0dbf93bc3f76ab75970a2a119fc79c0a558521b1508708b93391bd
MD5 c1c736676ed3fc8eec3826af02f4d431
BLAKE2b-256 e18505e57c37d7be5f7834360607bf3bbc9963b0b5cc89dbf11bb9732c6ee51b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9b5f34a1b3cdc2bc06cfaaa78e924e7fd0631426a1562b9592e3d1231de1a060
MD5 6c8f3d5fccc0e875994930747da8b217
BLAKE2b-256 cd49e0a6cf33dd301f33fd5643f23410ebfac0a64cbd44111abf983160e5bb98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tablassert-8.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 200b2d99b7173bd973e0087854914475c12e97926c4e15199190d41d97c60f43
MD5 6778eb4e9da66a3b7675635521594f88
BLAKE2b-256 9ee04f8d166bf9fbf440ecfe800b9337d4808a649dceb89e5e229c9872a8952b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tablassert-8.0.1-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