跳转到主要内容

JupyterLab圣诞节主题,由Isabela Presedo-Floyd设计

项目描述

Datalayer

Ξ 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

待办事项

开发

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

上传时间 Python 3

由以下支持

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误记录StatusPageStatusPage状态页面