File tree Expand file tree Collapse file tree 8 files changed +129
-0
lines changed
Expand file tree Collapse file tree 8 files changed +129
-0
lines changed Original file line number Diff line number Diff line change 1+
2+
3+ # Checkpoints will not be pushed.
4+ .ipynb_checkpoints
Original file line number Diff line number Diff line change 1+
2+
3+
4+ FROM gitpod/workspace-full
5+
6+ RUN npm i learnpack -g
Original file line number Diff line number Diff line change 1+ # List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
2+ tasks :
3+ - init : >
4+ gp open README.md;
5+ pip install -r "requirements.txt";
6+ command: >
7+ gp open README.md;
8+ pip install -r "requirements.txt";
9+ # List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
10+ ports :
11+ - port : 9000-9099
12+ onOpen : ignore
13+
14+ # Install necessary packages
15+ image :
16+ file : .gitpod.dockerfile
17+
18+ vscode :
19+ extensions :
20+ - ms-toolsai.jupyter
21+ - vscode.python
Original file line number Diff line number Diff line change 1+ {
2+ "workbench.startupEditor" : " readme" ,
3+ "workbench.editorAssociations" : {
4+ "*.md" : " vscode.markdown.preview.editor"
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ # Jupyter Notebook Template
2+
3+ Use this template for creating Jupyter notebooks compatible with Gitpod and local environments.
4+
5+ Once the Gitpod workspace has successfully loaded, it will install the most common dependencies used in a typical notebook.
6+
7+ ## How to use
8+
9+ - Add your notebooks in the ` ./notebbook ` folder.
10+ - Open the notebooks and run the python code.
11+
12+ ## Default dependencies
13+
14+ ```
15+ # Base ----------------------------------------
16+ pandas>=1.1.4
17+ numpy>=1.18.5
18+ opencv-python>=4.1.2
19+ matplotlib>=3.2.2
20+ ipyleaflet>=0.14.0
21+ sympy>=1.10.1
22+
23+ # Machine learning ----------------------------
24+ sklearn
25+ ```
Original file line number Diff line number Diff line change 1+ This file is here to prevent the notebook folder to be ignored by gitpod, once you add your notebooks here you won't need it anymore.
Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " markdown" ,
5+ "source" : [
6+ " Hello, I'm an example Jupyter Notebook!"
7+ ],
8+ "metadata" : {
9+ "id" : " fJRrdB_JVJhD"
10+ }
11+ },
12+ {
13+ "cell_type" : " code" ,
14+ "source" : [
15+ " # This is some python code\n " ,
16+ " print(\" Hello World\" )"
17+ ],
18+ "metadata" : {
19+ "id" : " ykNvQpnMVQDn" ,
20+ "outputId" : " 5e946dec-b175-4def-d79d-b27f125760a3" ,
21+ "colab" : {
22+ "base_uri" : " https://localhost:8080/"
23+ }
24+ },
25+ "execution_count" : 1 ,
26+ "outputs" : [
27+ {
28+ "output_type" : " stream" ,
29+ "name" : " stdout" ,
30+ "text" : [
31+ " Hello World\n "
32+ ]
33+ }
34+ ]
35+ }
36+ ],
37+ "metadata" : {
38+ "colab" : {
39+ "collapsed_sections" : [],
40+ "name" : " colab-github-demo.ipynb" ,
41+ "provenance" : []
42+ },
43+ "kernelspec" : {
44+ "display_name" : " Python 3" ,
45+ "name" : " python3"
46+ }
47+ },
48+ "nbformat" : 4 ,
49+ "nbformat_minor" : 0
50+ }
Original file line number Diff line number Diff line change 1+
2+
3+
4+
5+ # pip install -r requirements.txt
6+
7+ # Base ----------------------------------------
8+ pandas >= 1.1.4
9+ numpy >= 1.18.5
10+ opencv-python >= 4.1.2
11+ matplotlib >= 3.2.2
12+ ipyleaflet >= 0.14.0
13+ sympy >= 1.10.1
14+
15+ # Machine learning ----------------------------
16+ sklearn
You can’t perform that action at this time.
0 commit comments