Skip to main content

A Jupyter widget for Mosaic

Project description

Mosaic Widget

PyPi

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mosaic_widget-0.28.1.tar.gz (305.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mosaic_widget-0.28.1-py3-none-any.whl (308.5 kB view details)

Uploaded Python 3

File details

Details for the file mosaic_widget-0.28.1.tar.gz.

File metadata

  • Download URL: mosaic_widget-0.28.1.tar.gz
  • Upload date:
  • Size: 305.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mosaic_widget-0.28.1.tar.gz
Algorithm Hash digest
SHA256 56cb3ef1f6ac5b0037b240b71adefda20a1685721f2a52044cf31c30b6efc9c9
MD5 5dc327c39c50dc158d84ec8e921e6a35
BLAKE2b-256 d6b1697b7c08c4dadd49960de83d8411cf260e0fe5e0d4bed4fb06e6187dd2a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mosaic_widget-0.28.1.tar.gz:

Publisher: release.yml on uwdata/mosaic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mosaic_widget-0.28.1-py3-none-any.whl.

File metadata

  • Download URL: mosaic_widget-0.28.1-py3-none-any.whl
  • Upload date:
  • Size: 308.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mosaic_widget-0.28.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbcfd41487dde58b90d1d78afb2b3a1b76313f0cb6615fd1642348b092aed5d5
MD5 b2648c7b569e7d7b6f57d7307f01b45e
BLAKE2b-256 ddc4566a1f77337d13d6bbfa895411bc3d089a4c6bf78a4e8e9e1045d13a5abb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mosaic_widget-0.28.1-py3-none-any.whl:

Publisher: release.yml on uwdata/mosaic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page