Skip to main content

Run web tty from jupyter notebooks

Project description


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.


  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


alt text alt text alt text


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nbtty, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nbtty-1.1.1-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nbtty-1.1.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page