Skip to main content

Pixano Element in jupyter widget

Project description

ipypixano

Build Status codecov

Pixano Element in jupyter widget

Installation

You can install using pip:

pip install ipypixano

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

Development Installation

Create a dev environment:

conda create -n ipypixano-dev -c conda-forge nodejs yarn python jupyterlab
conda activate ipypixano-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 ipypixano
jupyter nbextension enable --sys-prefix --py ipypixano

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

ipypixano-0.1.9.tar.gz (17.2 MB view details)

Uploaded Source

Built Distribution

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

ipypixano-0.1.9-py2.py3-none-any.whl (12.5 MB view details)

Uploaded Python 2Python 3

File details

Details for the file ipypixano-0.1.9.tar.gz.

File metadata

  • Download URL: ipypixano-0.1.9.tar.gz
  • Upload date:
  • Size: 17.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/6.1.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ipypixano-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a2bb9815cd2c8345bb7cdfcd93984928ab261fc46f97eb0377df4915d3616f91
MD5 4ad6127101a0123c2e9cf92b43af8c64
BLAKE2b-256 020b0c399ed9177df2b78257dc2b583fc36c7f47bfe2cccc65da75db2c7e12ee

See more details on using hashes here.

File details

Details for the file ipypixano-0.1.9-py2.py3-none-any.whl.

File metadata

  • Download URL: ipypixano-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.5 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/6.1.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ipypixano-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9e2a28cffe6002b47b96827b0953865182a007309088cb93f7237da237c2f19c
MD5 e5c96ccef9da5091e65809c8fcfcc4d0
BLAKE2b-256 fb0b96d6ffdae6955e38e8cc584f7672dbbca37a54bf4f7fa03601d6ebce1ac4

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