Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating cl-jupyter-widgets with cl-jupyter #40

Open
drmeister opened this issue Jun 9, 2018 · 1 comment
Open

Integrating cl-jupyter-widgets with cl-jupyter #40

drmeister opened this issue Jun 9, 2018 · 1 comment

Comments

@drmeister
Copy link
Collaborator

drmeister commented Jun 9, 2018

The future home of the cl-jupyter-widgets ASDF system is found here:

https://github.com/clasp-developers/cl-jupyter-widgets

It's not quite ready for prime-time - we need to take another run at cleaning up the documentation and the source code.

It's translated from the ipython widgets code and is compatible with iPython widgets 7.0

It works in Clasp - you can try it out using the docker image here...
https://hub.docker.com/r/drmeister/cando/

But there is a problem in sbcl that we haven't debugged yet.

You can test cl-jupyter-widgets by cloning this github repo into your ~/quicklisp/local-projects and using:
(ql:quickload "cl-jupyter-widgets")

The way we developed and tested this code is to insert print statements in the ipython-widgets code and turn on logging in cl-jupyter-widgets and then compare the JSON messages that are sent back and forth to the Common Lisp kernel with the traffic sent back and forth by a Python kernel. Once they match - the front end and Jupyter machinery can't tell the difference.

We are currently focused on getting everything working with the upcoming jupyter-lab environment. This is including some other jupyter widgets like cl-nglview and cl-bqplot.

@drmeister drmeister changed the title Integrating cl-jupyter-widgets Integrating cl-jupyter-widgets with cl-jupyter Jun 9, 2018
@drmeister
Copy link
Collaborator Author

We had to make some changes to how jupyter widgets are packaged to ease keeping up with the rapidly changing Python jupyter widgets.

https://github.com/clasp-developers/cl-ipykernel.git
https://github.com/clasp-developers/cl-ipywidgets.git
https://github.com/clasp-developers/cl-nglview.git
https://github.com/clasp-developers/cl-bqplot.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant