##// END OF EJS Templates
Moving list_*.ipy to examples/utils/
Brian E. Granger -
Show More
@@ -1,111 +1,111 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "name": "",
3 "name": "",
4 "signature": "sha256:a805b2c46cc61ed300cc06162f057e5c2f934cf3df10daa27ca885a1ab74674a"
4 "signature": "sha256:de8cb1aff3da9097ba3fc7afab4327fc589f2bb1c154feeeb5ed97c87e37486f"
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",
12 "cell_type": "markdown",
13 "metadata": {},
13 "metadata": {},
14 "source": [
14 "source": [
15 "<img src=\"../images/ipython_logo.png\">"
15 "<img src=\"../images/ipython_logo.png\">"
16 ]
16 ]
17 },
17 },
18 {
18 {
19 "cell_type": "markdown",
19 "cell_type": "markdown",
20 "metadata": {},
20 "metadata": {},
21 "source": [
21 "source": [
22 "Back to the main [Index](../Index.ipynb)"
22 "Back to the main [Index](../Index.ipynb)"
23 ]
23 ]
24 },
24 },
25 {
25 {
26 "cell_type": "heading",
26 "cell_type": "heading",
27 "level": 1,
27 "level": 1,
28 "metadata": {},
28 "metadata": {},
29 "source": [
29 "source": [
30 "Customization"
30 "Customization"
31 ]
31 ]
32 },
32 },
33 {
33 {
34 "cell_type": "markdown",
34 "cell_type": "markdown",
35 "metadata": {},
35 "metadata": {},
36 "source": [
36 "source": [
37 "IPython has rich APIs for customization. Many behaviors of the different IPython applications can be configured using command line arguments or configuration files. IPython's core syntax and command line features can also be customized through input filters, custom magic commands, etc."
37 "IPython has rich APIs for customization. Many behaviors of the different IPython applications can be configured using command line arguments or configuration files. IPython's core syntax and command line features can also be customized through input filters, custom magic commands, etc."
38 ]
38 ]
39 },
39 },
40 {
40 {
41 "cell_type": "heading",
41 "cell_type": "heading",
42 "level": 2,
42 "level": 2,
43 "metadata": {},
43 "metadata": {},
44 "source": [
44 "source": [
45 "Tutorials"
45 "Tutorials"
46 ]
46 ]
47 },
47 },
48 {
48 {
49 "cell_type": "markdown",
49 "cell_type": "markdown",
50 "metadata": {},
50 "metadata": {},
51 "source": [
51 "source": [
52 "Coming soon."
52 "Coming soon."
53 ]
53 ]
54 },
54 },
55 {
55 {
56 "cell_type": "heading",
56 "cell_type": "heading",
57 "level": 2,
57 "level": 2,
58 "metadata": {},
58 "metadata": {},
59 "source": [
59 "source": [
60 "Examples"
60 "Examples"
61 ]
61 ]
62 },
62 },
63 {
63 {
64 "cell_type": "markdown",
64 "cell_type": "markdown",
65 "metadata": {},
65 "metadata": {},
66 "source": [
66 "source": [
67 "Coming soon."
67 "Coming soon."
68 ]
68 ]
69 },
69 },
70 {
70 {
71 "cell_type": "heading",
71 "cell_type": "heading",
72 "level": 2,
72 "level": 2,
73 "metadata": {},
73 "metadata": {},
74 "source": [
74 "source": [
75 "Non-notebook examples"
75 "Non-notebook examples"
76 ]
76 ]
77 },
77 },
78 {
78 {
79 "cell_type": "markdown",
79 "cell_type": "markdown",
80 "metadata": {},
80 "metadata": {},
81 "source": [
81 "source": [
82 "This directory also contains examples that are regular Python (`.py`) files."
82 "This directory also contains examples that are regular Python (`.py`) files."
83 ]
83 ]
84 },
84 },
85 {
85 {
86 "cell_type": "code",
86 "cell_type": "code",
87 "collapsed": false,
87 "collapsed": false,
88 "input": [
88 "input": [
89 "%run ../list_pyfiles.ipy"
89 "%run ../utils/list_pyfiles.ipy"
90 ],
90 ],
91 "language": "python",
91 "language": "python",
92 "metadata": {},
92 "metadata": {},
93 "outputs": [
93 "outputs": [
94 {
94 {
95 "html": [
95 "html": [
96 "<a href='appconfig.py' target='_blank'>appconfig.py</a><br>"
96 "<a href='appconfig.py' target='_blank'>appconfig.py</a><br>"
97 ],
97 ],
98 "metadata": {},
98 "metadata": {},
99 "output_type": "display_data",
99 "output_type": "display_data",
100 "text": [
100 "text": [
101 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Customization/appconfig.py"
101 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Customization/appconfig.py"
102 ]
102 ]
103 }
103 }
104 ],
104 ],
105 "prompt_number": 2
105 "prompt_number": 1
106 }
106 }
107 ],
107 ],
108 "metadata": {}
108 "metadata": {}
109 }
109 }
110 ]
110 ]
111 } No newline at end of file
111 }
@@ -1,188 +1,188 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "name": "",
3 "name": "",
4 "signature": "sha256:29db13dc7016ac387a7b8f535ee31c19456004997ba93c328fa0abae41704e5f"
4 "signature": "sha256:627cdf03b8de558c9344f9d1e8f0beeb2448e37e492d676e6db7b07d33251a2b"
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",
12 "cell_type": "markdown",
13 "metadata": {},
13 "metadata": {},
14 "source": [
14 "source": [
15 "<img src=\"../images/ipython_logo.png\">"
15 "<img src=\"../images/ipython_logo.png\">"
16 ]
16 ]
17 },
17 },
18 {
18 {
19 "cell_type": "markdown",
19 "cell_type": "markdown",
20 "metadata": {},
20 "metadata": {},
21 "source": [
21 "source": [
22 "Back to the main [Index](../Index.ipynb)"
22 "Back to the main [Index](../Index.ipynb)"
23 ]
23 ]
24 },
24 },
25 {
25 {
26 "cell_type": "heading",
26 "cell_type": "heading",
27 "level": 1,
27 "level": 1,
28 "metadata": {},
28 "metadata": {},
29 "source": [
29 "source": [
30 "Embedding IPython Into Other Applications"
30 "Embedding IPython Into Other Applications"
31 ]
31 ]
32 },
32 },
33 {
33 {
34 "cell_type": "markdown",
34 "cell_type": "markdown",
35 "metadata": {},
35 "metadata": {},
36 "source": [
36 "source": [
37 "The architecture of IPython is built with reusable components. These components include:\n",
37 "The architecture of IPython is built with reusable components. These components include:\n",
38 "\n",
38 "\n",
39 "* The configuration system for processing command line arguments and configuration files\n",
39 "* The configuration system for processing command line arguments and configuration files\n",
40 "* The IPython `InteractiveShell` object that provides the core interactive features across the entire code base\n",
40 "* The IPython `InteractiveShell` object that provides the core interactive features across the entire code base\n",
41 "* The IPython kernel, which provides the capabilities of the `InteractiveShell` object over a ZeroMQ/JSON based message protocol to various frontends\n",
41 "* The IPython kernel, which provides the capabilities of the `InteractiveShell` object over a ZeroMQ/JSON based message protocol to various frontends\n",
42 "* The IPython frontends (Notebook, Qt Console, Console, Terminal)\n",
42 "* The IPython frontends (Notebook, Qt Console, Console, Terminal)\n",
43 "\n",
43 "\n",
44 "These components can be embedded into other applications."
44 "These components can be embedded into other applications."
45 ]
45 ]
46 },
46 },
47 {
47 {
48 "cell_type": "heading",
48 "cell_type": "heading",
49 "level": 2,
49 "level": 2,
50 "metadata": {},
50 "metadata": {},
51 "source": [
51 "source": [
52 "Tutorials"
52 "Tutorials"
53 ]
53 ]
54 },
54 },
55 {
55 {
56 "cell_type": "markdown",
56 "cell_type": "markdown",
57 "metadata": {},
57 "metadata": {},
58 "source": [
58 "source": [
59 "Coming soon."
59 "Coming soon."
60 ]
60 ]
61 },
61 },
62 {
62 {
63 "cell_type": "heading",
63 "cell_type": "heading",
64 "level": 2,
64 "level": 2,
65 "metadata": {},
65 "metadata": {},
66 "source": [
66 "source": [
67 "Examples"
67 "Examples"
68 ]
68 ]
69 },
69 },
70 {
70 {
71 "cell_type": "markdown",
71 "cell_type": "markdown",
72 "metadata": {},
72 "metadata": {},
73 "source": [
73 "source": [
74 "Coming soon."
74 "Coming soon."
75 ]
75 ]
76 },
76 },
77 {
77 {
78 "cell_type": "heading",
78 "cell_type": "heading",
79 "level": 2,
79 "level": 2,
80 "metadata": {},
80 "metadata": {},
81 "source": [
81 "source": [
82 "Non-notebook examples"
82 "Non-notebook examples"
83 ]
83 ]
84 },
84 },
85 {
85 {
86 "cell_type": "markdown",
86 "cell_type": "markdown",
87 "metadata": {},
87 "metadata": {},
88 "source": [
88 "source": [
89 "This directory also contains examples that are regular Python (`.py`) files."
89 "This directory also contains examples that are regular Python (`.py`) files."
90 ]
90 ]
91 },
91 },
92 {
92 {
93 "cell_type": "code",
93 "cell_type": "code",
94 "collapsed": false,
94 "collapsed": false,
95 "input": [
95 "input": [
96 "%run ../list_pyfiles.ipy"
96 "%run ../utils/list_pyfiles.ipy"
97 ],
97 ],
98 "language": "python",
98 "language": "python",
99 "metadata": {},
99 "metadata": {},
100 "outputs": [
100 "outputs": [
101 {
101 {
102 "html": [
102 "html": [
103 "<a href='embed_class_long.py' target='_blank'>embed_class_long.py</a><br>"
103 "<a href='embed_class_long.py' target='_blank'>embed_class_long.py</a><br>"
104 ],
104 ],
105 "metadata": {},
105 "metadata": {},
106 "output_type": "display_data",
106 "output_type": "display_data",
107 "text": [
107 "text": [
108 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_long.py"
108 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_long.py"
109 ]
109 ]
110 },
110 },
111 {
111 {
112 "html": [
112 "html": [
113 "<a href='embed_class_short.py' target='_blank'>embed_class_short.py</a><br>"
113 "<a href='embed_class_short.py' target='_blank'>embed_class_short.py</a><br>"
114 ],
114 ],
115 "metadata": {},
115 "metadata": {},
116 "output_type": "display_data",
116 "output_type": "display_data",
117 "text": [
117 "text": [
118 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_short.py"
118 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_short.py"
119 ]
119 ]
120 },
120 },
121 {
121 {
122 "html": [
122 "html": [
123 "<a href='embed_function.py' target='_blank'>embed_function.py</a><br>"
123 "<a href='embed_function.py' target='_blank'>embed_function.py</a><br>"
124 ],
124 ],
125 "metadata": {},
125 "metadata": {},
126 "output_type": "display_data",
126 "output_type": "display_data",
127 "text": [
127 "text": [
128 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_function.py"
128 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_function.py"
129 ]
129 ]
130 },
130 },
131 {
131 {
132 "html": [
132 "html": [
133 "<a href='inprocess_qtconsole.py' target='_blank'>inprocess_qtconsole.py</a><br>"
133 "<a href='inprocess_qtconsole.py' target='_blank'>inprocess_qtconsole.py</a><br>"
134 ],
134 ],
135 "metadata": {},
135 "metadata": {},
136 "output_type": "display_data",
136 "output_type": "display_data",
137 "text": [
137 "text": [
138 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_qtconsole.py"
138 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_qtconsole.py"
139 ]
139 ]
140 },
140 },
141 {
141 {
142 "html": [
142 "html": [
143 "<a href='inprocess_terminal.py' target='_blank'>inprocess_terminal.py</a><br>"
143 "<a href='inprocess_terminal.py' target='_blank'>inprocess_terminal.py</a><br>"
144 ],
144 ],
145 "metadata": {},
145 "metadata": {},
146 "output_type": "display_data",
146 "output_type": "display_data",
147 "text": [
147 "text": [
148 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_terminal.py"
148 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_terminal.py"
149 ]
149 ]
150 },
150 },
151 {
151 {
152 "html": [
152 "html": [
153 "<a href='internal_ipkernel.py' target='_blank'>internal_ipkernel.py</a><br>"
153 "<a href='internal_ipkernel.py' target='_blank'>internal_ipkernel.py</a><br>"
154 ],
154 ],
155 "metadata": {},
155 "metadata": {},
156 "output_type": "display_data",
156 "output_type": "display_data",
157 "text": [
157 "text": [
158 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/internal_ipkernel.py"
158 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/internal_ipkernel.py"
159 ]
159 ]
160 },
160 },
161 {
161 {
162 "html": [
162 "html": [
163 "<a href='ipkernel_qtapp.py' target='_blank'>ipkernel_qtapp.py</a><br>"
163 "<a href='ipkernel_qtapp.py' target='_blank'>ipkernel_qtapp.py</a><br>"
164 ],
164 ],
165 "metadata": {},
165 "metadata": {},
166 "output_type": "display_data",
166 "output_type": "display_data",
167 "text": [
167 "text": [
168 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_qtapp.py"
168 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_qtapp.py"
169 ]
169 ]
170 },
170 },
171 {
171 {
172 "html": [
172 "html": [
173 "<a href='ipkernel_wxapp.py' target='_blank'>ipkernel_wxapp.py</a><br>"
173 "<a href='ipkernel_wxapp.py' target='_blank'>ipkernel_wxapp.py</a><br>"
174 ],
174 ],
175 "metadata": {},
175 "metadata": {},
176 "output_type": "display_data",
176 "output_type": "display_data",
177 "text": [
177 "text": [
178 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_wxapp.py"
178 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_wxapp.py"
179 ]
179 ]
180 }
180 }
181 ],
181 ],
182 "prompt_number": 1
182 "prompt_number": 1
183 }
183 }
184 ],
184 ],
185 "metadata": {}
185 "metadata": {}
186 }
186 }
187 ]
187 ]
188 } No newline at end of file
188 }
@@ -1,165 +1,165 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "name": "",
3 "name": "",
4 "signature": "sha256:dd3f8171dfb5c8cb7aa9b1c0f5dee915f4ac8f73d9dc19a20a95c8f1583578ae"
4 "signature": "sha256:b0cbc510e3a2cd2333bc169f96a4e2e29d892cef880222c00f53b067f2d4f257"
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",
12 "cell_type": "markdown",
13 "metadata": {},
13 "metadata": {},
14 "source": [
14 "source": [
15 "<img src=\"../images/ipython_logo.png\">"
15 "<img src=\"../images/ipython_logo.png\">"
16 ]
16 ]
17 },
17 },
18 {
18 {
19 "cell_type": "markdown",
19 "cell_type": "markdown",
20 "metadata": {},
20 "metadata": {},
21 "source": [
21 "source": [
22 "Back to the main [Index](../Index.ipynb)"
22 "Back to the main [Index](../Index.ipynb)"
23 ]
23 ]
24 },
24 },
25 {
25 {
26 "cell_type": "heading",
26 "cell_type": "heading",
27 "level": 1,
27 "level": 1,
28 "metadata": {},
28 "metadata": {},
29 "source": [
29 "source": [
30 "IPython Kernel"
30 "IPython Kernel"
31 ]
31 ]
32 },
32 },
33 {
33 {
34 "cell_type": "markdown",
34 "cell_type": "markdown",
35 "metadata": {},
35 "metadata": {},
36 "source": [
36 "source": [
37 "IPython provides extensions to the Python programming language that make working interactively convenient and efficient. These extensions are implemented in the IPython Kernel and are available in all of the IPython Frontends (Notebook, Terminal, Console and Qt Console) when running this kernel."
37 "IPython provides extensions to the Python programming language that make working interactively convenient and efficient. These extensions are implemented in the IPython Kernel and are available in all of the IPython Frontends (Notebook, Terminal, Console and Qt Console) when running this kernel."
38 ]
38 ]
39 },
39 },
40 {
40 {
41 "cell_type": "heading",
41 "cell_type": "heading",
42 "level": 2,
42 "level": 2,
43 "metadata": {},
43 "metadata": {},
44 "source": [
44 "source": [
45 "Tutorials"
45 "Tutorials"
46 ]
46 ]
47 },
47 },
48 {
48 {
49 "cell_type": "markdown",
49 "cell_type": "markdown",
50 "metadata": {},
50 "metadata": {},
51 "source": [
51 "source": [
52 "* [Cell Magics](Cell Magics.ipynb)\n",
52 "* [Cell Magics](Cell Magics.ipynb)\n",
53 "* [Script Magics](Script Magics.ipynb)"
53 "* [Script Magics](Script Magics.ipynb)"
54 ]
54 ]
55 },
55 },
56 {
56 {
57 "cell_type": "heading",
57 "cell_type": "heading",
58 "level": 2,
58 "level": 2,
59 "metadata": {},
59 "metadata": {},
60 "source": [
60 "source": [
61 "Examples"
61 "Examples"
62 ]
62 ]
63 },
63 },
64 {
64 {
65 "cell_type": "markdown",
65 "cell_type": "markdown",
66 "metadata": {},
66 "metadata": {},
67 "source": [
67 "source": [
68 "* [Background Jobs](Background Jobs.ipynb)"
68 "* [Background Jobs](Background Jobs.ipynb)"
69 ]
69 ]
70 },
70 },
71 {
71 {
72 "cell_type": "heading",
72 "cell_type": "heading",
73 "level": 2,
73 "level": 2,
74 "metadata": {},
74 "metadata": {},
75 "source": [
75 "source": [
76 "Non-notebook examples"
76 "Non-notebook examples"
77 ]
77 ]
78 },
78 },
79 {
79 {
80 "cell_type": "markdown",
80 "cell_type": "markdown",
81 "metadata": {},
81 "metadata": {},
82 "source": [
82 "source": [
83 "This directory also contains examples that are regular Python (`.py`) files."
83 "This directory also contains examples that are regular Python (`.py`) files."
84 ]
84 ]
85 },
85 },
86 {
86 {
87 "cell_type": "code",
87 "cell_type": "code",
88 "collapsed": false,
88 "collapsed": false,
89 "input": [
89 "input": [
90 "%run ../list_pyfiles.ipy"
90 "%run ../utils/list_pyfiles.ipy"
91 ],
91 ],
92 "language": "python",
92 "language": "python",
93 "metadata": {},
93 "metadata": {},
94 "outputs": [
94 "outputs": [
95 {
95 {
96 "html": [
96 "html": [
97 "<a href='example-demo.py' target='_blank'>example-demo.py</a><br>"
97 "<a href='example-demo.py' target='_blank'>example-demo.py</a><br>"
98 ],
98 ],
99 "metadata": {},
99 "metadata": {},
100 "output_type": "display_data",
100 "output_type": "display_data",
101 "text": [
101 "text": [
102 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/IPython Kernel/example-demo.py"
102 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/IPython Kernel/example-demo.py"
103 ]
103 ]
104 },
104 },
105 {
105 {
106 "html": [
106 "html": [
107 "<a href='ipython-get-history.py' target='_blank'>ipython-get-history.py</a><br>"
107 "<a href='ipython-get-history.py' target='_blank'>ipython-get-history.py</a><br>"
108 ],
108 ],
109 "metadata": {},
109 "metadata": {},
110 "output_type": "display_data",
110 "output_type": "display_data",
111 "text": [
111 "text": [
112 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/IPython Kernel/ipython-get-history.py"
112 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/IPython Kernel/ipython-get-history.py"
113 ]
113 ]
114 }
114 }
115 ],
115 ],
116 "prompt_number": 1
116 "prompt_number": 1
117 },
117 },
118 {
118 {
119 "cell_type": "markdown",
119 "cell_type": "markdown",
120 "metadata": {},
120 "metadata": {},
121 "source": [
121 "source": [
122 "There are also a set of examples that show how to integrate IPython with different GUI event loops:"
122 "There are also a set of examples that show how to integrate IPython with different GUI event loops:"
123 ]
123 ]
124 },
124 },
125 {
125 {
126 "cell_type": "code",
126 "cell_type": "code",
127 "collapsed": false,
127 "collapsed": false,
128 "input": [
128 "input": [
129 "%run ../list_subdirs.ipy"
129 "%run ../utils/list_subdirs.ipy"
130 ],
130 ],
131 "language": "python",
131 "language": "python",
132 "metadata": {},
132 "metadata": {},
133 "outputs": [
133 "outputs": [
134 {
134 {
135 "html": [
135 "html": [
136 "gui/<br>\n",
136 "gui/<br>\n",
137 "&nbsp;&nbsp;<a href='gui/gui-glut.py' target='_blank'>gui-glut.py</a><br>\n",
137 "&nbsp;&nbsp;<a href='gui/gui-glut.py' target='_blank'>gui-glut.py</a><br>\n",
138 "&nbsp;&nbsp;<a href='gui/gui-gtk.py' target='_blank'>gui-gtk.py</a><br>\n",
138 "&nbsp;&nbsp;<a href='gui/gui-gtk.py' target='_blank'>gui-gtk.py</a><br>\n",
139 "&nbsp;&nbsp;<a href='gui/gui-gtk3.py' target='_blank'>gui-gtk3.py</a><br>\n",
139 "&nbsp;&nbsp;<a href='gui/gui-gtk3.py' target='_blank'>gui-gtk3.py</a><br>\n",
140 "&nbsp;&nbsp;<a href='gui/gui-pyglet.py' target='_blank'>gui-pyglet.py</a><br>\n",
140 "&nbsp;&nbsp;<a href='gui/gui-pyglet.py' target='_blank'>gui-pyglet.py</a><br>\n",
141 "&nbsp;&nbsp;<a href='gui/gui-qt.py' target='_blank'>gui-qt.py</a><br>\n",
141 "&nbsp;&nbsp;<a href='gui/gui-qt.py' target='_blank'>gui-qt.py</a><br>\n",
142 "&nbsp;&nbsp;<a href='gui/gui-tk.py' target='_blank'>gui-tk.py</a><br>\n",
142 "&nbsp;&nbsp;<a href='gui/gui-tk.py' target='_blank'>gui-tk.py</a><br>\n",
143 "&nbsp;&nbsp;<a href='gui/gui-wx.py' target='_blank'>gui-wx.py</a><br>"
143 "&nbsp;&nbsp;<a href='gui/gui-wx.py' target='_blank'>gui-wx.py</a><br>"
144 ],
144 ],
145 "metadata": {},
145 "metadata": {},
146 "output_type": "display_data",
146 "output_type": "display_data",
147 "text": [
147 "text": [
148 "gui/\n",
148 "gui/\n",
149 " gui-glut.py\n",
149 " gui-glut.py\n",
150 " gui-gtk.py\n",
150 " gui-gtk.py\n",
151 " gui-gtk3.py\n",
151 " gui-gtk3.py\n",
152 " gui-pyglet.py\n",
152 " gui-pyglet.py\n",
153 " gui-qt.py\n",
153 " gui-qt.py\n",
154 " gui-tk.py\n",
154 " gui-tk.py\n",
155 " gui-wx.py"
155 " gui-wx.py"
156 ]
156 ]
157 }
157 }
158 ],
158 ],
159 "prompt_number": 2
159 "prompt_number": 2
160 }
160 }
161 ],
161 ],
162 "metadata": {}
162 "metadata": {}
163 }
163 }
164 ]
164 ]
165 } No newline at end of file
165 }
@@ -1,330 +1,330 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "name": "",
3 "name": "",
4 "signature": "sha256:424566387e51dfd0dc559496301c86be9b1f610b6cfedb1cbd225ce9f0161b88"
4 "signature": "sha256:1e9336d35cc07875300c5b876df6ce1f1971c2ee94870788c6ea32bbb789c42b"
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",
12 "cell_type": "markdown",
13 "metadata": {},
13 "metadata": {},
14 "source": [
14 "source": [
15 "<img src=\"../images/ipython_logo.png\">"
15 "<img src=\"../images/ipython_logo.png\">"
16 ]
16 ]
17 },
17 },
18 {
18 {
19 "cell_type": "markdown",
19 "cell_type": "markdown",
20 "metadata": {},
20 "metadata": {},
21 "source": [
21 "source": [
22 "Back to the main [Index](../Index.ipynb)"
22 "Back to the main [Index](../Index.ipynb)"
23 ]
23 ]
24 },
24 },
25 {
25 {
26 "cell_type": "heading",
26 "cell_type": "heading",
27 "level": 1,
27 "level": 1,
28 "metadata": {},
28 "metadata": {},
29 "source": [
29 "source": [
30 "Parallel Computing"
30 "Parallel Computing"
31 ]
31 ]
32 },
32 },
33 {
33 {
34 "cell_type": "markdown",
34 "cell_type": "markdown",
35 "metadata": {},
35 "metadata": {},
36 "source": [
36 "source": [
37 "IPython includes an architecture and library for interactive parallel computing. The enables Python functions, along with their arguments, to be run in parallel a multicore CPU, cluster or cloud using a simple Python API."
37 "IPython includes an architecture and library for interactive parallel computing. The enables Python functions, along with their arguments, to be run in parallel a multicore CPU, cluster or cloud using a simple Python API."
38 ]
38 ]
39 },
39 },
40 {
40 {
41 "cell_type": "heading",
41 "cell_type": "heading",
42 "level": 2,
42 "level": 2,
43 "metadata": {},
43 "metadata": {},
44 "source": [
44 "source": [
45 "Tutorials"
45 "Tutorials"
46 ]
46 ]
47 },
47 },
48 {
48 {
49 "cell_type": "markdown",
49 "cell_type": "markdown",
50 "metadata": {},
50 "metadata": {},
51 "source": [
51 "source": [
52 "* [Data Publication API](Data Publication API.ipynb) "
52 "* [Data Publication API](Data Publication API.ipynb) "
53 ]
53 ]
54 },
54 },
55 {
55 {
56 "cell_type": "heading",
56 "cell_type": "heading",
57 "level": 2,
57 "level": 2,
58 "metadata": {},
58 "metadata": {},
59 "source": [
59 "source": [
60 "Examples"
60 "Examples"
61 ]
61 ]
62 },
62 },
63 {
63 {
64 "cell_type": "markdown",
64 "cell_type": "markdown",
65 "metadata": {},
65 "metadata": {},
66 "source": [
66 "source": [
67 "* [Monitoring an MPI Simulation - 1](Monitoring an MPI Simulation - 1.ipynb)\n",
67 "* [Monitoring an MPI Simulation - 1](Monitoring an MPI Simulation - 1.ipynb)\n",
68 "* [Monitoring an MPI Simulation - 2](Monitoring an MPI Simulation - 2.ipynb)\n",
68 "* [Monitoring an MPI Simulation - 2](Monitoring an MPI Simulation - 2.ipynb)\n",
69 "* [Parallel Decorator and map](Parallel Decorator and map.ipynb)\n",
69 "* [Parallel Decorator and map](Parallel Decorator and map.ipynb)\n",
70 "* [Parallel Magics](Parallel Magics.ipynb)\n",
70 "* [Parallel Magics](Parallel Magics.ipynb)\n",
71 "* [Using Dill](Using Dill.ipynb)\n",
71 "* [Using Dill](Using Dill.ipynb)\n",
72 "* [Using MPI with IPython Parallel](Using MPI with IPython Parallel.ipynb)\n",
72 "* [Using MPI with IPython Parallel](Using MPI with IPython Parallel.ipynb)\n",
73 "* [Monte Carlo Options](Monte Carlo Options.ipynb)"
73 "* [Monte Carlo Options](Monte Carlo Options.ipynb)"
74 ]
74 ]
75 },
75 },
76 {
76 {
77 "cell_type": "heading",
77 "cell_type": "heading",
78 "level": 2,
78 "level": 2,
79 "metadata": {},
79 "metadata": {},
80 "source": [
80 "source": [
81 "Non-notebook examples"
81 "Non-notebook examples"
82 ]
82 ]
83 },
83 },
84 {
84 {
85 "cell_type": "markdown",
85 "cell_type": "markdown",
86 "metadata": {},
86 "metadata": {},
87 "source": [
87 "source": [
88 "This directory also contains examples that are regular Python (`.py`) files."
88 "This directory also contains examples that are regular Python (`.py`) files."
89 ]
89 ]
90 },
90 },
91 {
91 {
92 "cell_type": "code",
92 "cell_type": "code",
93 "collapsed": false,
93 "collapsed": false,
94 "input": [
94 "input": [
95 "%run ../list_pyfiles.ipy"
95 "%run ../utils/list_pyfiles.ipy"
96 ],
96 ],
97 "language": "python",
97 "language": "python",
98 "metadata": {},
98 "metadata": {},
99 "outputs": [
99 "outputs": [
100 {
100 {
101 "html": [
101 "html": [
102 "<a href='customresults.py' target='_blank'>customresults.py</a><br>"
102 "<a href='customresults.py' target='_blank'>customresults.py</a><br>"
103 ],
103 ],
104 "metadata": {},
104 "metadata": {},
105 "output_type": "display_data",
105 "output_type": "display_data",
106 "text": [
106 "text": [
107 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/customresults.py"
107 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/customresults.py"
108 ]
108 ]
109 },
109 },
110 {
110 {
111 "html": [
111 "html": [
112 "<a href='dagdeps.py' target='_blank'>dagdeps.py</a><br>"
112 "<a href='dagdeps.py' target='_blank'>dagdeps.py</a><br>"
113 ],
113 ],
114 "metadata": {},
114 "metadata": {},
115 "output_type": "display_data",
115 "output_type": "display_data",
116 "text": [
116 "text": [
117 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/dagdeps.py"
117 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/dagdeps.py"
118 ]
118 ]
119 },
119 },
120 {
120 {
121 "html": [
121 "html": [
122 "<a href='dependencies.py' target='_blank'>dependencies.py</a><br>"
122 "<a href='dependencies.py' target='_blank'>dependencies.py</a><br>"
123 ],
123 ],
124 "metadata": {},
124 "metadata": {},
125 "output_type": "display_data",
125 "output_type": "display_data",
126 "text": [
126 "text": [
127 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/dependencies.py"
127 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/dependencies.py"
128 ]
128 ]
129 },
129 },
130 {
130 {
131 "html": [
131 "html": [
132 "<a href='fetchparse.py' target='_blank'>fetchparse.py</a><br>"
132 "<a href='fetchparse.py' target='_blank'>fetchparse.py</a><br>"
133 ],
133 ],
134 "metadata": {},
134 "metadata": {},
135 "output_type": "display_data",
135 "output_type": "display_data",
136 "text": [
136 "text": [
137 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/fetchparse.py"
137 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/fetchparse.py"
138 ]
138 ]
139 },
139 },
140 {
140 {
141 "html": [
141 "html": [
142 "<a href='iopubwatcher.py' target='_blank'>iopubwatcher.py</a><br>"
142 "<a href='iopubwatcher.py' target='_blank'>iopubwatcher.py</a><br>"
143 ],
143 ],
144 "metadata": {},
144 "metadata": {},
145 "output_type": "display_data",
145 "output_type": "display_data",
146 "text": [
146 "text": [
147 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/iopubwatcher.py"
147 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/iopubwatcher.py"
148 ]
148 ]
149 },
149 },
150 {
150 {
151 "html": [
151 "html": [
152 "<a href='itermapresult.py' target='_blank'>itermapresult.py</a><br>"
152 "<a href='itermapresult.py' target='_blank'>itermapresult.py</a><br>"
153 ],
153 ],
154 "metadata": {},
154 "metadata": {},
155 "output_type": "display_data",
155 "output_type": "display_data",
156 "text": [
156 "text": [
157 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/itermapresult.py"
157 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/itermapresult.py"
158 ]
158 ]
159 },
159 },
160 {
160 {
161 "html": [
161 "html": [
162 "<a href='nwmerge.py' target='_blank'>nwmerge.py</a><br>"
162 "<a href='nwmerge.py' target='_blank'>nwmerge.py</a><br>"
163 ],
163 ],
164 "metadata": {},
164 "metadata": {},
165 "output_type": "display_data",
165 "output_type": "display_data",
166 "text": [
166 "text": [
167 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/nwmerge.py"
167 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/nwmerge.py"
168 ]
168 ]
169 },
169 },
170 {
170 {
171 "html": [
171 "html": [
172 "<a href='phistogram.py' target='_blank'>phistogram.py</a><br>"
172 "<a href='phistogram.py' target='_blank'>phistogram.py</a><br>"
173 ],
173 ],
174 "metadata": {},
174 "metadata": {},
175 "output_type": "display_data",
175 "output_type": "display_data",
176 "text": [
176 "text": [
177 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/phistogram.py"
177 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/phistogram.py"
178 ]
178 ]
179 },
179 },
180 {
180 {
181 "html": [
181 "html": [
182 "<a href='task_profiler.py' target='_blank'>task_profiler.py</a><br>"
182 "<a href='task_profiler.py' target='_blank'>task_profiler.py</a><br>"
183 ],
183 ],
184 "metadata": {},
184 "metadata": {},
185 "output_type": "display_data",
185 "output_type": "display_data",
186 "text": [
186 "text": [
187 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/task_profiler.py"
187 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/task_profiler.py"
188 ]
188 ]
189 },
189 },
190 {
190 {
191 "html": [
191 "html": [
192 "<a href='throughput.py' target='_blank'>throughput.py</a><br>"
192 "<a href='throughput.py' target='_blank'>throughput.py</a><br>"
193 ],
193 ],
194 "metadata": {},
194 "metadata": {},
195 "output_type": "display_data",
195 "output_type": "display_data",
196 "text": [
196 "text": [
197 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/throughput.py"
197 "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Parallel Computing/throughput.py"
198 ]
198 ]
199 }
199 }
200 ],
200 ],
201 "prompt_number": 4
201 "prompt_number": 1
202 },
202 },
203 {
203 {
204 "cell_type": "markdown",
204 "cell_type": "markdown",
205 "metadata": {},
205 "metadata": {},
206 "source": [
206 "source": [
207 "More substantial examples can be found in subdirectories:"
207 "More substantial examples can be found in subdirectories:"
208 ]
208 ]
209 },
209 },
210 {
210 {
211 "cell_type": "code",
211 "cell_type": "code",
212 "collapsed": false,
212 "collapsed": false,
213 "input": [
213 "input": [
214 "%run ../list_subdirs.ipy"
214 "%run ../utils/list_subdirs.ipy"
215 ],
215 ],
216 "language": "python",
216 "language": "python",
217 "metadata": {},
217 "metadata": {},
218 "outputs": [
218 "outputs": [
219 {
219 {
220 "html": [
220 "html": [
221 "daVinci Word Count/<br>\n",
221 "daVinci Word Count/<br>\n",
222 "&nbsp;&nbsp;<a href='daVinci Word Count/pwordfreq.py' target='_blank'>pwordfreq.py</a><br>\n",
222 "&nbsp;&nbsp;<a href='daVinci Word Count/pwordfreq.py' target='_blank'>pwordfreq.py</a><br>\n",
223 "&nbsp;&nbsp;<a href='daVinci Word Count/wordfreq.py' target='_blank'>wordfreq.py</a><br>"
223 "&nbsp;&nbsp;<a href='daVinci Word Count/wordfreq.py' target='_blank'>wordfreq.py</a><br>"
224 ],
224 ],
225 "metadata": {},
225 "metadata": {},
226 "output_type": "display_data",
226 "output_type": "display_data",
227 "text": [
227 "text": [
228 "daVinci Word Count/\n",
228 "daVinci Word Count/\n",
229 " pwordfreq.py\n",
229 " pwordfreq.py\n",
230 " wordfreq.py"
230 " wordfreq.py"
231 ]
231 ]
232 },
232 },
233 {
233 {
234 "html": [
234 "html": [
235 "interengine/<br>\n",
235 "interengine/<br>\n",
236 "&nbsp;&nbsp;<a href='interengine/bintree.py' target='_blank'>bintree.py</a><br>\n",
236 "&nbsp;&nbsp;<a href='interengine/bintree.py' target='_blank'>bintree.py</a><br>\n",
237 "&nbsp;&nbsp;<a href='interengine/bintree_script.py' target='_blank'>bintree_script.py</a><br>\n",
237 "&nbsp;&nbsp;<a href='interengine/bintree_script.py' target='_blank'>bintree_script.py</a><br>\n",
238 "&nbsp;&nbsp;<a href='interengine/communicator.py' target='_blank'>communicator.py</a><br>\n",
238 "&nbsp;&nbsp;<a href='interengine/communicator.py' target='_blank'>communicator.py</a><br>\n",
239 "&nbsp;&nbsp;<a href='interengine/interengine.py' target='_blank'>interengine.py</a><br>"
239 "&nbsp;&nbsp;<a href='interengine/interengine.py' target='_blank'>interengine.py</a><br>"
240 ],
240 ],
241 "metadata": {},
241 "metadata": {},
242 "output_type": "display_data",
242 "output_type": "display_data",
243 "text": [
243 "text": [
244 "interengine/\n",
244 "interengine/\n",
245 " bintree.py\n",
245 " bintree.py\n",
246 " bintree_script.py\n",
246 " bintree_script.py\n",
247 " communicator.py\n",
247 " communicator.py\n",
248 " interengine.py"
248 " interengine.py"
249 ]
249 ]
250 },
250 },
251 {
251 {
252 "html": [],
252 "html": [],
253 "metadata": {},
253 "metadata": {},
254 "output_type": "display_data",
254 "output_type": "display_data",
255 "text": []
255 "text": []
256 },
256 },
257 {
257 {
258 "html": [
258 "html": [
259 "pi/<br>\n",
259 "pi/<br>\n",
260 "&nbsp;&nbsp;<a href='pi/parallelpi.py' target='_blank'>parallelpi.py</a><br>\n",
260 "&nbsp;&nbsp;<a href='pi/parallelpi.py' target='_blank'>parallelpi.py</a><br>\n",
261 "&nbsp;&nbsp;<a href='pi/pidigits.py' target='_blank'>pidigits.py</a><br>"
261 "&nbsp;&nbsp;<a href='pi/pidigits.py' target='_blank'>pidigits.py</a><br>"
262 ],
262 ],
263 "metadata": {},
263 "metadata": {},
264 "output_type": "display_data",
264 "output_type": "display_data",
265 "text": [
265 "text": [
266 "pi/\n",
266 "pi/\n",
267 " parallelpi.py\n",
267 " parallelpi.py\n",
268 " pidigits.py"
268 " pidigits.py"
269 ]
269 ]
270 },
270 },
271 {
271 {
272 "html": [
272 "html": [
273 "rmt/<br>\n",
273 "rmt/<br>\n",
274 "&nbsp;&nbsp;<a href='rmt/rmt.ipy' target='_blank'>rmt.ipy</a><br>\n",
274 "&nbsp;&nbsp;<a href='rmt/rmt.ipy' target='_blank'>rmt.ipy</a><br>\n",
275 "&nbsp;&nbsp;<a href='rmt/rmt.ipynb' target='_blank'>rmt.ipynb</a><br>\n",
275 "&nbsp;&nbsp;<a href='rmt/rmt.ipynb' target='_blank'>rmt.ipynb</a><br>\n",
276 "&nbsp;&nbsp;<a href='rmt/rmtkernel.py' target='_blank'>rmtkernel.py</a><br>"
276 "&nbsp;&nbsp;<a href='rmt/rmtkernel.py' target='_blank'>rmtkernel.py</a><br>"
277 ],
277 ],
278 "metadata": {},
278 "metadata": {},
279 "output_type": "display_data",
279 "output_type": "display_data",
280 "text": [
280 "text": [
281 "rmt/\n",
281 "rmt/\n",
282 " rmt.ipy\n",
282 " rmt.ipy\n",
283 " rmt.ipynb\n",
283 " rmt.ipynb\n",
284 " rmtkernel.py"
284 " rmtkernel.py"
285 ]
285 ]
286 },
286 },
287 {
287 {
288 "html": [
288 "html": [
289 "wave2D/<br>\n",
289 "wave2D/<br>\n",
290 "&nbsp;&nbsp;<a href='wave2D/communicator.py' target='_blank'>communicator.py</a><br>\n",
290 "&nbsp;&nbsp;<a href='wave2D/communicator.py' target='_blank'>communicator.py</a><br>\n",
291 "&nbsp;&nbsp;<a href='wave2D/parallelwave-mpi.py' target='_blank'>parallelwave-mpi.py</a><br>\n",
291 "&nbsp;&nbsp;<a href='wave2D/parallelwave-mpi.py' target='_blank'>parallelwave-mpi.py</a><br>\n",
292 "&nbsp;&nbsp;<a href='wave2D/parallelwave.py' target='_blank'>parallelwave.py</a><br>\n",
292 "&nbsp;&nbsp;<a href='wave2D/parallelwave.py' target='_blank'>parallelwave.py</a><br>\n",
293 "&nbsp;&nbsp;<a href='wave2D/RectPartitioner.py' target='_blank'>RectPartitioner.py</a><br>\n",
293 "&nbsp;&nbsp;<a href='wave2D/RectPartitioner.py' target='_blank'>RectPartitioner.py</a><br>\n",
294 "&nbsp;&nbsp;<a href='wave2D/wavesolver.py' target='_blank'>wavesolver.py</a><br>"
294 "&nbsp;&nbsp;<a href='wave2D/wavesolver.py' target='_blank'>wavesolver.py</a><br>"
295 ],
295 ],
296 "metadata": {},
296 "metadata": {},
297 "output_type": "display_data",
297 "output_type": "display_data",
298 "text": [
298 "text": [
299 "wave2D/\n",
299 "wave2D/\n",
300 " communicator.py\n",
300 " communicator.py\n",
301 " parallelwave-mpi.py\n",
301 " parallelwave-mpi.py\n",
302 " parallelwave.py\n",
302 " parallelwave.py\n",
303 " RectPartitioner.py\n",
303 " RectPartitioner.py\n",
304 " wavesolver.py"
304 " wavesolver.py"
305 ]
305 ]
306 },
306 },
307 {
307 {
308 "html": [
308 "html": [
309 "workflow/<br>\n",
309 "workflow/<br>\n",
310 "&nbsp;&nbsp;<a href='workflow/client.py' target='_blank'>client.py</a><br>\n",
310 "&nbsp;&nbsp;<a href='workflow/client.py' target='_blank'>client.py</a><br>\n",
311 "&nbsp;&nbsp;<a href='workflow/job_wrapper.py' target='_blank'>job_wrapper.py</a><br>\n",
311 "&nbsp;&nbsp;<a href='workflow/job_wrapper.py' target='_blank'>job_wrapper.py</a><br>\n",
312 "&nbsp;&nbsp;<a href='workflow/wmanager.py' target='_blank'>wmanager.py</a><br>"
312 "&nbsp;&nbsp;<a href='workflow/wmanager.py' target='_blank'>wmanager.py</a><br>"
313 ],
313 ],
314 "metadata": {},
314 "metadata": {},
315 "output_type": "display_data",
315 "output_type": "display_data",
316 "text": [
316 "text": [
317 "workflow/\n",
317 "workflow/\n",
318 " client.py\n",
318 " client.py\n",
319 " job_wrapper.py\n",
319 " job_wrapper.py\n",
320 " wmanager.py"
320 " wmanager.py"
321 ]
321 ]
322 }
322 }
323 ],
323 ],
324 "prompt_number": 3
324 "prompt_number": 2
325 }
325 }
326 ],
326 ],
327 "metadata": {}
327 "metadata": {}
328 }
328 }
329 ]
329 ]
330 } No newline at end of file
330 }
1 NO CONTENT: file renamed from examples/list_pyfiles.ipy to examples/utils/list_pyfiles.ipy
NO CONTENT: file renamed from examples/list_pyfiles.ipy to examples/utils/list_pyfiles.ipy
1 NO CONTENT: file renamed from examples/list_subdirs.ipy to examples/utils/list_subdirs.ipy
NO CONTENT: file renamed from examples/list_subdirs.ipy to examples/utils/list_subdirs.ipy
General Comments 0
You need to be logged in to leave comments. Login now