Skip to main content

A Jupyter kernel for PARI/GP

Project description

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).

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

pari-jupyter-1.4.3.tar.gz (31.2 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