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 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.

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.12.0.tar.gz (291.1 kB view details)

Uploaded Source

Built Distribution

mosaic_widget-0.12.0-py3-none-any.whl (293.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mosaic_widget-0.12.0.tar.gz
  • Upload date:
  • Size: 291.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for mosaic_widget-0.12.0.tar.gz
Algorithm Hash digest
SHA256 bdea6f2189feb8a96b78a8c8e2dd89ea11e729620d7d11f73bde01528fdfd9ab
MD5 ccc3f098ee7396693ebd1afe7c7903f8
BLAKE2b-256 e396c6b6cf040cd585be6a97aa733007081f2efeae5735aa8e8a60543a2149c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mosaic_widget-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06eaf31f04fb18ee35c7c73a449ea91db895d7b8123783922c1ddf168f008aa5
MD5 3287e1fb5a78bb574674eec3c6697d78
BLAKE2b-256 f2c519fb10fc895186fe5f2de860a18e13f4d51b01bff0083253afbbc5919be5

See more details on using hashes here.

Supported by

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