trrack-widget
Track the state of anywidget widgets.
Persistedsaves a widget's state and restores it the next time it loads.Trrackablerecords every change as a history you can undo, redo, and branch.
Install
uv add trrack-widget # or: pip install trrack-widget
Use
from trrack_widget import JsonFileStore, Persisted, Trrackable
Persisted(counter, store=JsonFileStore("state.json")) # comes back as you left it
Trrackable(counter) # undo, redo, and branch
Docs
Read the guides, the examples, and the API reference at kirangadhave.me/trrackpy.
Requirements
- The wrapped widget must be an anywidget.
- marimo 0.23.14 or later, or Jupyter with anywidget 0.11 or later.
License
BSD-3-Clause. Part of the trrackpy monorepo.
Metadata
Release files for trrack-widget 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trrack_widget-0.1.1.tar.gz | 22.9 kB | With provenance | Details for trrack_widget-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trrack_widget-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for trrack_widget-0.1.1-py3-none-any.whl |
Total release size: 48.8 kB
Release files / trrack_widget-0.1.1.tar.gz
| Download URL | trrack_widget-0.1.1.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fd68b697a37c4f557c2852713cc0bb43b8a3c3ece2de861151db008f2993861
|
|
BLAKE2b-256 checksum How to use checksums |
e89bde738703b1bbfbc2b27df4a7abab35e60869184a70a37b8eb18608699ca1
|
| 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 logRelease files / trrack_widget-0.1.1-py3-none-any.whl
| Download URL | trrack_widget-0.1.1-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb9d68ee6d4a20dcc5ac45d5a7fb53810200096add53fe2255250573d95f3ebe
|
|
BLAKE2b-256 checksum How to use checksums |
5aec31174ad118e34ef5ddc18695427c2f0a199b722d20e698c21c17f4dad44d
|
| 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 logSecurity for trrack-widget 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.
Attestation for trrack_widget-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 logA 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.