A Jupyter widget for Mosaic
Project description
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 pnpm build to build the widget JavaScript code. If you want to live edit the widget code, run pnpm 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mosaic_widget-0.24.2.tar.gz.
File metadata
- Download URL: mosaic_widget-0.24.2.tar.gz
- Upload date:
- Size: 304.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
468e4a54a9e4ca11243dcba4a23fac3b84b4b76d1c04ab32d491c46822deac64
|
|
| MD5 |
c07b0cc1c46584ca6a8803c3ad7370a4
|
|
| BLAKE2b-256 |
00006b1d443cc7c12a3dbc87124453b4d09f804d08d45ae9bd60ee1904f9ea27
|
File details
Details for the file mosaic_widget-0.24.2-py3-none-any.whl.
File metadata
- Download URL: mosaic_widget-0.24.2-py3-none-any.whl
- Upload date:
- Size: 307.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11555a892ab81b4935da662ff05715341e986363b7f16ed07dde67506c6757d2
|
|
| MD5 |
dd6d163719cd2502335a5f7665f50998
|
|
| BLAKE2b-256 |
729bf9b55caf111e129eefd101f61b94730d6b957e784d65db89f40feebd6f07
|