An efficent python package to launch terminal in Google Colab
Project description
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 awnt 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)
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
- 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
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
CHANGE LOG
0.2 (31/12/2021)
- Fixed documentation
0.1 (31/12/2021)
- Released first version(stable) of colab-shell.
Read more at https://github.com/singhsidhukuldeep/Google-Colab-Shell
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file google-colab-shell-0.2.tar.gz
.
File metadata
- Download URL: google-colab-shell-0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c9121056af97bc41d59cfe46638bd9238a444afa163fa426e99dd264301bec |
|
MD5 | d90b03945b9e25785699034151399d6c |
|
BLAKE2b-256 | 2073033ccca4dda58f3cad950f798565ff45ea32b195f067caf2c95da9791bfe |