Connect to Google Colab VM locally from VSCode
Project description
colab-tunnel
Access Google Colab directly from your local VS Code editor using remote tunnels.
https://user-images.githubusercontent.com/8587189/232783372-8f2a5f83-1e57-42f0-8740-4b7e5901b561.mp4
Usage
You can make a copy of this notebook to get started.
On Google Colab, first install the library and the run the code.
!pip install colabtunnel
from colabtunnel import colabtunnel
colabtunnel()
- After running the code, copy the given code, click the GitHub link and paste the code.
- Paste your unique code on the github link and press "Continue".
- Open your local VSCode Editor. Install the Remote Tunnels extension if you haven't already installed. Then, open the command prompt and select Remote-Tunnels: Connect to Tunnel
- You will be shown a list of tunnels. Select the first tunnel name that has online beside it.
- You will be connected to the virtual machine and can access the folders. Open the
/colabfolder and store your code there for persistence on Google Drive. The workflow is similar to the Remote SSH plugin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colabtunnel-0.0.7.tar.gz.
File metadata
- Download URL: colabtunnel-0.0.7.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516a7689c8fbd985b043e946bec766256f4a43ee8bf8d41e44def8d48a3d9193
|
|
| MD5 |
36014b6cfd453a6478d567f9535c6b15
|
|
| BLAKE2b-256 |
2959f2f9290e3f5cc4a1f0b1de08437167bcea29df520c2c33a4874cc02770a9
|
File details
Details for the file colabtunnel-0.0.7-py3-none-any.whl.
File metadata
- Download URL: colabtunnel-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
034d387565a35c3e1bfefa79e86bb8f8290f53cbfe359fbd73a0c88281d251fa
|
|
| MD5 |
b44d7f07c50f750fdf19c01a4d1e32be
|
|
| BLAKE2b-256 |
a64bbfa5f70570c3af5c2fae44af65bcbd47809f336c1eb12cc9c4153ff7d664
|