Mosaic Widget
A Jupyter widget for Mosaic. Given a declarative specification, will generate web-based visualizations while leveraging DuckDB in the Jupyter kernel. Create interactive Mosaic plots over Pandas and Polars data frames or DuckDB connections.
Learn how to install and use the widget in the Mosaic documentation.
Developer Setup
We use uv to manage our development setup.
You can start Jupyter with ANYWIDGET_HMR=1 uv run jupyter lab --notebook-dir=../../dev/notebooks.
Run npm run build to build the widget JavaScript code. If you want to live edit the widget code, run npm run dev in a separate terminal.
Run uv run ruff check --fix and uv run ruff format to lint the code.
Publishing
Run the build with uv build. Then publish with uvx twine upload --skip-existing ../../dist/*. We publish using tokens so when asked, set the username to __token__ and then use your token as the password. Alternatively, create a .pypirc file.
Metadata
Release files for mosaic-widget 0.14.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 | |
|---|---|---|---|
| mosaic_widget-0.14.1.tar.gz | 295.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mosaic_widget-0.14.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 593.5 kB
Release files / mosaic_widget-0.14.1.tar.gz
| Download URL | mosaic_widget-0.14.1.tar.gz |
|---|---|
| Size | 295.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7ff6d71c00c9502cd6881ca2c24ca7c4685d22bba29b11fda34320eb6cb7673
|
|
BLAKE2b-256 checksum How to use checksums |
6f372eeee2779d20ae4a27d876dbb0ca9a977c548caac1e36a7cf9bcab1190da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mosaic_widget-0.14.1-py3-none-any.whl
| Download URL | mosaic_widget-0.14.1-py3-none-any.whl |
|---|---|
| Size | 298.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d8da32813ba2d6033d27d7c5dfc40607552a3a93c5e07eb98ccf84f23a9887a
|
|
BLAKE2b-256 checksum How to use checksums |
00da9a8b1f7d218911786b1ffeca84c6853517995cf586060360decffff59a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|