1.0.0 • Published 4 years ago

jupyterlab-tabular-data-editor v1.0.0

Weekly downloads
122
License
BSD-3-Clause
Repository
github
Last release
4 years ago

Documentation | Contributing

jupyterlab-tabular-data-editor

Manipulate your tabular data responsively and effectively within JupyterLab.

Binder Github Actions Status Documentation Status npm npm

EXPERIMENTAL: This extension is still in alpha. The API is subject to frequent changes.

npm.io

Try our extension here!

Read more about the Jupyter Tabular Data Editor Extension in our press release!

  • Note: This is a forward-looking press release and serves to provide a vision of the final product. Not all features in this press release are currently implemented.

Check out our current progress and future plans!

See our progress as of 08/27/2020 from these slides!

Feature Showcase

Requirements

  • JupyterLab >= 2.0

Install

JupyterLab 3:

pip install jupyterlab-tabular-data-editor

JupyterLab 2:

jupyter labextension install jupyterlab-tabular-data-editor

Contributing

Development install

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the jupyterlab-tabular-data-editor directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Uninstall

For JupyterLab 3:

pip uninstall jupyterlab-tabular-data-editor

For JupyterLab 2:

jupyter labextension uninstall jupyterlab-tabular-data-editor