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.1.tar.gz (140.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page