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.0

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.0
File Size Uploaded Provenance Actions
truequery-0.2.0.tar.gz 434.9 kB With provenance Details for truequery-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / truequery-0.2.0.tar.gz

Download URL truequery-0.2.0.tar.gz
Size 434.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a7b56f7cfb3e2fa1af76b15da3664f67c9ef428b34e559175effa12cf87a4c0
BLAKE2b-256 checksum
How to use checksums
c81169fc269eea0edd3bb219ae62f7055342182b16339623dc7001c090a75a88
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 27, 2026.

Transparency log

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

Download URL truequery-0.2.0-py3-none-any.whl
Size 618.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2c63d5c642c36e1ef9f068f218d476ba913c967e3f2f54098ace0df354aa2b8
BLAKE2b-256 checksum
How to use checksums
83e929b54bf9e7432bf531a68ad06ee9b7d5a179ef6da91280adaa5da0c04cfb
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 27, 2026.

Transparency log

Security for truequery 0.2.0

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.0.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 27, 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