JupyterLab主题冬季,由Isabela Presedo-Floyd设计
项目描述
Ξ 冬季JupyterLab主题
由Isabela Presedo-Floyd设计,由Quansight的Jovyans帮助编码
使用
conda create -y -n jupyterlab-theme-winter python=3.8 && \
conda activate jupyterlab-theme-winter && \
pip install --pre jupyterlab==3.0.0rc10 jupyterlab_theme_winter --upgrade --force-reinstall
# How to launch jupyter lab with a defined theme?
mkdir -p ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension && \
CONF="{ \"theme\": \"JupyterLab Winter\" }" && \
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-winter
# 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_winter-0.1.0.tar.gz (20.6 KB 查看哈希值)
构建分发
关闭
jupyterlab_theme_winter-0.1.0.tar.gz 的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 2f13956c572a91ebbfe1e260c332e6a5eeaaf1140b8a3a1f9c87538bb35028a5 |
|
MD5 | de4f6c5c0737c3c38dc5cb530cf283ef |
|
BLAKE2b-256 | 2cc319945babc22d85a784faefdd935aa0fd7a02cc4ca30e38e6f9ed08814b4d |
关闭
jupyterlab_theme_winter-0.1.0-py3-none-any.whl 的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | c3a77528284a3f43601e2e948e5d374d80fc46d4c27cb2cd15163ef3fdf26ad2 |
|
MD5 | 6caec1909acebd96c66b9d99bca4b50e |
|
BLAKE2b-256 | 7d6426ec3aa99733210f292fe16d83ca99077537f342b0df0e083ee39c18c771 |