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.21.0.tar.gz (301.7 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.21.0-py3-none-any.whl (304.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mosaic_widget-0.21.0.tar.gz
  • Upload date:
  • Size: 301.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for mosaic_widget-0.21.0.tar.gz
Algorithm Hash digest
SHA256 2e268c7c1c781498f2deb50f658694fac83db5abf4a5d5b6cf55cf3b781ca2c3
MD5 f5950887f6e8d06ba04d75cba4fa4cb0
BLAKE2b-256 e32045e5ba9433e4d90825c5b111015cb4389ad737ae86fb4b90bc34688154f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mosaic_widget-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 304.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for mosaic_widget-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 750f0c06431e25c4661b96572222337eea0f65fe2762fdb0e44845852a0903aa
MD5 4aed6b1cef8a0722019ee9a29ef2b0b4
BLAKE2b-256 e0cbd56d4c4c3b0ab972992b6cece19fcf959e3bc9d2467d912e132c444fbc4a

See more details on using hashes here.

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