Skip to main content

Color Schemes for Jupyter Qt Console

Project description

====================================
Color Schemes for Jupyter Qt Console
====================================

:Author: Joon Ro
:Contact: joon.ro@outlook.com
:Date: Version 0.5.2, 2015-10-20 TUE
Various color schemes for `Jupyter <http://jupyter.org>`_ `Qt Console <http://jupyter.org/qtconsole>`_. It was originally for `IPython <http://ipython.org>`_ 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
---------------------

- `Base16 <https://github.com/chriskempson/base16>`_

- Ocean Dark (``base16_ocean_dark``)

- `Solarized <http://ethanschoonover.com/solarized>`_

- Light (``solarizedlight``)

- Dark (``solarizeddark``)

- `Tomorrow <https://github.com/ChrisKempson/Tomorrow-Theme>`_: ``tomorrow``

- `Zenburn <http://kippura.org/zenburnpage/>`_: ``zenburn``

Installation
------------

Thanks to `Antony Lee <https://bitbucket.org/anntzer/>`_, now the color schemes are in a module called
``jupyter_qtconsole_colorschemes``. You can install it with ``pip``:

.. code-block:: sh

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``):

.. code-block:: python

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``:

.. code-block:: python

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 <https://bitbucket.org/joon/color-schemes-for-ipython-qt-console/src/master/README.rst>`_

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.2.zip (13.0 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