Skip to main content

A Jupyter widget for mosaic

Project description

Mosaic Widget

A Jupyter Widget for Mosaic. Create interactive Mosaic plots over Pandas and Polars dataframes or DuckDB connections.

Learn how to install and use the widget in the Mosaic documentation.

Developer Setup

We use hatch to manage our development setup.

To activate the environment, run hatch shell.

This should install the widget in development mode so you can start Jupyter.

You can start Jupyter with jupyter lab --notebook-dir=../../dev/notebooks. If you cannot import the widget module, make sure that your Jupyter uses the right environment. You can add your environment to Jupyter by running python -m ipykernel install --user --name=mosaic and then select mosaic in the Jupyter environment dropdown.

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 and change _DEV = False to _DEV = True inside mosaic_widget/__init__.py.

Publishing

First, make sure that you set _DEV = False. Run the build with npm run build and hatch build. Then publish with hatch publish.

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

Uploaded Source

Built Distribution

mosaic_widget-0.2.0-py3-none-any.whl (247.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mosaic_widget-0.2.0.tar.gz
  • Upload date:
  • Size: 246.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for mosaic_widget-0.2.0.tar.gz
Algorithm Hash digest
SHA256 23d564c36f26bedd2848c22899a1fcc7e04b1b6bd2c121c3e48c57241725977f
MD5 e5fbf25cb21d25f05ea928f11b55a698
BLAKE2b-256 69bc7e744e69d05631433d463f5ddbfcdbf22a815cc3f422116fd09d089d6cd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mosaic_widget-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16b4cf996eb51d727ab862649db3f1744efc708bc87c5d60117fd3a05674f4c7
MD5 d1957af929aac48b5987ecec85bcc709
BLAKE2b-256 7542a6d703267925bf44ea07a8bad9bdb7038199872b94bb7a9513dafffae1b6

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