ipycolorful 0.1.1

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

ipycolorful 0.1.1

ipycolorful

PyPI + npm

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 or mamba 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 or jupyter notebook.

Deployment

conda activate ipycolorful-dev.
Update the version in the package.json, ipycolorful/_version.py, and/or ipycolorful/_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:

VS Code extension.
Repo.
Online editor.
Configuration.
Validation schemas.


@jupyterlab/builder package:

Try to match the version with that of jupyterlab (Python).
Configuration (package.json file).
CLI (and generateConfig()).


gitignore_parser package.
Rendering Interactive Widgets on nbviewer.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.