JupyterLab圣诞节主题,由Isabela Presedo-Floyd设计
项目描述
Ξ JupyterLab圣诞节主题
由Isabela Presedo-Floyd设计,在Quansight的Jovyans帮助下编码
使用
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
待办事项
- 更新启动器页面,例如https://github.com/fcollonval/jlab-enhanced-launcher
- 将variables.css简化到仅需要的CSS?
- 添加更多类似https://github.com/timkpaine/jupyterlab_miami_nights中的花哨UI,例如:搜索工具 +霓虹广告牌 + 折叠器 + 霓虹灯 + 滚动条 + FM-84的"Atlas"(兼容WebKit浏览器)+ 在演示模式下的惊喜(顶部菜单 --> 查看 --> 演示模式)
开发
# 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
构建
# Generate sourcemaps.
jupyter labextension build --development True .
jupyter lab build --minimize=False
# Do not generate sourcemaps.
jupyter labextension build .
jupyter lab build
发布
pip install jupyter_packaging twine && \
python setup.py sdist bdist_wheel && \
twine upload dist/*
jlpm build:lib && \
npm publish --access public
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分布
jupyterlab_theme_christmas-0.1.2.tar.gz (22.2 kB 查看散列值)
构建的发行版
关闭
jupyterlab_theme_christmas-0.1.2.tar.gz的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | d6f3eac0e36564c613184c7f16453108e404353ccc4046d0bcdd17bbe54183fd |
|
MD5 | faf67f701fd2d997513c100e4ad321b3 |
|
BLAKE2b-256 | bdf6d6315466a186a91e65753bf12512182abfc8f5fe51c2d9a031e0d92c2619 |
关闭
jupyterlab_theme_christmas-0.1.2-py3-none-any.whl的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 17bb0d3a9efd82223b327b7a6986464365f908eaebc2df79f1a5c5f341e72247 |
|
MD5 | 77ef1c1683f1f290ffcd9102abb5b75d |
|
BLAKE2b-256 | a56e94e7dfbd2c66bc44df0aa1a3d33a10f4cb217f35ff14d9b51068447ddd0d |