Show More
@@ -0,0 +1,47 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:1d90c9be85e777f36c4a30cb65871f4dd6efab6504fafef74184ba3e053130c6" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [ | |||
|
9 | { | |||
|
10 | "cells": [ | |||
|
11 | { | |||
|
12 | "cell_type": "markdown", | |||
|
13 | "metadata": {}, | |||
|
14 | "source": [ | |||
|
15 | "<img src=\"../images/ipython_logo.png\">" | |||
|
16 | ] | |||
|
17 | }, | |||
|
18 | { | |||
|
19 | "cell_type": "heading", | |||
|
20 | "level": 1, | |||
|
21 | "metadata": {}, | |||
|
22 | "source": [ | |||
|
23 | "Builtin Extensions" | |||
|
24 | ] | |||
|
25 | }, | |||
|
26 | { | |||
|
27 | "cell_type": "heading", | |||
|
28 | "level": 2, | |||
|
29 | "metadata": {}, | |||
|
30 | "source": [ | |||
|
31 | "Tutorials" | |||
|
32 | ] | |||
|
33 | }, | |||
|
34 | { | |||
|
35 | "cell_type": "markdown", | |||
|
36 | "metadata": {}, | |||
|
37 | "source": [ | |||
|
38 | "* [Cython Magics](Cython Magics.ipynb): magics for compiling and running Cython code in a cell\n", | |||
|
39 | "* [Octave Magic](Octave Magic.ipynb): magics for running Octave code in a cell\n", | |||
|
40 | "* [R Magics](R Magics.ipynb): magics for running R code in a cell" | |||
|
41 | ] | |||
|
42 | } | |||
|
43 | ], | |||
|
44 | "metadata": {} | |||
|
45 | } | |||
|
46 | ] | |||
|
47 | } No newline at end of file |
@@ -0,0 +1,54 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:e9beaff0a182620a68fe43e907213d7d5f30b30f6fcf3ba97114f95ea3b61b55" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [ | |||
|
9 | { | |||
|
10 | "cells": [ | |||
|
11 | { | |||
|
12 | "cell_type": "markdown", | |||
|
13 | "metadata": {}, | |||
|
14 | "source": [ | |||
|
15 | "<img src=\"../images/ipython_logo.png\">" | |||
|
16 | ] | |||
|
17 | }, | |||
|
18 | { | |||
|
19 | "cell_type": "heading", | |||
|
20 | "level": 1, | |||
|
21 | "metadata": {}, | |||
|
22 | "source": [ | |||
|
23 | "Core Syntax and Command Line Features" | |||
|
24 | ] | |||
|
25 | }, | |||
|
26 | { | |||
|
27 | "cell_type": "heading", | |||
|
28 | "level": 2, | |||
|
29 | "metadata": {}, | |||
|
30 | "source": [ | |||
|
31 | "Tutorials" | |||
|
32 | ] | |||
|
33 | }, | |||
|
34 | { | |||
|
35 | "cell_type": "markdown", | |||
|
36 | "metadata": {}, | |||
|
37 | "source": [ | |||
|
38 | "* [Cell Magics](Cell Magics.ipynb)\n", | |||
|
39 | "* [Script Magics](Script Magics.ipynb)" | |||
|
40 | ] | |||
|
41 | }, | |||
|
42 | { | |||
|
43 | "cell_type": "heading", | |||
|
44 | "level": 2, | |||
|
45 | "metadata": {}, | |||
|
46 | "source": [ | |||
|
47 | "Examples" | |||
|
48 | ] | |||
|
49 | } | |||
|
50 | ], | |||
|
51 | "metadata": {} | |||
|
52 | } | |||
|
53 | ] | |||
|
54 | } No newline at end of file |
@@ -0,0 +1,9 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:0abf067a20ebda26a671db997ac954770350d292dff7b7d6a4ace8808f70aca1" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [] | |||
|
9 | } No newline at end of file |
@@ -0,0 +1,9 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:0abf067a20ebda26a671db997ac954770350d292dff7b7d6a4ace8808f70aca1" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [] | |||
|
9 | } No newline at end of file |
@@ -0,0 +1,59 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:7aef917e7be3cb0881b911b9dbab7a5198c83ddfaaca6ec3499716f4a347c87b" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [ | |||
|
9 | { | |||
|
10 | "cells": [ | |||
|
11 | { | |||
|
12 | "cell_type": "markdown", | |||
|
13 | "metadata": {}, | |||
|
14 | "source": [ | |||
|
15 | "<img src=\"images/ipython_logo.png\">" | |||
|
16 | ] | |||
|
17 | }, | |||
|
18 | { | |||
|
19 | "cell_type": "heading", | |||
|
20 | "level": 1, | |||
|
21 | "metadata": {}, | |||
|
22 | "source": [ | |||
|
23 | "IPython Documentation" | |||
|
24 | ] | |||
|
25 | }, | |||
|
26 | { | |||
|
27 | "cell_type": "markdown", | |||
|
28 | "metadata": {}, | |||
|
29 | "source": [ | |||
|
30 | "This directory contains IPython's notebook-based documentation. This augments our [Sphinx-based documentation](http://ipython.org/ipython-doc/stable/index.html) with notebooks that contain interactive tutorials and examples. Over time, more of our documentation will be pulled into this format." | |||
|
31 | ] | |||
|
32 | }, | |||
|
33 | { | |||
|
34 | "cell_type": "heading", | |||
|
35 | "level": 2, | |||
|
36 | "metadata": {}, | |||
|
37 | "source": [ | |||
|
38 | "Topics" | |||
|
39 | ] | |||
|
40 | }, | |||
|
41 | { | |||
|
42 | "cell_type": "markdown", | |||
|
43 | "metadata": {}, | |||
|
44 | "source": [ | |||
|
45 | "* [Core](Core/Index.ipynb): IPython's core syntax and command line features available in all of our frontends\n", | |||
|
46 | "* [Notebook](Notebook/Index.ipynb): The IPython Notebook frontend\n", | |||
|
47 | "* [Widgets](Widgets/Index.ipynb): Interactive JavaScript/HTML widgets and `interact`\n", | |||
|
48 | "* [Parallel](Parallel/Index.ipynb): IPython's library for interactive parallel computing\n", | |||
|
49 | "* [Customization](Customization/Index.ipynb): How to configure IPython and customize it with magics, extensions, etc.\n", | |||
|
50 | "* [Embedding](Embedding/Index.ipynb): Embedding and reusing IPython's components into other applications\n", | |||
|
51 | "* [Builtin Extensions](Builtin Extensions/Index.ipynb): Extensions we ship with IPython\n", | |||
|
52 | "* [Misc](Misc/Index.ipynb): Content that doesn't fit anywhere else" | |||
|
53 | ] | |||
|
54 | } | |||
|
55 | ], | |||
|
56 | "metadata": {} | |||
|
57 | } | |||
|
58 | ] | |||
|
59 | } No newline at end of file |
@@ -0,0 +1,9 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:0abf067a20ebda26a671db997ac954770350d292dff7b7d6a4ace8808f70aca1" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [] | |||
|
9 | } No newline at end of file |
@@ -0,0 +1,73 b'' | |||||
|
1 | { | |||
|
2 | "metadata": { | |||
|
3 | "name": "", | |||
|
4 | "signature": "sha256:ef5ecdf40e119cd6da50579d4d594dc74cb8c063a74b3f3f8f76834b783f750e" | |||
|
5 | }, | |||
|
6 | "nbformat": 3, | |||
|
7 | "nbformat_minor": 0, | |||
|
8 | "worksheets": [ | |||
|
9 | { | |||
|
10 | "cells": [ | |||
|
11 | { | |||
|
12 | "cell_type": "markdown", | |||
|
13 | "metadata": {}, | |||
|
14 | "source": [ | |||
|
15 | "<img src=\"../images/ipython_logo.png\">" | |||
|
16 | ] | |||
|
17 | }, | |||
|
18 | { | |||
|
19 | "cell_type": "heading", | |||
|
20 | "level": 1, | |||
|
21 | "metadata": {}, | |||
|
22 | "source": [ | |||
|
23 | "IPython Notebook" | |||
|
24 | ] | |||
|
25 | }, | |||
|
26 | { | |||
|
27 | "cell_type": "heading", | |||
|
28 | "level": 2, | |||
|
29 | "metadata": {}, | |||
|
30 | "source": [ | |||
|
31 | "Tutorials" | |||
|
32 | ] | |||
|
33 | }, | |||
|
34 | { | |||
|
35 | "cell_type": "markdown", | |||
|
36 | "metadata": {}, | |||
|
37 | "source": [ | |||
|
38 | "* [User Interface](User Interface.ipynb)\n", | |||
|
39 | "* [Running Code](Running Code.ipynb)\n", | |||
|
40 | "* [Basic Output](Basic Output.ipynb)\n", | |||
|
41 | "* [Plotting with Matplotlib](Plotting with Matplotlib.ipynb)\n", | |||
|
42 | "* [Markdown Cells](Markdown Cells.ipynb)\n", | |||
|
43 | "* [Typesetting Math Using MathJax](Typesetting Math Using MathJax.ipynb)\n", | |||
|
44 | "* [Display System](Display System.ipynb)\n", | |||
|
45 | "* [Custom Display Logic](Custom Display Logic.ipynb)" | |||
|
46 | ] | |||
|
47 | }, | |||
|
48 | { | |||
|
49 | "cell_type": "heading", | |||
|
50 | "level": 2, | |||
|
51 | "metadata": {}, | |||
|
52 | "source": [ | |||
|
53 | "Examples" | |||
|
54 | ] | |||
|
55 | }, | |||
|
56 | { | |||
|
57 | "cell_type": "markdown", | |||
|
58 | "metadata": {}, | |||
|
59 | "source": [ | |||
|
60 | "* [Trapezoid Rule](Trapezoid Rule.ipynb)\n", | |||
|
61 | "* [SymPy](SymPy.ipynb)\n", | |||
|
62 | "* [Raw Input](Raw Input.ipynb)\n", | |||
|
63 | "* [Progress Bars](Progress Bars.ipynb)\n", | |||
|
64 | "* [Importing Notebooks](Importing Notebooks.ipynb)\n", | |||
|
65 | "* [Connecting with the Qt Console](Connecting with the Qt Console.ipynb)\n", | |||
|
66 | "* [Animations Using clear_output](Animations Using clear_output.ipynb)" | |||
|
67 | ] | |||
|
68 | } | |||
|
69 | ], | |||
|
70 | "metadata": {} | |||
|
71 | } | |||
|
72 | ] | |||
|
73 | } No newline at end of file |
1 | NO CONTENT: file renamed from examples/Notebook/images/python-logo.svg to examples/Notebook/images/python_logo.svg |
|
NO CONTENT: file renamed from examples/Notebook/images/python-logo.svg to examples/Notebook/images/python_logo.svg |
@@ -1,65 +1,60 b'' | |||||
1 | { |
|
1 | { | |
2 | "metadata": { |
|
2 | "metadata": { | |
3 | "name": "", |
|
3 | "name": "", | |
4 | "signature": "sha256:a2f4e040950648308ac7ec5f95d83948b4499ffc68e6bfd8f6fe8784955f52fb" |
|
4 | "signature": "sha256:18fc966556ef56ab0ea6e2977e0d5c9b253fc6f9735839ccf9820156f3f82c95" | |
5 | }, |
|
5 | }, | |
6 | "nbformat": 3, |
|
6 | "nbformat": 3, | |
7 | "nbformat_minor": 0, |
|
7 | "nbformat_minor": 0, | |
8 | "worksheets": [ |
|
8 | "worksheets": [ | |
9 | { |
|
9 | { | |
10 | "cells": [ |
|
10 | "cells": [ | |
11 | { |
|
11 | { | |
12 |
"cell_type": " |
|
12 | "cell_type": "markdown", | |
13 | "level": 1, |
|
|||
14 | "metadata": {}, |
|
13 | "metadata": {}, | |
15 | "source": [ |
|
14 | "source": [ | |
16 | "Widget Tutorials" |
|
15 | "<img src=\"../images/ipython_logo.png\">" | |
17 | ] |
|
16 | ] | |
18 | }, |
|
17 | }, | |
19 | { |
|
18 | { | |
20 |
"cell_type": " |
|
19 | "cell_type": "heading", | |
|
20 | "level": 1, | |||
21 | "metadata": {}, |
|
21 | "metadata": {}, | |
22 | "source": [ |
|
22 | "source": [ | |
23 | "This directory includes a tutorials related to the IPython notebook widget framework." |
|
23 | "Parallel Computing with IPython" | |
24 | ] |
|
24 | ] | |
25 | }, |
|
25 | }, | |
26 | { |
|
26 | { | |
27 | "cell_type": "heading", |
|
27 | "cell_type": "heading", | |
28 | "level": 2, |
|
28 | "level": 2, | |
29 | "metadata": {}, |
|
29 | "metadata": {}, | |
30 | "source": [ |
|
30 | "source": [ | |
31 |
" |
|
31 | "Tutorials" | |
32 | ] |
|
32 | ] | |
33 | }, |
|
33 | }, | |
34 | { |
|
34 | { | |
35 | "cell_type": "markdown", |
|
35 | "cell_type": "markdown", | |
36 | "metadata": {}, |
|
36 | "metadata": {}, | |
37 | "source": [ |
|
37 | "source": [ | |
38 | "* [Using Interact](Using Interact.ipynb)" |
|
38 | "* [Data Publication API](Data Publication API.ipynb) " | |
39 | ] |
|
39 | ] | |
40 | }, |
|
40 | }, | |
41 | { |
|
41 | { | |
42 | "cell_type": "heading", |
|
42 | "cell_type": "heading", | |
43 | "level": 2, |
|
43 | "level": 2, | |
44 | "metadata": {}, |
|
44 | "metadata": {}, | |
45 | "source": [ |
|
45 | "source": [ | |
46 |
" |
|
46 | "Examples" | |
47 | ] |
|
47 | ] | |
48 | }, |
|
48 | }, | |
49 | { |
|
49 | { | |
50 | "cell_type": "markdown", |
|
50 | "cell_type": "markdown", | |
51 | "metadata": {}, |
|
51 | "metadata": {}, | |
52 | "source": [ |
|
52 | "source": [ | |
53 | "- [Basics](Basics.ipynb) \n", |
|
53 | "* " | |
54 | "- [Events](Events.ipynb) \n", |
|
|||
55 | "- [Placement](Placement.ipynb) \n", |
|
|||
56 | "- [Styles](Styles.ipynb) \n", |
|
|||
57 | "- [Alignment](Alignment.ipynb) \n", |
|
|||
58 | "- [Custom Widgets](Custom Widgets.ipynb) " |
|
|||
59 | ] |
|
54 | ] | |
60 | } |
|
55 | } | |
61 | ], |
|
56 | ], | |
62 | "metadata": {} |
|
57 | "metadata": {} | |
63 | } |
|
58 | } | |
64 | ] |
|
59 | ] | |
65 | } No newline at end of file |
|
60 | } |
1 | NO CONTENT: file renamed from examples/Parallel/InteractiveMPI.ipynb to examples/Parallel/Monitoring an MPI Simulation - 1.ipynb |
|
NO CONTENT: file renamed from examples/Parallel/InteractiveMPI.ipynb to examples/Parallel/Monitoring an MPI Simulation - 1.ipynb |
1 | NO CONTENT: file renamed from examples/Parallel/InteractiveMPI-publish-data.ipynb to examples/Parallel/Monitoring an MPI Simulation - 2.ipynb |
|
NO CONTENT: file renamed from examples/Parallel/InteractiveMPI-publish-data.ipynb to examples/Parallel/Monitoring an MPI Simulation - 2.ipynb |
@@ -1,126 +1,120 b'' | |||||
1 | { |
|
1 | { | |
2 | "metadata": { |
|
2 | "metadata": { | |
3 | "name": "" |
|
3 | "name": "", | |
|
4 | "signature": "sha256:8781781d8835d77bf0f71b535b72ee2718405543c48e87ad0408242119cdb3cc" | |||
4 | }, |
|
5 | }, | |
5 | "nbformat": 3, |
|
6 | "nbformat": 3, | |
6 | "nbformat_minor": 0, |
|
7 | "nbformat_minor": 0, | |
7 | "worksheets": [ |
|
8 | "worksheets": [ | |
8 | { |
|
9 | { | |
9 | "cells": [ |
|
10 | "cells": [ | |
10 | { |
|
11 | { | |
11 | "cell_type": "markdown", |
|
12 | "cell_type": "markdown", | |
12 | "metadata": {}, |
|
13 | "metadata": {}, | |
13 | "source": [ |
|
14 | "source": [ | |
14 | "# Load balanced map and parallel function decorator" |
|
15 | "# Load balanced map and parallel function decorator" | |
15 | ] |
|
16 | ] | |
16 | }, |
|
17 | }, | |
17 | { |
|
18 | { | |
18 | "cell_type": "code", |
|
19 | "cell_type": "code", | |
19 | "collapsed": true, |
|
20 | "collapsed": true, | |
20 | "input": [ |
|
21 | "input": [ | |
21 | "from __future__ import print_function\n", |
|
22 | "from __future__ import print_function\n", | |
22 | "from IPython.parallel import Client" |
|
23 | "from IPython.parallel import Client" | |
23 | ], |
|
24 | ], | |
24 | "language": "python", |
|
25 | "language": "python", | |
25 | "metadata": {}, |
|
26 | "metadata": {}, | |
26 | "outputs": [], |
|
27 | "outputs": [], | |
27 | "prompt_number": 1 |
|
28 | "prompt_number": 1 | |
28 | }, |
|
29 | }, | |
29 | { |
|
30 | { | |
30 | "cell_type": "code", |
|
31 | "cell_type": "code", | |
31 | "collapsed": false, |
|
32 | "collapsed": false, | |
32 | "input": [ |
|
33 | "input": [ | |
33 | "rc = Client()\n", |
|
34 | "rc = Client()\n", | |
34 | "v = rc.load_balanced_view()" |
|
35 | "v = rc.load_balanced_view()" | |
35 | ], |
|
36 | ], | |
36 | "language": "python", |
|
37 | "language": "python", | |
37 | "metadata": {}, |
|
38 | "metadata": {}, | |
38 | "outputs": [], |
|
39 | "outputs": [], | |
39 | "prompt_number": 2 |
|
40 | "prompt_number": 2 | |
40 | }, |
|
41 | }, | |
41 | { |
|
42 | { | |
42 | "cell_type": "code", |
|
43 | "cell_type": "code", | |
43 | "collapsed": false, |
|
44 | "collapsed": false, | |
44 | "input": [ |
|
45 | "input": [ | |
45 | "result = v.map(lambda x: 2*x, range(10))\n", |
|
46 | "result = v.map(lambda x: 2*x, range(10))\n", | |
46 | "print(\"Simple, default map: \", list(result))" |
|
47 | "print(\"Simple, default map: \", list(result))" | |
47 | ], |
|
48 | ], | |
48 | "language": "python", |
|
49 | "language": "python", | |
49 | "metadata": {}, |
|
50 | "metadata": {}, | |
50 | "outputs": [ |
|
51 | "outputs": [ | |
51 | { |
|
52 | { | |
52 | "output_type": "stream", |
|
53 | "output_type": "stream", | |
53 | "stream": "stdout", |
|
54 | "stream": "stdout", | |
54 | "text": [ |
|
55 | "text": [ | |
55 | "Simple, default map: " |
|
56 | "Simple, default map: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" | |
56 | ] |
|
|||
57 | }, |
|
|||
58 | { |
|
|||
59 | "output_type": "stream", |
|
|||
60 | "stream": "stdout", |
|
|||
61 | "text": [ |
|
|||
62 | "[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" |
|
|||
63 | ] |
|
57 | ] | |
64 | } |
|
58 | } | |
65 | ], |
|
59 | ], | |
66 | "prompt_number": 3 |
|
60 | "prompt_number": 3 | |
67 | }, |
|
61 | }, | |
68 | { |
|
62 | { | |
69 | "cell_type": "code", |
|
63 | "cell_type": "code", | |
70 | "collapsed": false, |
|
64 | "collapsed": false, | |
71 | "input": [ |
|
65 | "input": [ | |
72 | "ar = v.map_async(lambda x: 2*x, range(10))\n", |
|
66 | "ar = v.map_async(lambda x: 2*x, range(10))\n", | |
73 | "print(\"Submitted tasks, got ids: \", ar.msg_ids)\n", |
|
67 | "print(\"Submitted tasks, got ids: \", ar.msg_ids)\n", | |
74 | "result = ar.get()\n", |
|
68 | "result = ar.get()\n", | |
75 | "print(\"Using a mapper: \", result)" |
|
69 | "print(\"Using a mapper: \", result)" | |
76 | ], |
|
70 | ], | |
77 | "language": "python", |
|
71 | "language": "python", | |
78 | "metadata": {}, |
|
72 | "metadata": {}, | |
79 | "outputs": [ |
|
73 | "outputs": [ | |
80 | { |
|
74 | { | |
81 | "output_type": "stream", |
|
75 | "output_type": "stream", | |
82 | "stream": "stdout", |
|
76 | "stream": "stdout", | |
83 | "text": [ |
|
77 | "text": [ | |
84 | "Submitted tasks, got ids: ['d482fcb3-f8e9-41ff-ba16-9fd4118324f1', 'e4fe38dd-8a4d-4f3a-a111-e4c9fdbea7c3', '580431f4-ac66-4517-b03e-a58aa690a87b', '19a012cf-5d9d-4cf3-9656-d56263958c0e', '012ebbb5-5def-47ad-a247-20f88d2c8980', '0dea6cdb-5b22-4bac-a1bb-7544c0ef44e6', '909d073f-7eee-42a7-8f3b-8f7aa32e7639', 'be6c7466-d541-47a0-b12d-bc408d40ad77', 'b97b5967-a5a3-45c5-95cc-44e0823fd646', '69b06902-9526-42d9-bda6-c943be19cc5a']\n", |
|
78 | "Submitted tasks, got ids: ['b4d86123-967a-4f21-b9c5-8a77a69a3ced', '97401998-891d-4729-8288-ae1b97c28235', '1586cf7e-32c7-4864-bd0e-6aab16e07a3f', 'f6770223-59c3-4344-a69a-5d555d1dfb7f', '0ebb71da-6e16-44ac-917a-be978fd3787d', '582443c5-937e-45b0-9f13-5607c53cba60', '8d453d87-d70d-4fbd-a2c4-994ab3a8b6c7', '0a680757-1a59-4826-969c-523a45f3d76f', '63a3e983-a205-4f07-b494-ec86b2cdd004', '79b34cbb-aa93-4d11-8746-28969dbdd3ec']\n", | |
85 | "Using a mapper: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" |
|
79 | "Using a mapper: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" | |
86 | ] |
|
80 | ] | |
87 | } |
|
81 | } | |
88 | ], |
|
82 | ], | |
89 | "prompt_number": 4 |
|
83 | "prompt_number": 4 | |
90 | }, |
|
84 | }, | |
91 | { |
|
85 | { | |
92 | "cell_type": "code", |
|
86 | "cell_type": "code", | |
93 | "collapsed": false, |
|
87 | "collapsed": false, | |
94 | "input": [ |
|
88 | "input": [ | |
95 | "@v.parallel(block=True)\n", |
|
89 | "@v.parallel(block=True)\n", | |
96 | "def f(x): return 2*x\n", |
|
90 | "def f(x): return 2*x\n", | |
97 | "\n", |
|
91 | "\n", | |
98 | "result = f.map(range(10))\n", |
|
92 | "result = f.map(range(10))\n", | |
99 | "print(\"Using a parallel function: \", result)" |
|
93 | "print(\"Using a parallel function: \", result)" | |
100 | ], |
|
94 | ], | |
101 | "language": "python", |
|
95 | "language": "python", | |
102 | "metadata": {}, |
|
96 | "metadata": {}, | |
103 | "outputs": [ |
|
97 | "outputs": [ | |
104 | { |
|
98 | { | |
105 | "output_type": "stream", |
|
99 | "output_type": "stream", | |
106 | "stream": "stdout", |
|
100 | "stream": "stdout", | |
107 | "text": [ |
|
101 | "text": [ | |
108 | "Using a parallel function: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" |
|
102 | "Using a parallel function: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n" | |
109 | ] |
|
103 | ] | |
110 | } |
|
104 | } | |
111 | ], |
|
105 | ], | |
112 | "prompt_number": 5 |
|
106 | "prompt_number": 5 | |
113 | }, |
|
107 | }, | |
114 | { |
|
108 | { | |
115 | "cell_type": "code", |
|
109 | "cell_type": "code", | |
116 | "collapsed": false, |
|
110 | "collapsed": false, | |
117 | "input": [], |
|
111 | "input": [], | |
118 | "language": "python", |
|
112 | "language": "python", | |
119 | "metadata": {}, |
|
113 | "metadata": {}, | |
120 | "outputs": [] |
|
114 | "outputs": [] | |
121 | } |
|
115 | } | |
122 | ], |
|
116 | ], | |
123 | "metadata": {} |
|
117 | "metadata": {} | |
124 | } |
|
118 | } | |
125 | ] |
|
119 | ] | |
126 | } No newline at end of file |
|
120 | } |
1 | NO CONTENT: file renamed from examples/Parallel/parallel_mpi.ipynb to examples/Parallel/Using MPI with IPython Parallel.ipynb |
|
NO CONTENT: file renamed from examples/Parallel/parallel_mpi.ipynb to examples/Parallel/Using MPI with IPython Parallel.ipynb |
@@ -1,61 +1,89 b'' | |||||
1 | { |
|
1 | { | |
2 | "metadata": { |
|
2 | "metadata": { | |
3 | "name": "", |
|
3 | "name": "", | |
4 | "signature": "sha256:80d852710c872fd0903d077bf8002d332c0e1256e0734573233e92c67684a321" |
|
4 | "signature": "sha256:09ffc895c9a111a5040efba2cb04a59cc8703bf86fa84e20e05c07da46112646" | |
5 | }, |
|
5 | }, | |
6 | "nbformat": 3, |
|
6 | "nbformat": 3, | |
7 | "nbformat_minor": 0, |
|
7 | "nbformat_minor": 0, | |
8 | "worksheets": [ |
|
8 | "worksheets": [ | |
9 | { |
|
9 | { | |
10 | "cells": [ |
|
10 | "cells": [ | |
11 | { |
|
11 | { | |
|
12 | "cell_type": "markdown", | |||
|
13 | "metadata": {}, | |||
|
14 | "source": [ | |||
|
15 | "<img src=\"../images/ipython_logo.png\">" | |||
|
16 | ] | |||
|
17 | }, | |||
|
18 | { | |||
12 | "cell_type": "heading", |
|
19 | "cell_type": "heading", | |
13 | "level": 1, |
|
20 | "level": 1, | |
14 | "metadata": {}, |
|
21 | "metadata": {}, | |
15 | "source": [ |
|
22 | "source": [ | |
16 | "Widget Examples" |
|
23 | "Interactive JavaScript Widgets" | |
|
24 | ] | |||
|
25 | }, | |||
|
26 | { | |||
|
27 | "cell_type": "heading", | |||
|
28 | "level": 2, | |||
|
29 | "metadata": {}, | |||
|
30 | "source": [ | |||
|
31 | "Tutorials" | |||
|
32 | ] | |||
|
33 | }, | |||
|
34 | { | |||
|
35 | "cell_type": "markdown", | |||
|
36 | "metadata": {}, | |||
|
37 | "source": [ | |||
|
38 | "- [Using Interact](Using Interact.ipynb)\n", | |||
|
39 | "- [Widgets Overview](Widgets Overview.ipynb) \n", | |||
|
40 | "- [Widget Events](Widget Events.ipynb) \n", | |||
|
41 | "- [Widget Placement](Widget Placement.ipynb) \n", | |||
|
42 | "- [Widget Styles](Widget Styles.ipynb) \n", | |||
|
43 | "- [Widget Alignment](Widget Alignment.ipynb) \n", | |||
|
44 | "- [Custom Widgets](Custom Widgets.ipynb)" | |||
17 | ] |
|
45 | ] | |
18 | }, |
|
46 | }, | |
19 | { |
|
47 | { | |
20 | "cell_type": "heading", |
|
48 | "cell_type": "heading", | |
21 | "level": 2, |
|
49 | "level": 2, | |
22 | "metadata": {}, |
|
50 | "metadata": {}, | |
23 | "source": [ |
|
51 | "source": [ | |
24 |
"Examples of |
|
52 | "Examples of custom widgets" | |
25 | ] |
|
53 | ] | |
26 | }, |
|
54 | }, | |
27 | { |
|
55 | { | |
28 | "cell_type": "markdown", |
|
56 | "cell_type": "markdown", | |
29 | "metadata": {}, |
|
57 | "metadata": {}, | |
30 | "source": [ |
|
58 | "source": [ | |
31 | "- [Variable Inspector](Variable Inspector.ipynb) \n", |
|
59 | "- [Variable Inspector](Variable Inspector.ipynb) \n", | |
32 | "- [Export As (nbconvert)](Export As (nbconvert%29.ipynb) \n", |
|
60 | "- [Export As (nbconvert)](Export As (nbconvert%29.ipynb) \n", | |
33 | "- [Nonblocking Console](Nonblocking Console.ipynb) \n", |
|
61 | "- [Nonblocking Console](Nonblocking Console.ipynb) \n", | |
34 | "- [File Upload Widget](File Upload Widget.ipynb)" |
|
62 | "- [File Upload Widget](File Upload Widget.ipynb)" | |
35 | ] |
|
63 | ] | |
36 | }, |
|
64 | }, | |
37 | { |
|
65 | { | |
38 | "cell_type": "heading", |
|
66 | "cell_type": "heading", | |
39 | "level": 2, |
|
67 | "level": 2, | |
40 | "metadata": {}, |
|
68 | "metadata": {}, | |
41 | "source": [ |
|
69 | "source": [ | |
42 | "Examples using `interact`/`interactive`" |
|
70 | "Examples using `interact`/`interactive`" | |
43 | ] |
|
71 | ] | |
44 | }, |
|
72 | }, | |
45 | { |
|
73 | { | |
46 | "cell_type": "markdown", |
|
74 | "cell_type": "markdown", | |
47 | "metadata": {}, |
|
75 | "metadata": {}, | |
48 | "source": [ |
|
76 | "source": [ | |
49 | "* [Beat Frequencies](Beat Frequencies.ipynb)\n", |
|
77 | "* [Beat Frequencies](Beat Frequencies.ipynb)\n", | |
50 | "* [Exploring Graphs](Exploring Graphs.ipynb)\n", |
|
78 | "* [Exploring Graphs](Exploring Graphs.ipynb)\n", | |
51 | "* [Factoring](Factoring.ipynb)\n", |
|
79 | "* [Factoring](Factoring.ipynb)\n", | |
52 | "* [Image Browser](Image Browser.ipynb)\n", |
|
80 | "* [Image Browser](Image Browser.ipynb)\n", | |
53 | "* [Image Processing](Image Processing.ipynb)\n", |
|
81 | "* [Image Processing](Image Processing.ipynb)\n", | |
54 | "* [Lorenz](Lorenz.ipynb)" |
|
82 | "* [Lorenz Differential Equations](Lorenz Differential Equations.ipynb)" | |
55 | ] |
|
83 | ] | |
56 | } |
|
84 | } | |
57 | ], |
|
85 | ], | |
58 | "metadata": {} |
|
86 | "metadata": {} | |
59 | } |
|
87 | } | |
60 | ] |
|
88 | ] | |
61 | } No newline at end of file |
|
89 | } |
1 | NO CONTENT: file renamed from examples/Widgets/Lorenz.ipynb to examples/Widgets/Lorenz Differential Equations.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Lorenz.ipynb to examples/Widgets/Lorenz Differential Equations.ipynb |
1 | NO CONTENT: file renamed from examples/Widgets/Alignment.ipynb to examples/Widgets/Widget Alignment.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Alignment.ipynb to examples/Widgets/Widget Alignment.ipynb |
1 | NO CONTENT: file renamed from examples/Widgets/Events.ipynb to examples/Widgets/Widget Events.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Events.ipynb to examples/Widgets/Widget Events.ipynb |
1 | NO CONTENT: file renamed from examples/Widgets/Placement.ipynb to examples/Widgets/Widget Placement.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Placement.ipynb to examples/Widgets/Widget Placement.ipynb |
1 | NO CONTENT: file renamed from examples/Widgets/Styles.ipynb to examples/Widgets/Widget Styles.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Styles.ipynb to examples/Widgets/Widget Styles.ipynb |
1 | NO CONTENT: file renamed from examples/Widgets/Basics.ipynb to examples/Widgets/Widgets Overview.ipynb |
|
NO CONTENT: file renamed from examples/Widgets/Basics.ipynb to examples/Widgets/Widgets Overview.ipynb |
1 | NO CONTENT: file renamed from examples/Notebook/images/logo.png to examples/images/ipython_logo.png |
|
NO CONTENT: file renamed from examples/Notebook/images/logo.png to examples/images/ipython_logo.png |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now