A Jupyter widget for react-colorful.
Project description
ipycolorful
A Jupyter widget for react-colorful.
References
- ipywidgets documentation and repo.
- Building a Custom Widget - Email widget tutorial.
- Build a Jupyter Widget with React and TypeScript blog post by John Waidhofer.
- jupyter-widget-react-cookiecutter template by John Waidhofer.
- react-colorful package.
- widget-cookiecutter template.
- How To Add Custom Build Steps and Commands To setup.py blog post by Chuan Ji.
- Creating Reactive Jupyter Widgets With Svelte blog post by Alex Cabrera.
- widget-svelte-cookiecutter template by Alex Cabrera.
- How to delete a tag in Git blog post by Manik Rathee.
Development
mamba env create -f environment.yml
ormamba create -n ipycolorful-dev -c conda-forge jupyterlab jupyter-packaging nodejs yarn python
.conda activate ipycolorful-dev
.pip install -e .
+conda list
.- JupyterLab (source):
jupyter labextension develop --overwrite .
. - Jupyter Notebook/classic notebook (source):
jupyter nbextension install --sys-prefix --symlink --overwrite --py ipycolorful
.jupyter nbextension enable --sys-prefix --py ipycolorful
.
yarn run clean
+yarn run build
.jupyter lab
orjupyter notebook
.
Deployment
conda activate ipycolorful-dev
.- Update the version in the
package.json
,ipycolorful/_version.py
, and/oripycolorful/_frontend.py
files. npm pack --dry-run
.yarn login
.yarn publish
.yarn run clean
.python -m build --no-isolation .
.- After removing the old files:
twine check dist/ipycolorful*
(vs.twine check dist/*
).twine upload dist/ipycolorful*
(vs.twine upload dist/*
).
git tag 0.1.0
(update the version).git tag
.- GitHub Desktop +
git push --tags
.
Notes
- mamba:
mamba --version
.- Documentation.
conda
should be used for activation and deactivation.- Reimplement: mamba env create -f env.yml (open) issue.
conda deactivate
+mamba env remove -n ipycolorful-dev
(source).
- conda-forge.
- conda-lock.
- ipycanvas.
- bqplot.
- babel-loader.
.yarnrc
file.- Node.js releases.
- Collection of React Hooks.
- check-manifest:
check-manifest --help
.check-manifest -v
.check-manifest -u -v
.check-manifest
became super slow (open) issue.- Alternative: manifix.
- setup-cfg-fmt:
setup-cfg-fmt setup.cfg
.
- Taplo:
- @jupyterlab/builder package:
- Try to match the version with that of
jupyterlab
(Python). - Configuration (
package.json
file). - CLI (and
generateConfig()
).
- Try to match the version with that of
- gitignore_parser package.
- Rendering Interactive Widgets on nbviewer.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ipycolorful-0.1.1.tar.gz
(67.4 kB
view details)
Built Distribution
File details
Details for the file ipycolorful-0.1.1.tar.gz
.
File metadata
- Download URL: ipycolorful-0.1.1.tar.gz
- Upload date:
- Size: 67.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.11.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46fd833fc7d0df52102bc791afd6694f7d437856737b73c3dd0c76ff759005cc |
|
MD5 | 8acfa71203bc2c8a9b09a09c86a5eb0b |
|
BLAKE2b-256 | 1976b8da9c566e292181ac4f001ab813f6bff1e162de63f46021d82d5db9a912 |
File details
Details for the file ipycolorful-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ipycolorful-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 146.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.11.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd35ec8fff6bf4f5c1e789c2bc1d9b682452b7197a08e399effb7efa68502fd9 |
|
MD5 | b68698207ee9a7723b7aba156f0edad4 |
|
BLAKE2b-256 | c5034bf0392dae225f0793aefbbc9c9149518146d3869dae57f00d578e41fd13 |