Skip to main content

TrueQuery engine

The offline checker behind TrueQuery. It installs two commands, truequery and its short alias tq.

pip install truequery
uvx truequery detect .

It looks for SQL that silently returns the wrong answer: a NOT IN that one NULL empties, a WHERE that turns a LEFT JOIN into an inner join, a COUNT(*) that counts missing rows, an unguarded UPDATE or DELETE. It also checks pandas code for the same kind of mistake. It has 41 checks, 20 of them on by default, each promoted only when it proves precise on real projects. Files it can't parse, can't decode, or that are over the 10 MB limit are listed as not checked, never as clean.

It runs offline and gives deterministic output, with no LLM and no network calls: plain code on your machine, in well under a second per file. Text, JSON and SARIF output; exit codes 0 (clean), 1 (findings), 2 (usage or config error) and 3 (some files couldn't be checked). See the repository README for the full guide: the skill, the receipt, hooks, and the standard behind the checks.

Metadata

Release files for truequery 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for truequery 0.2.1
File Size Uploaded Provenance Actions
truequery-0.2.1.tar.gz 439.7 kB With provenance Details for truequery-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for truequery 0.2.1
File Interpreter ABI Platform Actions
truequery-0.2.1-py3-none-any.whl Python 3 none any Details for truequery-0.2.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / truequery-0.2.1.tar.gz

Download URL truequery-0.2.1.tar.gz
Size 439.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f8dc84821ee7b28cd9c11b324ec9485cf6c59aa3ce4f0917d1f6cb5b24ecb7f
BLAKE2b-256 checksum
How to use checksums
e5b18644e88f584c49b6914f52f9f6887c04ad61f3a562dcf45fbfa1bfdfa838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / truequery-0.2.1-py3-none-any.whl

Download URL truequery-0.2.1-py3-none-any.whl
Size 623.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c00dd95d5045f1763a9d181c034819c2a2c9d4b8015b68ef4bbec582e1794ab
BLAKE2b-256 checksum
How to use checksums
98fb1e2a5095e76447ffe2ce347460452f772b17ae6791a978dd6187882a539a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for truequery 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for truequery-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page