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 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/*
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
Metadata
Release files for google-colab-shell 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| google-colab-shell-0.2.tar.gz | 4.2 kB | Without provenance | Details for google-colab-shell-0.2.tar.gz |
Release files / google-colab-shell-0.2.tar.gz
| Download URL | google-colab-shell-0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8c9121056af97bc41d59cfe46638bd9238a444afa163fa426e99dd264301bec
|
|
BLAKE2b-256 checksum How to use checksums |
2073033ccca4dda58f3cad950f798565ff45ea32b195f067caf2c95da9791bfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for google-colab-shell 0.2
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.