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
/colab
folder 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
colabtunnel-0.0.6.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file colabtunnel-0.0.6.tar.gz
.
File metadata
- Download URL: colabtunnel-0.0.6.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076c2eabdc6f677a09f68640e7ca88b5795e62253f85a39efa4fd425febedc10 |
|
MD5 | cb59c833ab849f334e78f50d4f350fd5 |
|
BLAKE2b-256 | 9c657bf68efae7247af5765d3f087f6d7e46274fbf809c93f911044f74fe8006 |
File details
Details for the file colabtunnel-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: colabtunnel-0.0.6-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.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe463230b54fbd0a0cc86d051177af1e487dfe8bc80a23e45b99861c9fef5092 |
|
MD5 | 88632be2e1db51ceb231753faea2edbb |
|
BLAKE2b-256 | d3484886b468cc36f34360104fb9a1c8655912d13b28d18443a8fa42dfb5bb42 |