Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Google Colab Shell

Go to https://pypi.org/project/google-colab-shell/

Free Terminals for everyone
Displays a terminal for Google Colab
Go to https://pypi.org/project/google-colab-shell/ Go to https://pypi.org/project/google-colab-shell/ Go to https://pypi.org/project/google-colab-shell/ Language grade: Python Go to https://pypi.org/project/google-colab-shell/

Setup

pip install google-colab-shell

Usage

Open In Colab

# import the module once
from google_colab_shell import getshell
## Anytime you want to open a terminal
getshell()
getshell(height=400) # custom height of the terminal

IMPORTANT: Make sure getshell is the last command in the cell.

Documentation

Displays a terminal for Google Colab. <3 Google
Make sure this is the last command in the cell.
 Parameters
 ----------
 height : int, default 400
 Height of the rendered terminal
 Returns
 -------
 IPython.display.HTML
 Displays the terminal
 Examples
 --------
 >>> getshell()
 >>> getshell(height=400)

🌟⭐✨STAR ME✨⭐🌟

You can give me a small 🤓 dopmaine 🤝 support by ⭐STARRING⭐ this project 🌟⭐✨STAR ME✨⭐🌟

Credits

Maintained by

Kuldeep Singh Sidhu

Github: github/singhsidhukuldeep https://github.com/singhsidhukuldeep

Website: Kuldeep Singh Sidhu (Website) http://kuldeepsinghsidhu.com

LinkedIn: Kuldeep Singh Sidhu (LinkedIn) https://www.linkedin.com/in/singhsidhukuldeep/

Contributors

The full list of all the contributors is available here

https://github.com/singhsidhukuldeep

TODO:: Want to contribute?

  • Add streaming of the output to have wider range of uses
  • Detach the terminal to be async with other cells
  • Set-up tests for edge cases and changes verification
  • Set-up CI/CD pipleine (possibly using GitHub actions) to publish changes to PyPi
  • Improeve the doc-strings documentation to add more explanantion and examples
  • Find possibility to fetch output without locking the cell

Say Thanks

If this helped you in any way, it would be great if you could share it with others.

Steps for publishing to pypi [This is just for me, Maybe!]

  • pip3 install setuptools twine
  • Go to project folder
  • python3 setup.py sdist
  • twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

OR

Go to your project folder and:

pip3 install setuptools twine
python3 setup.py sdist
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Current Status

Issues Contributors Forks Stars Watchers Branches

License: AGPL v3 made-with-python repo- size Followers

About

Now you can open shell in Google Collab

Topics

Resources

Stars

90 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /