Skip to content

Commit 8245e9e

Browse files
committed
Add first DEMO initiative (Jupyter)
1 parent d8e8bd1 commit 8245e9e

File tree

4 files changed

+62
-1
lines changed

4 files changed

+62
-1
lines changed

demo/getting_started.ipynb

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"import awswrangler as wr"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 2,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"data": {
19+
"text/plain": [
20+
"'0.1.4'"
21+
]
22+
},
23+
"execution_count": 2,
24+
"metadata": {},
25+
"output_type": "execute_result"
26+
}
27+
],
28+
"source": [
29+
"wr.__version__"
30+
]
31+
}
32+
],
33+
"metadata": {
34+
"kernelspec": {
35+
"display_name": "Python 3",
36+
"language": "python",
37+
"name": "python3"
38+
},
39+
"language_info": {
40+
"codemirror_mode": {
41+
"name": "ipython",
42+
"version": 3
43+
},
44+
"file_extension": ".py",
45+
"mimetype": "text/x-python",
46+
"name": "python",
47+
"nbconvert_exporter": "python",
48+
"pygments_lexer": "ipython3",
49+
"version": "3.7.4"
50+
}
51+
},
52+
"nbformat": 4,
53+
"nbformat_minor": 4
54+
}

requirements-dev.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ twine~=3.1.1
88
wheel~=0.33.6
99
sphinx~=2.3.1
1010
pyspark~=2.4.4
11-
pyspark-stubs~=2.4.0.post6
11+
pyspark-stubs~=2.4.0.post6
12+
jupyter~=1.0.0
13+
jupyterlab~=1.2.4

testing/open-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ docker run \
1212
--workdir /aws-data-wrangler/testing \
1313
-v $(dirname $PWD):/aws-data-wrangler/ \
1414
-it \
15+
-p 8888:8888 \
1516
--entrypoint /bin/bash \
1617
awswrangler-testing

testing/start-jupyter.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
jupyter lab --ip 0.0.0.0 --no-browser --allow-root

0 commit comments

Comments
 (0)