Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

truequery mcp (in the 0.3 beta: pip install truequery==0.3.0b1) runs the checker as a read-only MCP server for agents that speak MCP. Setup per agent: docs/mcp.md.

Metadata

Release files for truequery 0.3.0b1

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.3.0b1
File Size Uploaded Provenance Actions
truequery-0.3.0b1.tar.gz 459.0 kB With provenance Details for truequery-0.3.0b1.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / truequery-0.3.0b1.tar.gz

Download URL truequery-0.3.0b1.tar.gz
Size 459.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3815ba3447cdc86de145a778f1e6e515e2e0394e8cfad66d9dc7e89fcc861c82
BLAKE2b-256 checksum
How to use checksums
8cca6a5dceab5844edd4029ebf97328d558e2705233619fc33df212e1044e9a1
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.3.0b1-py3-none-any.whl

Download URL truequery-0.3.0b1-py3-none-any.whl
Size 643.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19e187cec7aa015532ac282d4c4d2c8899d5f86b5076bce4335608f645dde578
BLAKE2b-256 checksum
How to use checksums
34db2188e148956f6b9a0e0c18912fdc3d314894d9382625efc6253f0c2614bb
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.3.0b1

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.3.0b1.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