Edgar Costa on Fri, 12 May 2023 15:38:43 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: interest for PARI/GP Jupyter notebook ?


Hi Bill,

I strongly believe that having a jupyter kernel lows the barrier of entry to almost any language, and thus having one is worthwhile.
I am not a regular gp/pari user to help you with this one. I rarely write any gp code, I usually call it from Magma/Sage/Bash.
However, whenever I need to write more than one line command, I do it via some jupyter kernel, as I never remember the syntax, and this is a quick way to figure out what works.


The Xeus version is quite tempting, as it is much more natural for gp/pari.
However, cypari issues should get fixed regardless, as these have broader impacts.

Best,
Edgar

On Fri, May 12, 2023 at 8:41 AM Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
Dear PARI developpers,

Some time ago, Jeroen Demeyer has written a PARI jupyter kernel which is now
maintained mainly by Vincent Delecroix.
<https://github.com/sagemath/pari-jupyter>
this allows to create Jupyter notebook that uses PARI/GP.

However I do not think Vincent is actually using it, and I know nobody
that really use it, so I do not know how good is the user experience.

This kernel is based on python and cypari which causes some technical issues.

There have been two technically simpler alternatives, one using the GP binary
directly (by Edgar Costa) and one using Xeus <https://github.com/jupyter-xeus>
and libpari.

However before pursuing this further, we need someone that is willing to use
this kernel for actual applications, giving feedback and willing to test new
version which compiling and installing them.

So am I looking for someone interested to help.

Cheers,
Bill.