Skip to content

Commit f5fcf66

Browse files
committed
Added 09_review
1 parent 94a26c5 commit f5fcf66

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

09_review.ipynb

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "f52038f5-5ad7-4be6-a18c-341fef59ba61",
6+
"metadata": {},
7+
"source": [
8+
"# Review"
9+
]
10+
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "bdf2d124-4a7f-4116-ae7b-de70b021f03b",
14+
"metadata": {},
15+
"source": [
16+
"We've covered a lot! First lets open the final version of our dashboard with Voila. I think it looks great!"
17+
]
18+
},
19+
{
20+
"cell_type": "code",
21+
"execution_count": null,
22+
"id": "c98a3761-5c8c-4aef-81ec-803f1665f5a0",
23+
"metadata": {},
24+
"outputs": [],
25+
"source": [
26+
"%%bash\n",
27+
"voila 08_dashboard.ipynb"
28+
]
29+
},
30+
{
31+
"cell_type": "markdown",
32+
"id": "a9766389-3fc1-46e5-ae85-7646c30147a9",
33+
"metadata": {},
34+
"source": [
35+
"Let's do some review."
36+
]
37+
},
38+
{
39+
"cell_type": "markdown",
40+
"id": "9c101fe1-3a25-480b-9c46-7acc1b9481a3",
41+
"metadata": {},
42+
"source": [
43+
"- Installing environment\n",
44+
"- Getting started: JupyterLab and ipywidgets\n",
45+
" - Benefits of developing in Jupyter\n",
46+
" - Benefits of JupyterLab\n",
47+
" - File browser\n",
48+
" - Output view\n",
49+
" - Click-and-drag windows\n",
50+
" - ipywidgets\n",
51+
" - Bi-directional communication\n",
52+
" - Trait validation\n",
53+
" - Observing trait changes\n",
54+
" - Preview of dashboard\n",
55+
"- workflow: Get familiar with a scientific workflow\n",
56+
" - Plot original data\n",
57+
" - Add column for Savitzky-Golay filter\n",
58+
" - Select a range of data\n",
59+
" - Plot selected data with smoothed curve\n",
60+
"- nbdev: Use nbdev to export notebook cells to python modules\n",
61+
" - `default_exp` directive\n",
62+
" - `export` directive\n",
63+
" - `nb_export` function\n",
64+
"- dashboarding: use ipywidgets and nbdev to create the beginnings of a dashboard\n",
65+
" - observing traits\n",
66+
" - output widgets\n",
67+
"- publishing: use Binder and Voila to publish your application\n",
68+
"- layouts: styling and arranging widgets"
69+
]
70+
},
71+
{
72+
"cell_type": "markdown",
73+
"id": "c28e81b2-73de-4308-bdba-845287f7eef7",
74+
"metadata": {},
75+
"source": [
76+
"## More about nbdev\n",
77+
"\n",
78+
"We covered the basic idea of nbdev, but we didn't use it in the context of creating a publishable package. Here are some of the features that make nbdev great!\n",
79+
"\n",
80+
"- nbdev_export: build your library\n",
81+
"- nbdev_clean: clean up things like execution count from your notebooks for clean diffs\n",
82+
"- nbdev_merge: merge notebooks *from the notebook*\n",
83+
"- nbdev_test: check that all assertion statements pass\n",
84+
"- [passive documentation](https://fastai.github.io/nbdev-hello-world) (maybe not as useful for a web app)\n",
85+
"- `nbdev.release` provides utlities for easy packaging on PyPI, conda, and GitHub"
86+
]
87+
},
88+
{
89+
"cell_type": "code",
90+
"execution_count": null,
91+
"id": "40df8fa2-ecff-44f2-85fc-73444e504527",
92+
"metadata": {},
93+
"outputs": [],
94+
"source": []
95+
}
96+
],
97+
"metadata": {
98+
"kernelspec": {
99+
"display_name": "python3",
100+
"language": "python",
101+
"name": "python3"
102+
}
103+
},
104+
"nbformat": 4,
105+
"nbformat_minor": 5
106+
}

0 commit comments

Comments
 (0)