jupyterlab-pygments
Pygments theme using JupyterLab CSS variables
Install
jupyterlab-pygments on PyPI
pip
pip install jupyterlab-pygmentsuv
uv add jupyterlab-pygmentspoetry
poetry add jupyterlab-pygmentsPackage facts
| License | Copyright (c) 2015 Project Jupyter Contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 994 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: jupyterlab_pygments-0.3.0-py3-none-any.whl
About jupyterlab-pygments
from the package's own PyPI description — quoted content, verbatim
JupyterLab Pygments Theme
This package contains a syntax coloring theme for pygments making use of the JupyterLab CSS variables.
The goal is to enable the use of JupyterLab's themes with pygments-generated HTML.
Screencast
In the following screencast, we demonstrate how Pygments-highlighted code can make use of the JupyterLab theme.
Installation
jupyterlab_pygments can be installed with the conda package manager
conda install -c conda-forge jupyterlab_pygments
or from pypi
pip install jupyterlab_pygments
Dependencies
jupyterlab_pygmentsrequires pygments version2.4.1.- The CSS variables used by the theme correspond to the CodeMirror syntex coloring
theme defined in the NPM package @jupyterlab/codemirror. Supported versions for
@jupyterlab/codemirror's CSS include0.19.1,^1.0, and,^2.0.
Limitations
Pygments-generated HTML and CSS classes are not granular enough to reproduce all of the details of codemirror (the JavaScript text editor used by JupyterLab).
This includes the...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides a syntax-highlighting theme for Pygments that applies JupyterLab's CSS variables, enabling JupyterLab's visual styling in Pygments-generated HTML output.
Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant (994 days since last release in November 2023), but the repository remains active with 80 stars and supports Python 3.8–3.12.
BSD license (permissive); you may use, modify, and distribute this package freely provided you retain copyright notices and disclaimers.
Usage
pip install jupyterlab_pygments
from jupyterlab_pygments import JupyterStyle
Verdict: A lightweight, dependency-free theme package that brings JupyterLab's visual style to syntax-highlighted code. Dormant maintenance and no known vulnerabilities make it stable for existing projects, though updates to JupyterLab's themes will not be reflected without a new release.
Needs verification
- Whether Pygments 2.4.1 is an automatic runtime dependency or must be installed separately.
- Current compatibility with JupyterLab 4.x and recent versions of the underlying theme dependency.
- How the theme integrates with code generation workflows in practice.
Similar packages
permissive · top 1,000 on PyPI
Pygmentspermissive · top 100 on PyPI
prompt_toolkitpermissive · top 1,000 on PyPI
jupyterlab-serverpermissive · top 1,000 on PyPI
Sphinxpermissive · top 1,000 on PyPI
jupyter-builderpermissive · top 1,000 on PyPI
jupyterlabpermissive · top 1,000 on PyPI
notebookpermissive · top 1,000 on PyPI
jupyterlab-widgetspermissive · top 1,000 on PyPI
jupyter-lsppermissive · top 1,000 on PyPI