alignviz-anywidget
An anywidget project scaffold for building alignment visualization widgets used in marimo notebooks.
This repo is organized similarly to iiif-anywidget:
- Python source in
src/alignviz_anywidget - JavaScript source in
js/src - Bundled widget assets in
src/alignviz_anywidget/static - Marimo examples in
marimo - Smoke scripts in
scripts
Project layout
.
├── pyproject.toml
├── js/
│ ├── package.json
│ └── src/index.js
├── marimo/
│ └── demo.py
├── scripts/
│ └── smoke_widget.py
└── src/
└── alignviz_anywidget/
├── __init__.py
├── widget.py
└── static/
└── index.js
1) Create and activate a Python environment
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
2) Install Python and JS dependencies
pip install -e ".[dev]"
cd js
npm install
cd ..
3) Build widget frontend assets
cd js
npm run build
cd ..
For active development in one terminal:
cd js
npm run dev
4) Run marimo demo
In another terminal:
source .venv/bin/activate
marimo run marimo/demo.py
5) Smoke test
python scripts/smoke_widget.py
Packaging notes
hatch-jupyter-builderruns the JS build during wheel/sdist builds.- The static assets are included as shared data for notebook environments.
Build a package:
python -m pip install build
python -m build
Next customization points
- Add more synced traits in
src/alignviz_anywidget/widget.py. - Implement richer alignment rendering in
js/src/index.js. - Add additional marimo examples in
marimo/.
Metadata
Release files for alignviz-anywidget 0.1.0
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 |
|---|---|---|---|---|
| alignviz_anywidget-0.1.0.tar.gz | 11.3 kB | With provenance | Details for alignviz_anywidget-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alignviz_anywidget-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for alignviz_anywidget-0.1.0-py3-none-any.whl |
Total release size: 20.6 kB
Release files / alignviz_anywidget-0.1.0.tar.gz
| Download URL | alignviz_anywidget-0.1.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4308ef466bbccba23f7d87e541babc53fab36a49d7a888f625fb9958813900c9
|
|
BLAKE2b-256 checksum How to use checksums |
174f0dfb457d26aa824b0c11ba9d9c4df00b4e66f3a64474fb27003dd595ba83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 16, 2026.
Transparency logRelease files / alignviz_anywidget-0.1.0-py3-none-any.whl
| Download URL | alignviz_anywidget-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
258b91029d977286e53724819087fb958229441a6013b98f55db51df67814587
|
|
BLAKE2b-256 checksum How to use checksums |
3ecd6f2e6ce749bae78c579c3281e1ef597e990e1efcb454958f93fbf8e1a719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 16, 2026.
Transparency logSecurity for alignviz-anywidget 0.1.0
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 alignviz_anywidget-0.1.0.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 Mar 16, 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.