Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gpu-tpu-lab-server

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpu-tpu-lab-server

Running a jupyter lab or vs code server environment from colab with google drive support

  • 0.0.6
  • PyPI
  • Socket score

Maintainers
1

gpu_tpu_lab_server

Running a jupyter lab or vs code server environment from colab with google drive support.

references:

fns.colab. Most of the localtunnel colab code is taken from this repo.

Motivation for creating this package

  1. For some reason in fns.colab python package version >=0.5, fns.colab supports jupyter notebook not jupyter lab, so here I am trying to use the previous version of that fns.colab code to support jupyter lab environment and to fix frequent time out and connection issues.> 1. It was boring to copy paste the whole code everytime to start the jupyter lab environment in colab, so I created a package of it.
  2. Also, I wanted to try how to create python package using nbdev, this sounded like a good excuse.

Install

pip install gpu_tpu_lab_server

How to use

from gpu_tpu_lab_server.core import jupyter_lab, vscode, run_process_in_background, run_process_in_foreground

For starting the server in google colab with google_drive support

To enable jupyter_lab_environment

  1. execute jupyter_lab()
  2. an authorization window will open with a link, go to the link > select your google account > accept all the permissions > authorization code will be displayed > copy and paste the code in the window
  3. an localtunnel link will be returned, go to that link, wait for 10 second, then press open tunnel button, it will open an jupyter lab environment

To enable vscode() environment

  1. execute vscode() optional parameter any text :- the generated link will have the text or by default fastdaima
  2. an authorization window will open with a link, go to the link > select your google account > accept all the permissions > authorization code will be displayed > copy and paste the code in the window
  3. an localtunnel link will be returned, go to that link it will open an vscode server environment

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc