Skip to main content

Color Schemes for Jupyter Qt Console

Project description

Author:

Joon Ro

Contact:

joon.ro@outlook.com

Date:

Version 0.5.4, 2015-10-31 SAT

Various color schemes for Jupyter Qt Console. It was originally for IPython Qt Console, but as of IPython 4.0, the qtconsole have moved to new project under the name Jupyter. Each color scheme consists of a .py file for the pygments style and a .css file for Qt Console specific color settings.

List of color schemes

Installation

Thanks to Antony Lee, now the color schemes are in a module called jupyter_qtconsole_colorschemes. You can install it with pip:

pip install jupyter_qtconsole_colorschemes

Usage

Jupyter Qt Console

In ~/.jupyter/jupyter_qtconsole_config.py, add the following with the color scheme name you want to use (the example shown with zenburn):

import pkg_resources
c.JupyterQtConsoleApp.stylesheet = pkg_resources.resource_filename(
    "jupyter_qtconsole_colorschemes", "zenburn.css")

c.JupyterWidget.syntax_style = 'zenburn'

IPython Qt Console

If you are using older version of Qt Console, then add the following to ~/.ipython/profile_default/ipython_qtconsole_config.py:

import pkg_resources

c.IPythonQtConsoleApp.stylesheet = pkg_resources.resource_filename(
    "jupyter_qtconsole_colorschemes", "zenburn.css")

c.IPythonWidget.syntax_style = "zenburn"

License

Released under the MIT License

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

jupyter_qtconsole_colorschemes-0.5.4.zip (12.6 kB view hashes)

Uploaded Source

Supported by

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