An arctic, north-bluish theme for the IPython interactive prompt.
Project description
ipython-nord-theme
An arctic, north-bluish theme for the IPython interactive prompt.
Quickstart
To easily get the theme installed and loading at startup:
pip install ipython_nord_theme[hook]
Installation
Install using pip
:
pip install ipython-nord-theme
or with conda
:
conda install -c lewisacidic ipython-nord-theme
Usage
Load the theme with IPython magic:
%load_ext ipython_nord_theme
To set the theme back to what you had previously:
%unload_ext ipython_nord_theme
Running this at startup
You can either put the following snippet in your IPython startup directory (usually $HOME/.ipython/profile_default/startup
):
try:
from ipython_nord_theme.startup import load
load()
del load # don't pollute global namespace!!
except ModuleNotFoundError:
pass
Or use ipython-startup-hook
(recommended if you use IPython within virtual environments).
This may be done at install with the command given in the Quickstart.
Development
Create the conda environment:
conda env create -f envs/dev.yml
conda activate ipython-nord-theme-dev
Format code by running the pre-commit tasks:
pre-commit run --all
Run the tests with pytest (note we need to use ipython
rather than python
for these tests):
ipython -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ipython_nord_theme-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1adc3e5341c75535301657eb6a5d4f0f41bbd5e5369de44bb7e8d5559e7b0187 |
|
MD5 | d24f1a08856ff5cbdd533ad7f2a2f582 |
|
BLAKE2b-256 | cdb3b3b7aa4bdf5d3a844ba494a398ad75b6805282ae75f4691a7ba96a76a850 |