pari-jupyter

A Jupyter kernel for PARI/GP


Licenses
GPL-3.0/GPL-3.0+
Install
pip install pari-jupyter==1.4.3

Documentation

pari-jupyter

A Jupyter kernel for PARI/GP.

Installation

Install the dependencies listed below and run

pip install pari-jupyter

Syntax highlighting

On Jupyter notebook versions older than 5.3, syntax highlighting must be explicitly enabled by running

jupyter nbextension enable --sys-prefix gp-mode/main

Replace --sys-prefix by --user for a user installation.

Dependencies

  • Python (tested with version 2.7.14 and 3.6.1)
  • Jupyter 4
  • PARI version 2.13 or later
  • Readline (any version which works with PARI)
  • Optional: Cython version 0.25 or later

Running tests

There is a standalone python script in test/ that depends on jupyter_kernel_test (see the file test/environment.yml for the precise dependency list that are run in the github action using conda).