Skip to main content

jupyter widget with parallel coords that enables interactive sonification

Project description

parchords-jupyter

PyPI-Server

jupyter widget with parallel coords that enables interactive sonification

Installation

You can install using pip:

pip install parchords_jupyter

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] parchords_jupyter

Development Installation

Create a dev environment:

conda create -n parchords_jupyter-dev -c conda-forge nodejs python jupyterlab
conda activate parchords_jupyter-dev

or

python -m venv venv
source venv/Scripts/activate
python -m pip install -U pip setuptools
pip install 'jupyterlab>=3.6.5,<4' jupyter-packaging # nodejs

For a development installation the version of the python package jupyterlab and the npm package @jupyterlab/builder need to match.

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 .
npm run build

For classic notebook, you need to run:

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

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
npm 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.

Updating the version

To update the version, install tbump and use it to bump the version. By default it will also create a tag.

pip install tbump
tbump <new-version>

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

parchords_jupyter-0.1.1.tar.gz (737.1 kB view details)

Uploaded Source

Built Distribution

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

parchords_jupyter-0.1.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file parchords_jupyter-0.1.1.tar.gz.

File metadata

  • Download URL: parchords_jupyter-0.1.1.tar.gz
  • Upload date:
  • Size: 737.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for parchords_jupyter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4f23d7be39b759ab16d03fbb2cf5dd715a56a467a8b19510db7c88b773d0d5d
MD5 bdd2117681297b88e1fb6d840330e463
BLAKE2b-256 085dd5f77102c29411e41b155f7004c75c305f2666edf712e54ccc57afe84e22

See more details on using hashes here.

File details

Details for the file parchords_jupyter-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for parchords_jupyter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d678f6f2ce6ebba7d63d1f64c407ca68f592a858d297e9bd0699603cdbac829
MD5 29edb446ad91713f46da079e42504607
BLAKE2b-256 d1a0a533f41d1aac4d802795c2182ff228669ba87af19778b90bcd01ec8f2399

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