Skip to main content

Table view widget

Project description

ipytableview

Build Status codecov

Table view widget

Installation

You can install using pip:

pip install ipytableview

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:

jupyter nbextension enable --py [--sys-prefix|--user|--system] ipytableview

Development Installation

Create a dev environment:

conda create -n ipytableview-dev -c conda-forge nodejs yarn python jupyterlab
conda activate ipytableview-dev

Install the python. This will also build the TS package.

pip install -e ".[test, examples]"

When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For lab, this is done by the command:

jupyter labextension develop --overwrite .
yarn run build

For classic notebook, you need to run:

jupyter nbextension install --sys-prefix --symlink --overwrite --py ipytableview
jupyter nbextension enable --sys-prefix --py ipytableview

Note that the --symlink flag doesn't work on Windows, so you will here have to run the install command every time that you rebuild your extension. For certain installations you might also need another flag instead of --sys-prefix, but we won't cover the meaning of those flags here.

How to see your changes

Typescript:

If you use JupyterLab to develop then 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 widget.

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

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

Python:

If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

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

ipytableview-0.1.5.tar.gz (594.0 kB view details)

Uploaded Source

Built Distribution

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

ipytableview-0.1.5-py2.py3-none-any.whl (819.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ipytableview-0.1.5.tar.gz.

File metadata

  • Download URL: ipytableview-0.1.5.tar.gz
  • Upload date:
  • Size: 594.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ipytableview-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6a967f7f7bd48efc2826e547edd31c9b79b3feaf915f559bff0019de9332996e
MD5 bfe313ba5974270c4eedab0538150d2c
BLAKE2b-256 f129ed29aaabc44787f22ccb2b125de00d2244b3634b9fe26b61281975d8c046

See more details on using hashes here.

File details

Details for the file ipytableview-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: ipytableview-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 819.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ipytableview-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 667bdd439f4f862cd7a5a1c687230b3bab4535aec8795d9bf395720f77816ea2
MD5 67a89ae1f96be611d37faa51e3d22cc9
BLAKE2b-256 eb08d9c5771ca7eff564763a93e6a5213c4763823c3cb8445c481fcf409b941c

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