• Stars
    star
    2,054
  • Rank 22,354 (Top 0.5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks

ColabCode

license PyPI version python version

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?

Colab starter notebook:    Open In Colab

ColabCode comes pre-installed with some VS Code extensions.

See an example in youtube video

YouTube Video

License

MIT

More Repositories

1

approachingalmost

Approaching (Almost) Any Machine Learning Problem
6,935
star
2

tez

Tez is a super-simple and lightweight Trainer for PyTorch. It also comes with many utils that you can use to tackle over 90% of deep learning projects in PyTorch.
Python
1,162
star
3

autoxgb

XGBoost + Optuna
Python
657
star
4

diffuzers

a web ui & api for 🤗 diffusers
Python
583
star
5

is_that_a_duplicate_quora_question

Python
441
star
6

approaching_almost_nlp

Approaching (Almost) Any Natural Language Processing Problem
341
star
7

mlspace

MLSpace: Hassle-free machine learning & deep learning development
Python
303
star
8

wtfml

WTFML: Well That's Fantastic Machine Learning
Python
295
star
9

bert-sentiment

Python
269
star
10

how-to-become-a-ds-in-30-days

How to become a data scientist in 30 days
215
star
11

mlframework

Python
199
star
12

clickbaits_revisited

Deep learning models to identify clickbaits taking content into consideration
Python
172
star
13

long-text-token-classification

Python
162
star
14

greedyFeatureSelection

greedy feature selection based on ROC AUC
Python
126
star
15

bert-entity-extraction

Python
122
star
16

StableSAM

98
star
17

pysembler

An automatic ensembler of machine learning models in python
Python
67
star
18

captcha-recognition-pytorch

Python
59
star
19

sandesh

A simple app to send messages to Slack channels / members using webhook
Python
56
star
20

ml_dev_env

Machine Learning / Deep Learning Environment. Everywhere. Anywhere.
Dockerfile
50
star
21

commonlit-pairwise-model

Pairwise model for commonlit competition
Python
46
star
22

e01

Python
37
star
23

chaii-hindi-tamil-question-answering

chaii: hindi and tamil question answering
Python
36
star
24

melanoma-deep-learning

JavaScript
34
star
25

bert-tweet-sentiment

Python
31
star
26

automl_gpu

Python
26
star
27

walmart2015

Python
26
star
28

csv_test

26
star
29

AutoML

Python
24
star
30

imet-collection

Python
23
star
31

anime_hentai

Distinguishing between anime and hentai
Python
15
star
32

autonlp

AutoNLP: AutoML for NLP (WIP)
Python
12
star
33

abhishekkrthakur

9
star
34

ApproachingAlmostNLP

8
star
35

competitions-template

8
star
36

LCE

Local Collective Embeddings. Python translation of https://github.com/msaveski/LCE
Python
7
star
37

moa-kaggle

6
star
38

movie_recommender

6
star
39

av_minihack

Python
5
star
40

naivebees

Python
5
star
41

amazon_challenge

code for amazon employee access challenge
C
4
star
42

nuSVM

implementation of nusvm using cvxopt
Python
4
star
43

aaamlp_figures

4
star
44

ultramnist

3
star
45

testing

3
star
46

NDSB

national data science bowl @ kaggle
Python
2
star
47

finetuning_googlenet

Python
2
star
48

images

2
star
49

pyCoDi

implementation of CoDi saliency in python
Python
2
star
50

illumination-compensation

C++
2
star
51

fastFibonacci

fast fibonacci in cython
C
1
star
52

xformers

1
star
53

kaggle-afsis

Beating the Benchmark in Kaggle Afsis challenge
Python
1
star
54

EMC

em clustering
Python
1
star