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

Uploaded Source

Built Distribution

mosaic_widget-0.18.0-py3-none-any.whl (299.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mosaic_widget-0.18.0.tar.gz
Algorithm Hash digest
SHA256 5e722d954e4094ffed09a36673fac17cb066c1b0fba9b996e147a32573c2b4b0
MD5 1aeec6a46d46e50154fd6c784e7757c4
BLAKE2b-256 f04807f12e937b20984c50081662873026218a971e11bfdd79cff51e39cb5d21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mosaic_widget-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a33e5377c9a7272d410746562cc5e582c2995967dd7aa2ba13c9d1611542ecb3
MD5 4bb89caa2b7c640c30619a46c8eb1329
BLAKE2b-256 e5b238c7d6bd7b0a3a3153a9b7c4ac28a4e56ff54732b53285612aabf5a37642

See more details on using hashes here.

Supported by

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