Ξ JupyterLab Theme for Christmas
Design by Isabela Presedo-Floyd, coded with the help of Jovyans at Quansight
Use
conda create -y -n jupyterlab-theme-christmas python=3.8 && \
conda activate jupyterlab-theme-christmas && \
pip install --pre jupyterlab==3.0.0rc10 jupyterlab_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 jupyterlab-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
Metadata
Release files for jupyterlab-theme-christmas 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterlab_theme_christmas-0.1.2.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterlab_theme_christmas-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.7 kB
Release files / jupyterlab_theme_christmas-0.1.2.tar.gz
| Download URL | jupyterlab_theme_christmas-0.1.2.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6f3eac0e36564c613184c7f16453108e404353ccc4046d0bcdd17bbe54183fd
|
|
BLAKE2b-256 checksum How to use checksums |
bdf6d6315466a186a91e65753bf12512182abfc8f5fe51c2d9a031e0d92c2619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|
Release files / jupyterlab_theme_christmas-0.1.2-py3-none-any.whl
| Download URL | jupyterlab_theme_christmas-0.1.2-py3-none-any.whl |
|---|---|
| Size | 47.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17bb0d3a9efd82223b327b7a6986464365f908eaebc2df79f1a5c5f341e72247
|
|
BLAKE2b-256 checksum How to use checksums |
a56e94e7dfbd2c66bc44df0aa1a3d33a10f4cb217f35ff14d9b51068447ddd0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|