ColabCode - Run codeserver on Colab!
Project description
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
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
colabcode-0.3.0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colabcode-0.3.0.tar.gz.
File metadata
- Download URL: colabcode-0.3.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece72a9200571e1a6e90d23c084f8211f7cbe98ce876119f48a05f7206ed1b50
|
|
| MD5 |
9cee7c766a24bc4f12e462fcc99ee6fe
|
|
| BLAKE2b-256 |
11d152c5b71d5b82b81a60903e6a1f732c26a5347c04e3fc3ae2ab8a01293ccc
|
File details
Details for the file colabcode-0.3.0-py3-none-any.whl.
File metadata
- Download URL: colabcode-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00e6060cd619b9e79beaca80574a37c3b743b4fd4f76430272a38067cd948781
|
|
| MD5 |
c808a571f1b1360df01d41f45c779b2a
|
|
| BLAKE2b-256 |
4b90f635c37e8e87cb9df76873edd35068e7b10cd20ac0ba4d2392ae7f307fe9
|