Skip to main content

A Custom Jupyter Widget Library

Project description

npm version PyPI version Documentation Status Binder Twitter Follow

Lux is a library designed to make data science easier and facilitate fast experimentation with data. You can learn more about Lux by referring to the core Lux API in Python. This is the Jupyter widget frontend for Lux, written in Typescript and React.

Here is an example of the Lux widget in action.

Basic recommendations in Lux

You can find the full demo example in this live notebook.

Installation

For either Jupyter Notebooks or JupyterLab (versions 3.0 and above), you can install via pip or conda:

pip install lux-api

or

conda install -c conda-forge lux-api

Setup in Jupyter Notebook, VSCode

Setup in Jupyter Notebook, VSCode, JupyterHub

To use Lux with any Jupyter notebook-based frontends (e.g., Jupyter notebook, JupyterHub, or VSCode), activate the notebook extension:

jupyter nbextension install --py luxwidget
jupyter nbextension enable --py luxwidget

If the installation happens correctly, you should see two - Validating: OK after executing the two lines above. Note that you may have to restart the Jupyter Notebook server to ensure that the widget is displaying correctly.

Setup in Jupyter Lab

Lux is compatible with both Jupyter Lab version 2 and 3. To use Lux in Jupyter Lab, activate the lab extension:

jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install luxwidget

Note that JupyterLab and VSCode is supported only for lux-widget version >=0.1.2, if you have an earlier version, please upgrade to the latest version of lux-widget. Lux has only been tested with the Chrome browser.

If you encounter issues with the installation, please refer to this page to troubleshoot the installation. Follow these instructions to set up Lux for development purposes.

Documentation and Support

For detailed reference, please refer to the documentation page. Please report any bugs, issues, or requests through Github Issues or post on the #help channel in the Lux Slack org.

Lux has only been tested with Jupyter notebook and Chrome - there have been issues with other browsers and we advise using Chrome.

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

lux-widget-0.1.11.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file lux-widget-0.1.11.tar.gz.

File metadata

  • Download URL: lux-widget-0.1.11.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for lux-widget-0.1.11.tar.gz
Algorithm Hash digest
SHA256 063882e783399991040af4bb0ec04aea0df2eb39ea17c021a02e1ed80bf7fc9c
MD5 ade42a406f8a061f6109b78aa9afc55e
BLAKE2b-256 f0133830dbea402537b7fc17be02d5f5ee0c2b87b1a89881664983bf078fb33d

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