Google-Colab-Shell
Google-Colab-Shell copied to clipboard
Now you can open shell in Google Collab
Google Colab Shell
Free Terminals for everyone
Displays a terminal for Google Colab
Setup
pip install google-colab-shell
Usage
# 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
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
TODO:: Want to contribute?
- [ ] Add streaming of the output to have wider range of uses
- [x] 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 sdisttwine 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/*