Skip to main content
Pre-release

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

Threadline

Follow data through Python methods, with source and model definitions beside it.

Get started · Documentation · GitHub · Report a bug

Threadline opens your Python repository in a local browser. Choose an endpoint, command, or method to see what data enters it, what it creates or changes, and where values are used or returned. Follow calls across methods while keeping the original code and model declarations close by.

It reads source without importing or running the project being reviewed. That project's dependencies do not need to be installed.

Install and open a repository

Requires Python 3.12 or later. In your Python environment:

python -m pip install --pre threadline-review
threadline review /path/to/your/python-project

Your browser opens the review automatically. If it does not, open the local address printed in the terminal. For virtual-environment setup, see the installation guide.

Choose where to start

Page How to use it
Endpoints Pick an HTTP verb tab, such as GET or POST, then an endpoint.
Commands & tasks Select a CLI command or background task.
Modules & methods Pick a module, filter its methods, then select one.

Search is available across all three pages. Selecting a method opens its Data flow beside its Data models; nothing is selected automatically. Switch to Steps for the line-by-line explanation or expand Code to read only the selected method. The code pane can also sit beside the analysis at an adjustable width. Related tests expand below the code. Selecting a caller compares both methods' code and flow side by side, with Back returning to your previous view.

Each data link points to source evidence. Unresolved sources and effects remain visible as gaps rather than invented values. The usage guide explains model references, navigation, and the limits of static data flow.

Review a change

Compare a working tree with a Git baseline:

threadline review /path/to/your/python-project --base HEAD

Open Changes to select a changed method or compare its before/after source. Changed files, rename-only records, and edits outside methods remain visible when no callable body changes. Current callers, historical callers, and possible impact are shown separately. These are direct source relationships, not a complete impact analysis.

For source roots, exclusions, snapshot-pinned JSON queries, and evidence retrieval, see the usage guide.

Understand the limits

Threadline uses static analysis. The browser labels each call Calls, Probably calls, Library, or Can't tell according to the source evidence (supported, possible, external, and unknown in JSON output). Common injected, inherited, and constructed receivers can have possible source candidates. Dynamic dispatch can remain unresolved; the view does not establish what happened at runtime. The header shows analysis problems, and Coverage lists parse failures and unmodeled syntax.

This is a beta. Linux and macOS are tested with Python 3.12–3.14; Windows is experimental. Human reviewer sessions remain pending before a stable release.

Contribute

See the contributor guide for development and testing, and the publishing guide for releases.

MIT License · Security policy

Release files for threadline-review 0.2.0b3

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

Source distribution (sdist)

Source distribution for threadline-review 0.2.0b3
File Size Uploaded
threadline_review-0.2.0b3.tar.gz 133.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for threadline-review 0.2.0b3
File Interpreter ABI Platform
threadline_review-0.2.0b3-py3-none-any.whl Python 3 none any Details

Total release size: 273.4 kB

Release files / threadline_review-0.2.0b3.tar.gz

Download URL threadline_review-0.2.0b3.tar.gz
Size 133.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d8632a91ab0a51ff3717044f44c20f48f7a37c446d6381bd27f05214c24dec16
BLAKE2b-256 checksum
How to use checksums
41ac5a84f77ea0111831a76db63c91574d0a684d0e867a2dd0635dc8abf7f958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / threadline_review-0.2.0b3-py3-none-any.whl

Download URL threadline_review-0.2.0b3-py3-none-any.whl
Size 140.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed22a3999d95175e76b10b27cd281f0e856d17158196ac35191773e2dbd3a40e
BLAKE2b-256 checksum
How to use checksums
212d46e9a07745e34d8eefba783fe2753b37510d83ea90c678c852ca99d74352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log
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