This release is a pre-release and may not be stable for production use.
tx0
A static analyzer for many languages, built to answer within milliseconds and to give the same answer every time.
tx0 is meant to run all the time: in the editor on every edit, in the hooks of coding agents after every change, and in CI. It finds bugs and security problems, explains them and fixes them where a fix is safe. Analysis results are cached by the fingerprints of everything they depend on, so most answers are lookups and a change costs time in proportion to what it touches.
Status: early alpha. The engine and the Go, Python, JavaScript, TypeScript, Java and C packs work end to end, in the terminal, in editors and for coding agents, with 545 rules so far. Other languages and most rules are still to come. Expect commands, rule ids and output formats to change between alpha releases.
This package
The wheel contains the tx0 binary and nothing else; there is no Python API. Installing it
puts tx0 on your PATH:
pip install --pre tx0
uvx tx0@0.1.0a1 check
This release has a wheel for Linux on x86_64 only. The binary is linked statically, so the same wheel works with glibc and musl. On other platforms, build tx0 from source as described in the repository.
Quick start
tx0 init # write a commented tx0.toml (optional)
tx0 check # check the tree in the current directory
tx0 check --changed # only findings that are new in uncommitted changes
tx0 check --since main # only findings that are new since main
tx0 check --format sarif # for code scanning services; also json and agent
tx0 fix # apply the fixes that keep behavior; --unsafe for the rest
tx0 explain tx0/go:self-assignment
tx0 ui # browse and act on the findings in the terminal
tx0 help # every command and option
The exit code is 0 when the gate passes, 1 when the reported findings fail it, 2 for a usage or configuration error and 3 when tx0 could not run.
Editors and coding agents
tx0 lspis a language server. It checks open files from the editor's buffer as you type and offers fixes as quick fixes.tx0 mcpis a tool server for coding agents over the Model Context Protocol. For Claude Code, for example:claude mcp add tx0 -- tx0 mcp.tx0 hookis meant for the post-edit hooks of coding agents. It reports what is new in the edited files on standard error and exits with 2.tx0 init --agentsprints configuration for common agent clients.
Links
- Website: https://tx0.io
- Source, rules and changelog: https://github.com/tx0io/tx0
License
tx0 is licensed under either of the MIT license or the Apache License, Version 2.0, at your option. Both license texts are included in this package.
Metadata
Release files for tx0 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tx0-0.1.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64, Linux glibc 2.17+ x86-64 | Details for tx0-0.1.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl |
Release files / tx0-0.1.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl
| Download URL | tx0-0.1.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Linux glibc 2.17+ x86-64 Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
17ed84874361e983752d8c8895996edd2e2578113ff8ee7dba2809aef69e2e37
|
|
BLAKE2b-256 checksum How to use checksums |
7273f140116b1299e07e67cf6ad41a5f3fca207cf5826176e8739b7047ad83aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for tx0 0.1.0a2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.