An arctic, north-bluish theme for the IPython interactive prompt.
MIT License
An arctic, north-bluish theme for the IPython interactive prompt.
To easily get the theme installed and loading at startup:
pip install ipython_nord_theme[hook]
python -m ipython_startup_hook.install
Install using pip
:
pip install ipython-nord-theme
or with conda
:
conda install -c lewisacidic ipython-nord-theme
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
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.
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