Skip to main content

NB TTY

Web 🌐 terminal 💻 for jupyter notebooks 📓.

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

Metadata

Release files for nbtty 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nbtty 1.1.1
File Size Uploaded Provenance Actions
nbtty-1.1.1.tar.gz 2.4 kB Without provenance Details for nbtty-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nbtty 1.1.1
File Interpreter ABI Platform Actions
nbtty-1.1.1-py3-none-any.whl Python 3 none any Details for nbtty-1.1.1-py3-none-any.whl

Total release size: 6.8 kB

Release files / nbtty-1.1.1.tar.gz

Download URL nbtty-1.1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d1e80f2d532aedc01afde71830da6d5dd62aaf8ce878decece12bb85e3f2692
BLAKE2b-256 checksum
How to use checksums
dd8513273f15be784b0f70375ffa3a696d295a7af66ac28717398c84ddb54a33
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / nbtty-1.1.1-py3-none-any.whl

Download URL nbtty-1.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cba8f1b0a2c6dfe355e9c2755ea240ebb7dc53f8a0677a2cea1b1c2706e24ec
BLAKE2b-256 checksum
How to use checksums
97b3eb4f9da143dbbf2c74832c0ae2847d5c0d27fb93a2273defd754cec5c4dd
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for nbtty 1.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page