Skip to main content

trrack

PyPI

Branching history for Python state. ProvenanceGraph keeps every state you record as a node in a tree. You can undo, redo, jump to any node, and branch off an earlier one.

trrack is pure Python and has no UI dependencies. For widgets in notebooks, see trrack-widget.

Install

uv add trrack          # or: pip install trrack

Use

from trrack import ProvenanceGraph

g = ProvenanceGraph({"count": 0}, now="t0")
g.commit({"count": 1}, now="t1")

g.undo()                 # back to {"count": 0}
g.current.state          # {"count": 0}

Docs

Read the guide and the API reference at kirangadhave.me/trrackpy/core.

License

BSD-3-Clause. Part of the trrackpy monorepo.

Metadata

Release files for trrack 0.1.1

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

Source distribution (sdist)

Source distribution for trrack 0.1.1
File Size Uploaded Provenance Actions
trrack-0.1.1.tar.gz 6.9 kB With provenance Details for trrack-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 12.9 kB

Release files / trrack-0.1.1.tar.gz

Download URL trrack-0.1.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
eeff2070cdf5e0aec8af74922335b005a7231fd8c7c29331c439f9814e70a134
BLAKE2b-256 checksum
How to use checksums
3c939a47f38dd1f1c0fc533f2ecc013d01cf8e6caea2dccb8daaf4b6c8524caa
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 24, 2026.

Transparency log

Release files / trrack-0.1.1-py3-none-any.whl

Download URL trrack-0.1.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f43e970e7e1917134c25efb3e8674e517c9dc87f08a983dbc91d5e3a23493de7
BLAKE2b-256 checksum
How to use checksums
3cb3a0493c39e303880474dd0a98578fc8618a8832041b270f8a547d4b01fa58
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 24, 2026.

Transparency log

Security for trrack 0.1.1

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 trrack-0.1.1.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 24, 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