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 32 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.1.7

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.1.7
File Size Uploaded Provenance Actions
truequery-0.1.7.tar.gz 300.1 kB With provenance Details for truequery-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 770.8 kB

Release files / truequery-0.1.7.tar.gz

Download URL truequery-0.1.7.tar.gz
Size 300.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9f1f743cb78380366bb83c063aa556c61d4762c067cd043e84a13c141d4eaa73
BLAKE2b-256 checksum
How to use checksums
01402edbdd17a495eaaea0006047ed646809bfa65e63757ce6e8f7e78a68eddf
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 7, 2026.

Transparency log

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

Download URL truequery-0.1.7-py3-none-any.whl
Size 470.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef6f12afc78f01b173a04783e82e52bd271c28f37563d45a34ebdd71e0608e6d
BLAKE2b-256 checksum
How to use checksums
da30b03a025fd5aaf711162c90f93113864dc6637af06368f62d91a6ed409ba4
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 7, 2026.

Transparency log

Security for truequery 0.1.7

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.1.7.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 7, 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