跳转到主要内容

JupyterLab主题冬季,由Isabela Presedo-Floyd设计

项目描述

Datalayer

Ξ 冬季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

待办事项

开发

# 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-py3-none-any.whl (44.4 kB 查看散列值)

上传时间 Python 3

支持者