I just found out that in VSCode you can define a remote Jupyter server and edit the Jupyter notebook from within VSCode. You only need to define the URI of the Jupyter server. I was checking on the Google Colab but didn't find an option to get this URI.
Is there an easy way to link both the VSCode and Google Colab?
No, this isn't supported for a variety of reasons, e.g., Colab requires authenticating with a Google account, which isn't supported by vanilla Jupyter.
Related
not sure if this has been asked before though I couldn't find it. I am using GCP services such as app engine, secret manager and storage but am using the Cloud Shell editor. Though I like it, I prefer coding on VScode due to familiarity. Any help on how could I achieve this on my VS code terminal?
#Sachin - We have support for all the features that are available in Cloud Shell in the local VSCode IDE through the cloud code plugin. Here is where you want to get started.
Quick start & Install
Plugin on VSCode Marketplace
I would like to run desktop applications (for debug and research purposes) on a Google Colab notebook.
Is that possible?
Check GNU Colab.
With it you can easily have a whole persistent desktop environment running on top of a Colaboratory VM instance.
Here's a video demonstration.
Can Jupyter Console be used with Google Cloud Datalab as a replacement for the javascript frontend?
It will be possible very soon to use Datalab with the Jupyter notebook. We have no plans to support Jupyter Console directly, but parts of Datalab should work.
Seems to me that one could use the Google Cloud Shell for the functionality you may be looking for? Located on the upper right of the Google Cloud Platform control page?
This question already has answers here:
How can I share Jupyter notebooks with non-programmers? [closed]
(6 answers)
Closed 6 years ago.
I have a Jupyter hub installed and I was wondering if it is possible to share notebooks among different users.
You can share a Jupyter notebook is to simply to place it on GitHub (and view it directly) or some other public link and use the Jupyter Notebook Viewer. When privacy is more of an issue then there are alternatives but it's certainly more complex, there's no built in way to do this in Jupyter alone but a couple of options are:
Host your own nbviewer
GitHub and the Jupyter Notebook Veiwer both use the same tool to render .ipynb files into static HTML, this tool is nbviewer. The installation instructions are more complex than I'm willing to go into here but if your company/team has a shared server that doesn't require password access then you could host the nbviewer on that server and direct it to load from your credentialed server. This will probably require some more advanced configuration than you're going to find in the docs.
Set up a deployment script
If you don't necessarily need live updating HTML then you could set up a script on your credentialed server that will simply use Jupyter's built in export options to create the static HTML files and then send those to a more publicly accessible server.
Can ipython notebook be used when not connected to the internet?
My installation doesn't open a web browser tab if not online.
Thanks!
Yes, it should work without needing an internet connection. If a browser tab doesn't open automatically, open a browser and go to the URL it gives you in the terminal where you started the notebook (by default, this is http://127.0.0.1:8888/ ). It uses the 'loopback' network interface, which stays within your own computer.