Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ipypolaroid

Build Status codecov

A Custom Jupyter Widget Library

Installation

You can install using pip:

pip install ipypolaroid

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

Development Installation

Create a dev environment:

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

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.

Metadata

Release files for ipypolaroid 0.1.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipypolaroid 0.1.1.dev0
File Size Uploaded
ipypolaroid-0.1.1.dev0.tar.gz 4.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipypolaroid 0.1.1.dev0
File Interpreter ABI Platform
ipypolaroid-0.1.1.dev0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.9 MB

Release files / ipypolaroid-0.1.1.dev0.tar.gz

Download URL ipypolaroid-0.1.1.dev0.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2e53ff949f707cfbb3aaff1c130dae5a32cae6ef595bc564e99bd9a91ef59cf0
BLAKE2b-256 checksum
How to use checksums
bf097cce9c8d2be04239e148f91bcd377fe049c4fbc5fd628ac9cce96ce6c347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / ipypolaroid-0.1.1.dev0-py2.py3-none-any.whl

Download URL ipypolaroid-0.1.1.dev0-py2.py3-none-any.whl
Size 7.9 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2915de59cc8e31f6d97f65b0eae11b9bd1332a37ec848e06a3cf03f01712416c
BLAKE2b-256 checksum
How to use checksums
8546cc762836f9bd4d05f5123a14908c9504af058eebec46245c237cdc252232
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.1.1.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page