ColabCode
Installation
$ pip install colabcode
Run code server on Google Colab or Kaggle Notebooks.
Getting Started
ColabCode also has a command-line script. So you can just run colabcode from command line.
colabcode -h will give the following:
usage: colabcode [-h] --port PORT [--password PASSWORD] [--mount_drive]
ColabCode: Run VS Code On Colab / Kaggle Notebooks
required arguments:
--port PORT the port you want to run code-server on
optional arguments:
--password PASSWORD password to protect your code-server from unauthorized access
--mount_drive if you use --mount_drive, your google drive will be mounted
Else, you can do the following:
# import colabcode
$ from colabcode import ColabCode
# run colabcode with by default options.
$ ColabCode()
# ColabCode has the following arguments:
# - port: the port you want to run code-server on, default 10000
# - password: password to protect your code server from being accessed by someone else.
# Note that there is no password by default!
# - mount_drive: True or False to mount your Google Drive
$ ColabCode(port=10000, password="abhishek", mount_drive=True)
How to use it?
ColabCode comes pre-installed with some VS Code extensions.
See an example in youtube video
License
Metadata
Release files for colabcode 0.3.0
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 |
|---|---|---|---|---|
| colabcode-0.3.0.tar.gz | 4.0 kB | Without provenance | Details for colabcode-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| colabcode-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for colabcode-0.3.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / colabcode-0.3.0.tar.gz
| Download URL | colabcode-0.3.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ece72a9200571e1a6e90d23c084f8211f7cbe98ce876119f48a05f7206ed1b50
|
|
BLAKE2b-256 checksum How to use checksums |
11d152c5b71d5b82b81a60903e6a1f732c26a5347c04e3fc3ae2ab8a01293ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Release files / colabcode-0.3.0-py3-none-any.whl
| Download URL | colabcode-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00e6060cd619b9e79beaca80574a37c3b743b4fd4f76430272a38067cd948781
|
|
BLAKE2b-256 checksum How to use checksums |
4b90f635c37e8e87cb9df76873edd35068e7b10cd20ac0ba4d2392ae7f307fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Security for colabcode 0.3.0
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.