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

Uploaded Source

Built Distribution

mosaic_widget-0.12.1-py3-none-any.whl (294.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mosaic_widget-0.12.1.tar.gz
Algorithm Hash digest
SHA256 d5bc81f3cb498e5d5f325c199980b16cc7db3a45c7b51f59ad5203f83a8f5538
MD5 d9871490277069ff0b471b9032b3ca26
BLAKE2b-256 e5af7114c2892b663345a8e29de7bbd89f77eacc3521d786c8db0e9c66d2b8dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mosaic_widget-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21aa597fa4cc03b153ab208b6cc4be540913fe53ef3a29e5acf7e846eae939d8
MD5 2dc022a73649580fd69c2c93a7769b7e
BLAKE2b-256 fe73ca958e643a1a9a0e2ab421f398194d9eadc80f87769b257126292599e94b

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