Ξ JupyterLab Theme for Christmas
Design by Isabela Presedo-Floyd, coded with the help of Jovyans at Quansight
Use
conda create -y -n jupyter-theme-christmas python=3.8 && \
conda activate jupyter-theme-christmas && \
pip install --pre jupyterlab==3.0.0rc10 jupyter_theme_christmas --upgrade --force-reinstall
# How to launch jupyter lab with a defined theme?
mkdir -p ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension && \
CONF="{ \"theme\": \"JupyterLab Christmas\" }" && \
cat > ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension/themes.jupyterlab-settings <<EOF
${CONF}
EOF
jupyter lab
TODO
- Update the Launcher page with something like e.g. https://github.com/fcollonval/jlab-enhanced-launcher
- Strip down the variables.css to only the needed css?
- Bring more fancy ui like in https://github.com/timkpaine/jupyterlab_miami_nights: Search tool + neon billboard + Collapser + neon light + Scrollbar + FM-84's "Atlas" (compatible with webKit browsers) + A surprise in the presentation mode (Top menu --> View --> Presention mode)
Develop
# Build the extension and link for dev in shell 1.
jupyter labextension develop --overwrite
# List extensions.
jupyter labextension list
pip list | grep jupyter-theme-christmas
# Run and watch jupyterlab in shell 1.
jlpm watch
# Run and watch jupyterlab in shell 2.
# Look at the remote entry javascript, a webpack5 feature.
mkdir ~/notebooks && \
jupyter lab \
--dev-mode \
--watch \
--notebook-dir=~/notebooks \
--ServerApp.token= \
--extensions-in-dev-mode
Build
# Generate sourcemaps.
jupyter labextension build --development True .
jupyter lab build --minimize=False
# Do not generate sourcemaps.
jupyter labextension build .
jupyter lab build
Publish
pip install jupyter_packaging twine && \
python setup.py sdist bdist_wheel && \
twine upload dist/*
jlpm build:lib && \
npm publish --access public
Release files for jupyter-theme-christmas 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_theme_christmas-0.0.1.tar.gz | 26.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_theme_christmas-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.7 kB
Release files / jupyter_theme_christmas-0.0.1.tar.gz
| Download URL | jupyter_theme_christmas-0.0.1.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0985b669173b2aa2958a4d62753c77ce52e39649407753b893f7eb3088ff3d2
|
|
BLAKE2b-256 checksum How to use checksums |
2bf0be4a51cbecabafec1d3e754079d4f41040cdb20d3083816489b3bc4f487e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Release files / jupyter_theme_christmas-0.0.1-py3-none-any.whl
| Download URL | jupyter_theme_christmas-0.0.1-py3-none-any.whl |
|---|---|
| Size | 72.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb688764f6dd085af5c54b007a916dcf656efdb740a91e367e37d5c2dc1f54a0
|
|
BLAKE2b-256 checksum How to use checksums |
7240eee76328555b5a49e11e062086bae5738213c39f627e8fc7490930ea2903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|