Skip to main content

Run web tty from jupyter notebooks

Project description

NB TTY

Web :globe_with_meridians: terminal :computer: for jupyter notebooks :notebook:.

Today many cloud services provide jupyter notebooks as a service to users, e.g. Google colab, Kaggle Kernel, Microsoft Azure Notebooks ... These services are great, easy to use, people do not have to install jupyter, CUDA, or GPU driver themselves. However without access to the shell, my data science workflow is quite inefficient because I use commandline heavily.

So I create this little tool. It starts a web shell (gotty) locally and exposes the shell to the ngrok. Then you can use the in the browser, gotty is pretty powerful and the user experience is very similar to the real terminal.

Usage

  1. Install nbtty inside a jupyter notebook like other Python packages:
!pip install nbtty
  1. Start the web tty, it will print the url of the web shell when service is ready:
from nbtty import TTY
TTY().start()

Screenshots

alt text alt text alt text

Acknowledgments

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

nbtty-1.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

nbtty-1.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file nbtty-1.1.1.tar.gz.

File metadata

  • Download URL: nbtty-1.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for nbtty-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5d1e80f2d532aedc01afde71830da6d5dd62aaf8ce878decece12bb85e3f2692
MD5 7cef361f35b588202d2b91af9e477cd4
BLAKE2b-256 dd8513273f15be784b0f70375ffa3a696d295a7af66ac28717398c84ddb54a33

See more details on using hashes here.

File details

Details for the file nbtty-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: nbtty-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for nbtty-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cba8f1b0a2c6dfe355e9c2755ea240ebb7dc53f8a0677a2cea1b1c2706e24ec
MD5 513be27770231018f0a485008aaa148d
BLAKE2b-256 97b3eb4f9da143dbbf2c74832c0ae2847d5c0d27fb93a2273defd754cec5c4dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page