Skip to main content

JupyterLab Material Night Eighties theme

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

  • node/npm
  • python
    • jupyterlab >= 3.1
    • jupyter-packaging
  • typescript

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.7.tar.gz (117.0 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.7.tar.gz.

File metadata

  • Download URL: jupyterlab_material_night_eighties-0.2.7.tar.gz
  • Upload date:
  • Size: 117.0 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.7.tar.gz
Algorithm Hash digest
SHA256 109a872dee708a184a8e440fa5ed69e68f529f94bebf41b1a028952591d7d229
MD5 7e6a5220922a3a39e6b1a6083efbc432
BLAKE2b-256 5cf570f81c0ea6bf7f436345f9ee43058b993e95c75023fdea7850d2b63080d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jupyterlab_material_night_eighties-0.2.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e0dbd3cfda94d3578da18340c3cac9b733d3236b72e85eec618a34757ea7d85b
MD5 93752949f8ad11097bca7ca68579e2e7
BLAKE2b-256 6838cbefa90fc63d9e464efb13b3fbeb48fbb162aba3f7cd62c9762569ee9680

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