Blockly on Jupyter Notebook

575 views
Skip to first unread message

Ulysses31

unread,
Jan 24, 2020, 3:34:04 PM1/24/20
to Blockly
Hi, has anybody integrated Blockly into Jupyter Notebook. I;m relatively new to Blockly and Jupyter. I'd like to be able to run a Jupyter headless server on a RaspberryPi with Blockly installed. The Jupyter server part is not the problem, I just can't find any documentation on how to install Blockly on Jupyter. If anybody has done this I would really appreciate the help.

Andrew Olney

unread,
Jan 25, 2020, 4:21:59 PM1/25/20
to Blockly
Greetings, I'm working on this and have some code to share; you can also follow the instructions here for installation:


Here's a post with a video link:


Here's a more advanced feature I'm working on which I'm currently calling "intelliblocks":


I'm using this in my teaching now, so it is undergoing rapid development.

Ulysses31

unread,
Jan 30, 2020, 9:50:08 AM1/30/20
to Blockly
Hi Andrew,

Thanks a million for your response and great work on the integration, the video looks great. I'm and trying to configure Blockly on Jupyter Notebook rather than Lab but I guess I could look at changing my image to run it with this setup.

B.

Andrew Olney

unread,
Jan 30, 2020, 4:34:27 PM1/30/20
to Blockly
From what I can tell, integration would be very different between Jupyter and JupyterLab. 

Since JupyterLab is going to replace Jupyter (AFAIK), it may not be worth the effort to develop an extension for it.

If you use my extension, I suggest trying to update it 1-2 times per week. I'm pushing new versions to npm before each class ;)
Reply all
Reply to author
Forward
0 new messages