Skip to main content

JupyterLab spreadsheet (csv/tsv) editor

Project description

JupyterLab Spreadsheet Editor

Github Actions Status

JupyterLab spreadsheet editor enables interactive editing of comma/tab separated value spreadsheets. It support formulas, sorting, column/row rearrangements and more!

Note: you might be interested to checkout tabular-data-editor, which however only works with old JupyterLab 2.0

Showcase

Fully featured integration

  • row/column operations, column width adjustment
  • search and replace

Formula support basic formula calculation (rendering) - as implemented by jExcel.

Column freezing for exploration of wide datasets with many covariates

Launcher items: create CSV/TSV files easily from the launcher or the palette.

Lightweight and reliable dependencies: the spreadsheet interface is built with the jexcel, while Papa Parse provides very fast, RFC 4180 compatible CSV parsing (both have no third-party dependencies).

Requirements

  • JupyterLab >= 3.0

Install

pip install jupyterlab-spreadsheet-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 spreadsheet-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

pip uninstall jupyterlab-spreadsheet-editor

Related extensions

Spreadsheet editors:

Spreadsheet viewers:

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

jupyterlab-spreadsheet-editor-0.5.0.tar.gz (217.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_spreadsheet_editor-0.5.0-py3-none-any.whl (255.8 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab-spreadsheet-editor-0.5.0.tar.gz.

File metadata

  • Download URL: jupyterlab-spreadsheet-editor-0.5.0.tar.gz
  • Upload date:
  • Size: 217.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.1

File hashes

Hashes for jupyterlab-spreadsheet-editor-0.5.0.tar.gz
Algorithm Hash digest
SHA256 fd6da38c901bc22b7f358045c30cb0b4f45a5ad81478ceba0a8e90641dfc81ed
MD5 39e18b6e2c00b4a3cd73046933b13a21
BLAKE2b-256 54789080becd9cb14c1d215c3d050aa40f5297e0ff97beada0a173b545180ce7

See more details on using hashes here.

File details

Details for the file jupyterlab_spreadsheet_editor-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_spreadsheet_editor-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 255.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.1

File hashes

Hashes for jupyterlab_spreadsheet_editor-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7271b7a2b69011d6164e755d9be644efc67987dca4b1ee0f35a19afab2c1e3c7
MD5 56882ce05b0a7807405703db16ee6ec6
BLAKE2b-256 436ecb16f94c1cb14726c8e27aa183426084a120de98c089e4a8bc6245cc9c1a

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