-
Notifications
You must be signed in to change notification settings - Fork 51
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
JupyterLab+Colab extension #109
JupyterLab+Colab extension #109
Conversation
…83/jupyter-extension
…anoboa into 83/google-jupyter-extension
This PR was drafted because we wanted to investigate support for notebook v6. Since v6 is deprecated and works quite differently, I discussed with @charles-cooper that it was best to support JupyterLab and Google Colab only. |
token = _generate_token() | ||
javascript = snippet(token, **kwargs) | ||
|
||
if importlib.util.find_spec("google.colab"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dark magic :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incredible work. thank you!!!
it would be cool to get the RPC url from the browser signer (h/t @bout3fiddy for the idea), but out of scope here. will open a new issue for it |
Fixes #83
Usage
Cute animal in Jupiter
source