Happy !

jmari / JupyterTalk

Project infos

License MIT
Tags jupyter, datascience
Creation date 2018-04-07
Website https://github.com/jmari/JupyterTalk/

Monticello registration

About JupyterTalk

Basic Pharo Smaltalk kernel for Jupyter. This project is implemented on Pharo 6.1 64 bits and Mac Os X. It uses ZeroMQ ported from http://smalltalkhub.com/#!/~panuw/zeromq project to uFFI. Roassal integration supported.

Feel free to contribute, it is public write access, I hope you enjoy.

TO-DO:

  • Improve ZeroMQ API.
  • Review display API.
  • Widgets support.
  • Installation procedure.
  • 32 bits version? ZMQ is 64 a bits library on Mac Os.
  • Tests...
  • Still a lot of work todo...

install JupyterTalk

Install ZeroMQ and Create a link to zeromq library in your plugins folder, I use a link to libzmq.dylib -> /usr/local/Cellar/zeromq/4.2.3/lib/libzmq.dylib

Metacello new 
baseline: 'JupyterTalk';
repository: 'http://smalltalkhub.com/mc/jmari/JupyterTalk/main';
load:'all'

Create the folder '/usr/local/share/jupyter/kernels/pharo'. Create file 'kernel.json' with contents

{
    "argv": [
        "PathToPharoExecutableApp/Contents/MacOS/Pharo",
        "PathToPharoExecutableApp/Contents/Resources/Pharo6.1-64.image",
        "ipharo",
        "{connection_file}"
     ],
    "display_name": "Pharo Smalltalk",
    "language": "smalltalk"
}

Optional, you can copy an icon with file name logo-64x64.png in the same folder in order to show an icon in jupiter client. Screen capture:

Starting jupyterTalk

Install new packages

Running roassal, support for multiple interactive canvas