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
- 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.
- 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
- execute
jupyter_lab() - 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
- 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
- execute
vscode()optional parameter any text :- the generated link will have the text or by default fastdaima - 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
- an localtunnel link will be returned, go to that link it will open an vscode server environment
Metadata
Release files for gpu-tpu-lab-server 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpu_tpu_lab_server-0.0.6.tar.gz | 10.3 kB | Without provenance | Details for gpu_tpu_lab_server-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpu_tpu_lab_server-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for gpu_tpu_lab_server-0.0.6-py3-none-any.whl |
Total release size: 18.6 kB
Release files / gpu_tpu_lab_server-0.0.6.tar.gz
| Download URL | gpu_tpu_lab_server-0.0.6.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f64516132445eeb7840740c4de63cd3e089545dd0ebd7ebba484636c6a01289
|
|
BLAKE2b-256 checksum How to use checksums |
896a1f062a78c91e3e9f72290b1c327e6276d46e96e9bcf71c93f9fc6adc6f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / gpu_tpu_lab_server-0.0.6-py3-none-any.whl
| Download URL | gpu_tpu_lab_server-0.0.6-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bed42f5b56a815621a00c32c4073804f2bb29181391731a07ea18397ce0185a9
|
|
BLAKE2b-256 checksum How to use checksums |
f0a604263b25f0b248fe4aad1afeb27207ffdde8cbc9db3678326d88942b5242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for gpu-tpu-lab-server 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.