Skip to main content

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

Metadata

Release files for ipython-nord-theme 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipython-nord-theme 0.1.0
File Size Uploaded
ipython-nord-theme-0.1.0.tar.gz 28.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipython-nord-theme 0.1.0
File Interpreter ABI Platform
ipython_nord_theme-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / ipython-nord-theme-0.1.0.tar.gz

Download URL ipython-nord-theme-0.1.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2c3cef54f8677a0082a435062cffa509411ae7bd4c9b92fef946eda19377f2a4
BLAKE2b-256 checksum
How to use checksums
102a06afdcdd1a74f7e13250dc8ed9ab855f57493734e0a69eba97e7d8053a71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / ipython_nord_theme-0.1.0-py3-none-any.whl

Download URL ipython_nord_theme-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1adc3e5341c75535301657eb6a5d4f0f41bbd5e5369de44bb7e8d5559e7b0187
BLAKE2b-256 checksum
How to use checksums
cdb3b3b7aa4bdf5d3a844ba494a398ad75b6805282ae75f4691a7ba96a76a850
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page