Skip to main content

A jupyterlab theme inspired by material darker

Project description

JupyterLab Material Night Eighties theme

Build Node.js Package

Theme for jupyterlab based on jupyterlab/theme-cookiecutter, inspired by oriolmirosa/jupyterlab_materialdarker, arbennett/jupyterlab-themes, and base16

Installation

# currently not published to pip
pip install jupyterlab_material_night_eighties

Themes can be installed directly from npm using the standard JupyterLab installation method:

jupyter labextension install @ninerealmlabs/jupyterlab_material_night_eighties

Themes can also be installed from source. From a theme's subdirectory:

npm install
jupyter labextension link .

Screenshots

material_darker

Requirements

  • JupyterLab >= 3.1

Development install

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the jupyterlab_material_night_eighties directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch

Run JupyterLab in another terminal

jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Uninstall

pip uninstall jupyterlab_material_night_eighties
jupyter labextension uninstall @ninerealmlabs/jupyterlab_material_night_eighties
# may have to delete file manually
rm -rf /path/to/envs/ENVNAME/share/jupyter/labextensions/@ninerealmlabs/jupyterlab_material_night_eighties

Bumping versions

Via arbennett/jupyterlab-themes

Because I have cobbled together a strange workflow for updating all of the themes at once it's a bit unwieldy to update the versioning consistently. This is the command I use (mostly for my own sake):

CURRENT_VERSION="v0.2.5"
NEW_VERSION="v0.2.6"
# add blank '' for mac sed
sed -i '' "s/\"version\": \"${CURRENT_VERSION}\"/\"version\": \"${NEW_VERSION}\"/g" ./**/package.json
sed -i '' "s/\"version\": \"${CURRENT_VERSION}\"/\"version\": \"${NEW_VERSION}\"/g" ./**/package-lock.json
npm install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_material_night_eighties-0.2.6.tar.gz (115.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file jupyterlab_material_night_eighties-0.2.6.tar.gz.

File metadata

  • Download URL: jupyterlab_material_night_eighties-0.2.6.tar.gz
  • Upload date:
  • Size: 115.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for jupyterlab_material_night_eighties-0.2.6.tar.gz
Algorithm Hash digest
SHA256 81e412a5967b28d024d8c14d1176a3b523b5d0cc99952bd48b912bb96f87838d
MD5 27486fd31fa7a44887fd3f1db693f578
BLAKE2b-256 322221f7a93f74e0a800fb36f2b1e93c0faa7d7f27a7cf653cc95723fb50c89b

See more details on using hashes here.

File details

Details for the file jupyterlab_material_night_eighties-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_material_night_eighties-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for jupyterlab_material_night_eighties-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1e96e88af8b3cfdf75f10d616e7b383ed7e3318e0a9cdbc20bd525ce7bfe7595
MD5 ff840ae98b0f3fd9a0aecf01e1c08ecc
BLAKE2b-256 50bddb9f836edf0c0c7ce21984514affe5120eefb53e7c473ff040217054947c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page