Show More
@@ -1,48 +1,21 b'' | |||||
1 |
.TH IPCLUSTER 1 "Ju |
|
1 | .TH IPCLUSTER 1 "June 10, 2012" "" "" | |
2 | .SH NAME |
|
2 | .SH NAME | |
3 |
\fBipcluster \- IPython parallel computing |
|
3 | \fBipcluster \- start a cluster for IPython parallel computing | |
4 | .SH SYNOPSIS |
|
4 | .SH SYNOPSIS | |
5 | .nf |
|
|||
6 | .fam C |
|
|||
7 | \fBipcluster\fP {\fmpiexec,local,mpirun,pbs,ssh\fP} [\fIoptions\fP] |
|
|||
8 | .fam T |
|
|||
9 | .fi |
|
|||
10 | .SH DESCRIPTION |
|
|||
11 | ipcluster is a control tool for IPython's parallel computing functions. |
|
|||
12 |
|
||||
13 | IPython cluster startup. This starts a controller and engines using various |
|
|||
14 | approaches. Use the IPYTHONDIR environment variable to change your IPython |
|
|||
15 | directory from the default of ~/.ipython or ~/.config/ipython. The log and security |
|
|||
16 | subdirectories of your IPython directory will be used by this script for log |
|
|||
17 | files and security files. |
|
|||
18 | .SH POSITIONAL ARGUMENTS |
|
|||
19 |
|
5 | |||
20 | The first positional argument should be one of: {start, stop, engines}, |
|
6 | .B ipcluster subcommand | |
21 | which are the available subcommands. |
|
7 | .RI [ options ] | |
22 |
|
8 | |||
23 | For detailed help on each, type "ipcluster CMD \-\-help". Briefly: |
|
9 | .SH DESCRIPTION | |
|
10 | Start an IPython cluster for parallel computing. | |||
24 |
|
11 | |||
25 | start start an IPython cluster |
|
12 | For more information on how to use ipcluster, see 'ipcluster --help', | |
26 | stop stop a running IPython cluster |
|
13 | or 'ipcluster --help-all' for all available command-line options. | |
27 | engines add a number of engines to a running cluster |
|
|||
28 | .SH OPTIONS |
|
|||
29 | .TP |
|
|||
30 | .B |
|
|||
31 | \-h, \-\-help |
|
|||
32 | show help message and exit |
|
|||
33 | .SH EXAMPLE |
|
|||
34 | ipcluster start \-\-n=4 |
|
|||
35 |
|
14 | |||
36 | This command will start 4 IPython engines on the local computer. |
|
15 | .SH "SEE ALSO" | |
37 | .SH SEE ALSO |
|
|||
38 | .BR ipython(1), |
|
16 | .BR ipython(1), | |
39 | .BR ipcontroller(1), |
|
17 | .BR ipcontroller(1), | |
40 | .BR ipengine(1) |
|
18 | .BR ipengine(1), | |
41 | .br |
|
19 | .br | |
42 | .SH AUTHOR |
|
20 | .SH AUTHORS | |
43 |
\fBipcluster\fP |
|
21 | \fBipcluster\fP ships with IPython, maintained by the IPython Development Team. | |
44 | the IPython Development Team. |
|
|||
45 | .PP |
|
|||
46 | This manual page was written by Stephan Peijnik <debian@sp.or.at>, |
|
|||
47 | for the Debian project (but may be used by others). Modified by Fernando Perez |
|
|||
48 | <Fernando.Perez@berkeley.edu> for inclusion in IPython. |
|
@@ -1,164 +1,21 b'' | |||||
1 |
.TH IPCONTROLLER 1 " |
|
1 | .TH IPCONTROLLER 1 "June 10, 2012" "" "" | |
2 | .SH NAME |
|
2 | .SH NAME | |
3 |
\fBipcontroller \- IPython parallel computing |
|
3 | \fBipcontroller \- start a controller for IPython parallel computing | |
|
4 | ||||
4 | .SH SYNOPSIS |
|
5 | .SH SYNOPSIS | |
5 | .nf |
|
6 | .B ipcontroller | |
6 | .fam C |
|
7 | .RI [ options ] | |
7 | \fBipengine\fP [\fIoptions\fP] |
|
8 | ||
8 | .fam T |
|
|||
9 | .fi |
|
|||
10 | .SH DESCRIPTION |
|
9 | .SH DESCRIPTION | |
11 |
ipcontroller |
|
10 | ipcontroller starts a controller for the IPython cluster | |
12 | .SH OPTIONS |
|
11 | ||
13 | .TP |
|
12 | For more information on how to use ipcontroller, see 'ipcontroller --help', | |
14 | .B |
|
13 | or 'ipcontroller --help-all' for all available command-line options. | |
15 | \-h, \-\-help |
|
14 | ||
16 | show this help message and exit |
|
15 | .SH "SEE ALSO" | |
17 | .TP |
|
|||
18 | .B |
|
|||
19 | .TP |
|
|||
20 | .B \-\-no\-secure |
|
|||
21 | Don't authenticate messages. |
|
|||
22 | .TP |
|
|||
23 | .B \-\-usethreads |
|
|||
24 | Use threads instead of processes for the schedulers |
|
|||
25 | .TP |
|
|||
26 | .B \-\-init |
|
|||
27 | Initialize profile with default config files |
|
|||
28 | .TP |
|
|||
29 | .B \-\-log\-to\-file |
|
|||
30 | send log output to a file |
|
|||
31 | .TP |
|
|||
32 | .B \-\-reuse |
|
|||
33 | reuse existing json connection files |
|
|||
34 | .TP |
|
|||
35 | .B \-\-mongodb |
|
|||
36 | use the MongoDB backend |
|
|||
37 | .TP |
|
|||
38 | .B \-\-quiet |
|
|||
39 | set log level to logging.CRITICAL (minimize logging output) |
|
|||
40 | .TP |
|
|||
41 | .B \-\-debug |
|
|||
42 | set log level to logging.DEBUG (maximize logging output) |
|
|||
43 | .TP |
|
|||
44 | .B \-\-sqlitedb |
|
|||
45 | use the SQLiteDB backend |
|
|||
46 | .TP |
|
|||
47 | .B \-\-dictdb |
|
|||
48 | use the in-memory DictDB backend |
|
|||
49 | .TP |
|
|||
50 | .B \-\-secure |
|
|||
51 | Use HMAC digests for authentication of messages. |
|
|||
52 | .TP |
|
|||
53 | .B \-\-profile=<Unicode> (BaseIPythonApplication.profile) |
|
|||
54 | Default: u'default' |
|
|||
55 | The IPython profile to use. |
|
|||
56 | .TP |
|
|||
57 | .B \-\-hwm=<Int> (TaskScheduler.hwm) |
|
|||
58 | Default: 0 |
|
|||
59 | .br |
|
|||
60 | specify the High Water Mark (HWM) for the downstream socket in the Task |
|
|||
61 | scheduler. This is the maximum number of allowed outstanding tasks on each |
|
|||
62 | engine. |
|
|||
63 | .TP |
|
|||
64 | .B \-\-secure=<Bool> (IPControllerApp.secure) |
|
|||
65 | Default: True |
|
|||
66 | Whether to use HMAC digests for extra message authentication. |
|
|||
67 | .TP |
|
|||
68 | .B \-\-ip=<Unicode> (HubFactory.ip) |
|
|||
69 | Default: '127.0.0.1' |
|
|||
70 | The IP address for registration. This is generally either '127.0.0.1' for |
|
|||
71 | loopback only or '*' for all interfaces. [default: '127.0.0.1'] |
|
|||
72 | .TP |
|
|||
73 | .B \-\-log\-url=<Unicode> (BaseParallelApplication.log_url) |
|
|||
74 | Default: '' |
|
|||
75 | The ZMQ URL of the iplogger to aggregate logging. |
|
|||
76 | .TP |
|
|||
77 | .B \-\-work\-dir=<Unicode> (BaseParallelApplication.work_dir) |
|
|||
78 | Default: u'/Users/minrk/dev/ip/mine/docs/man' |
|
|||
79 | Set the working dir for the process. |
|
|||
80 | .TP |
|
|||
81 | .B \-\-port=<Int> (HubFactory.regport) |
|
|||
82 | Default: 0 |
|
|||
83 | The port on which the Hub listens for registration. |
|
|||
84 | .TP |
|
|||
85 | .B \-\-profile\-dir=<Unicode> (ProfileDir.location) |
|
|||
86 | Default: u'' |
|
|||
87 | Set the profile location directly. This overrides the logic used by the |
|
|||
88 | `profile` option. |
|
|||
89 | .TP |
|
|||
90 | .B \-\-ident=<CBytes> (Session.session) |
|
|||
91 | Default: '' |
|
|||
92 | The UUID identifying this session. |
|
|||
93 | .TP |
|
|||
94 | .B \-\-log\-to\-file=<Bool> (BaseParallelApplication.log_to_file) |
|
|||
95 | Default: False |
|
|||
96 | whether to log to a file |
|
|||
97 | .TP |
|
|||
98 | .B \-\-ipython\-dir=<Unicode> (BaseIPythonApplication.ipython_dir) |
|
|||
99 | Default: u'/Users/minrk/.ipython' |
|
|||
100 | The name of the IPython directory. This directory is used for logging |
|
|||
101 | configuration (through profiles), history storage, etc. The default is |
|
|||
102 | usually $HOME/.ipython. This options can also be specified through the |
|
|||
103 | environment variable IPYTHONDIR. |
|
|||
104 | .TP |
|
|||
105 | .B \-\-url=<Unicode> (HubFactory.url) |
|
|||
106 | Default: '' |
|
|||
107 | The 0MQ url used for registration. This sets transport, ip, and port in one |
|
|||
108 | variable. For example: url='tcp://127.0.0.1:12345' or url='epgm://*:90210' |
|
|||
109 | .TP |
|
|||
110 | .B \-\-user=<Unicode> (Session.username) |
|
|||
111 | Default: 'minrk' |
|
|||
112 | Username for the Session. Default is your system username. |
|
|||
113 | .TP |
|
|||
114 | .B \-\-ping=<CFloat> (HeartMonitor.period) |
|
|||
115 | Default: 1000 |
|
|||
116 | The frequency at which the Hub pings the engines for heartbeats (in ms) |
|
|||
117 | .TP |
|
|||
118 | .B \-\-log\-level=<Enum> (Application.log_level) |
|
|||
119 | Default: 30 |
|
|||
120 | Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') |
|
|||
121 | Set the log level by value or name. |
|
|||
122 | .TP |
|
|||
123 | .B \-\-location=<Unicode> (IPControllerApp.location) |
|
|||
124 | Default: u'' |
|
|||
125 | The external IP or domain name of the Controller, used for disambiguating |
|
|||
126 | engine and client connections. |
|
|||
127 | .TP |
|
|||
128 | .B \-\-clean\-logs=<Bool> (BaseParallelApplication.clean_logs) |
|
|||
129 | Default: False |
|
|||
130 | whether to cleanup old logfiles before starting |
|
|||
131 | .TP |
|
|||
132 | .B \-\-scheme=<Enum> (TaskScheduler.scheme_name) |
|
|||
133 | Default: 'leastload' |
|
|||
134 | Choices: ('leastload', 'pure', 'lru', 'plainrandom', 'weighted', 'twobin') |
|
|||
135 | select the task scheduler scheme [default: Python LRU] Options are: 'pure', |
|
|||
136 | \&'lru', 'plainrandom', 'weighted', 'twobin','leastload' |
|
|||
137 | .TP |
|
|||
138 | .B \-\-keyfile=<Unicode> (Session.keyfile) |
|
|||
139 | Default: '' |
|
|||
140 | path to file containing execution key. |
|
|||
141 | .TP |
|
|||
142 | .B \-\-transport=<Unicode> (HubFactory.transport) |
|
|||
143 | Default: 'tcp' |
|
|||
144 | The 0MQ transport for communications. This will likely be the default of |
|
|||
145 | \&'tcp', but other values include 'ipc', 'epgm', 'inproc'. |
|
|||
146 | .TP |
|
|||
147 | .B \-\-ssh=<Unicode> (IPControllerApp.ssh_server) |
|
|||
148 | Default: u'' |
|
|||
149 | ssh url for clients to use when connecting to the Controller processes. It |
|
|||
150 | should be of the form: [user@]server[:port]. The Controller's listening |
|
|||
151 | addresses must be accessible from the ssh server |
|
|||
152 | .SH SEE ALSO |
|
|||
153 | .BR ipython(1), |
|
16 | .BR ipython(1), | |
154 |
.BR ip |
|
17 | .BR ipengine(1), | |
155 |
.BR ip |
|
18 | .BR ipcluster(1) | |
156 | .br |
|
19 | .br | |
157 | .SH AUTHOR |
|
20 | .SH AUTHORS | |
158 |
\fBipcontroller\fP |
|
21 | \fBipcontroller\fP ships with IPython, maintained by the IPython Development Team. | |
159 | the IPython Development Team. |
|
|||
160 | .PP |
|
|||
161 | This manual page was written by Stephan Peijnik <debian@sp.or.at>, |
|
|||
162 | for the Debian project (but may be used by others). Modified by Fernando Perez |
|
|||
163 | <Fernando.Perez@berkeley.edu> for inclusion in IPython, and updated by |
|
|||
164 | Min Ragan-Kelley <benjaminrk@gmail.com> for 0.11. |
|
@@ -1,42 +1,20 b'' | |||||
1 |
.TH IPENGINE 1 "Ju |
|
1 | .TH IPENGINE 1 "June 10, 2012" "" "" | |
2 | .SH NAME |
|
2 | .SH NAME | |
3 |
\fBipengine \- IPython parallel computing engine |
|
3 | \fBipengine \- IPython parallel computing engine | |
4 | .SH SYNOPSIS |
|
4 | .SH SYNOPSIS | |
5 | .nf |
|
5 | .B ipengine | |
6 | .fam C |
|
6 | .RI [ options ] | |
7 | \fBipengine\fP [\fIoptions\fP] |
|
7 | ||
8 | .fam T |
|
|||
9 | .fi |
|
|||
10 | .SH DESCRIPTION |
|
8 | .SH DESCRIPTION | |
11 | ipengine is a control tool for IPython's parallel computing functions. |
|
9 | ipengine starts an engine for the IPython cluster | |
12 | .SH OPTIONS |
|
10 | ||
13 | .TP |
|
11 | For more information on how to use ipengine, see 'ipengine --help', | |
14 | .B |
|
12 | or 'ipengine --help-all' for all available command-line options. | |
15 | \-h, \-\-help |
|
13 | ||
16 | show this help message and exit |
|
14 | .SH "SEE ALSO" | |
17 | .TP |
|
15 | .BR ipython(1), | |
18 | .B |
|
16 | .BR ipcontroller(1), | |
19 | \-\-profile=name |
|
17 | .BR ipcluster(1) | |
20 | The name of the IPython configuration profile to use. |
|
|||
21 | .TP |
|
|||
22 | .B |
|
|||
23 | \-\-file=URL_FILE |
|
|||
24 | The JSON file containing the connection information of the controller. |
|
|||
25 | .TP |
|
|||
26 | .B |
|
|||
27 | \-\-mpi=MPI |
|
|||
28 | How to enable MPI (mpi4py, pytrilions, or empty string to disable) |
|
|||
29 | .TP |
|
|||
30 | .B |
|
|||
31 | \-l LOGFILE, \-\-logfile=LOGFILE |
|
|||
32 | log file name (defaults to stdout) |
|
|||
33 | .SH SEE ALSO |
|
|||
34 | .BR ipython(1), ipcluster(1), ipcontroller(1) |
|
|||
35 | .br |
|
18 | .br | |
36 | .SH AUTHOR |
|
19 | .SH AUTHORS | |
37 |
\fBipengine\fP |
|
20 | \fBipengine\fP ships with IPython, maintained by the IPython Development Team. | |
38 | the IPython Development Team. |
|
|||
39 | .PP |
|
|||
40 | This manual page was written by Stephan Peijnik <debian@sp.or.at>, |
|
|||
41 | for the Debian project (but may be used by others). Modified by Fernando Perez |
|
|||
42 | <Fernando.Perez@berkeley.edu> for inclusion in IPython. |
|
@@ -1,97 +1,24 b'' | |||||
1 |
.TH IPLOGGER 1 "Ju |
|
1 | .TH IPLOGGER 1 "June 10, 2012" "" "" | |
2 | .\" Man page generated from reStructeredText. |
|
|||
3 | .SH NAME |
|
2 | .SH NAME | |
4 |
|
|
3 | iplogger \- IPython logging utility for parallel computing. | |
|
4 | .SH SYNOPSIS | |||
|
5 | .B iplogger | |||
|
6 | .RI [ options ] | |||
|
7 | ||||
5 | .SH DESCRIPTION |
|
8 | .SH DESCRIPTION | |
6 |
Start an IPython log |
|
9 | Start an IPython log aggregator. | |
7 | .sp |
|
10 | ||
8 | IPython controllers and engines (and your own processes) can broadcast log |
|
11 | IPython controllers and engines (and your own processes) can broadcast log | |
9 | messages by registering a \fIzmq.log.handlers.PUBHandler\fP with the \fIlogging\fP |
|
12 | messages over zeromq to a single logger instance. | |
10 | module. The logger can be configured using command line options or using a |
|
13 | ||
11 | cluster directory. Cluster directories contain config, log and security files |
|
14 | For more information on how to use iplogger, see 'iplogger --help', | |
12 | and are usually located in your ipython directory and named as "profile_name". |
|
15 | or 'iplogger --help-all' for all available command-line options. | |
13 | See the \fIprofile\fP and \fIprofile\-dir\fP options for details. |
|
16 | ||
14 | .SH OPTIONS |
|
17 | .SH "SEE ALSO" | |
15 | .sp |
|
|||
16 | IPython command\-line arguments are passed as \(aq\-\-<flag>\(aq, or \(aq\-\-<name>=<value>\(aq. |
|
|||
17 | .sp |
|
|||
18 | Arguments that take values are actually convenience aliases to full |
|
|||
19 | Configurables, whose aliases are listed on the help line. For more information |
|
|||
20 | on full configurables, see \(aq\-\-help\-all\(aq. |
|
|||
21 | .TP |
|
|||
22 | .B \-\-debug |
|
|||
23 | . |
|
|||
24 | set log level to logging.DEBUG (maximize logging output) |
|
|||
25 | .TP |
|
|||
26 | .B \-\-init |
|
|||
27 | . |
|
|||
28 | Initialize profile with default config files. This is equivalent |
|
|||
29 | to running \fIipython profile create <profile>\fP prior to startup. |
|
|||
30 | .TP |
|
|||
31 | .B \-\-log\-to\-file |
|
|||
32 | . |
|
|||
33 | send log output to a file |
|
|||
34 | .TP |
|
|||
35 | .B \-\-quiet |
|
|||
36 | . |
|
|||
37 | set log level to logging.CRITICAL (minimize logging output) |
|
|||
38 | .TP |
|
|||
39 | .B \-\-profile=<Unicode> (BaseIPythonApplication.profile) |
|
|||
40 | . |
|
|||
41 | Default: u\(aqdefault\(aq |
|
|||
42 | The IPython profile to use. |
|
|||
43 | .TP |
|
|||
44 | .B \-\-log\-to\-file=<Bool> (BaseParallelApplication.log_to_file) |
|
|||
45 | . |
|
|||
46 | Default: False |
|
|||
47 | whether to log to a file |
|
|||
48 | .TP |
|
|||
49 | .B \-\-ipython\-dir=<Unicode> (BaseIPythonApplication.ipython_dir) |
|
|||
50 | . |
|
|||
51 | The name of the IPython directory. This directory is used for logging |
|
|||
52 | configuration (through profiles), history storage, etc. The default is |
|
|||
53 | usually $XDG_CONFIG_HOME/ipython. This options can also be specified |
|
|||
54 | through the environment variable IPYTHONDIR. |
|
|||
55 | .TP |
|
|||
56 | .B \-\-url=<Unicode> (LogWatcher.url) |
|
|||
57 | . |
|
|||
58 | Default: \(aq\fI\%tcp://127.0.0.1:20202\fP\(aq |
|
|||
59 | ZMQ url on which to listen for log messages |
|
|||
60 | .TP |
|
|||
61 | .B \-\-topics=<List> (LogWatcher.topics) |
|
|||
62 | . |
|
|||
63 | Default: [\(aq\(aq] |
|
|||
64 | The ZMQ topics to subscribe to. Default is to subscribe to all messages |
|
|||
65 | .TP |
|
|||
66 | .B \-\-log\-level=<Enum> (Application.log_level) |
|
|||
67 | . |
|
|||
68 | Default: 30 |
|
|||
69 | Choices: (0, 10, 20, 30, 40, 50, \(aqDEBUG\(aq, \(aqINFO\(aq, \(aqWARN\(aq, \(aqERROR\(aq, \(aqCRITICAL\(aq) |
|
|||
70 | Set the log level by value or name. |
|
|||
71 | .TP |
|
|||
72 | .B \-\-log\-url=<Unicode> (BaseParallelApplication.log_url) |
|
|||
73 | . |
|
|||
74 | Default: \(aq\(aq |
|
|||
75 | The ZMQ URL of the iplogger to aggregate logging. |
|
|||
76 | .TP |
|
|||
77 | .B \-\-clean\-logs=<Bool> (BaseParallelApplication.clean_logs) |
|
|||
78 | . |
|
|||
79 | Default: False |
|
|||
80 | whether to cleanup old logfiles before starting |
|
|||
81 | .TP |
|
|||
82 | .B \-\-profile\-dir=<Unicode> (ProfileDir.location) |
|
|||
83 | . |
|
|||
84 | Default: u\(aq\(aq |
|
|||
85 | Set the profile location directly. This overrides the logic used by the |
|
|||
86 | \fIprofile\fP option. |
|
|||
87 | .TP |
|
|||
88 | .B \-\-work\-dir=<Unicode> (BaseParallelApplication.work_dir) |
|
|||
89 | . |
|
|||
90 | Set the working dir for the process. |
|
|||
91 | .SH SEE ALSO |
|
|||
92 | .BR ipython(1), |
|
18 | .BR ipython(1), | |
93 | .BR ipcontroller(1), |
|
19 | .BR ipcontroller(1), | |
94 | .BR ipengine(1) |
|
20 | .BR ipengine(1), | |
|
21 | .BR ipcluster(1) | |||
95 | .br |
|
22 | .br | |
96 | .SH AUTHOR |
|
23 | .SH AUTHOR | |
97 | \fBiplogger\fP is a tool that ships with IPython, created by |
|
24 | \fBiplogger\fP is a tool that ships with IPython, created by |
@@ -26,216 +26,36 b' ipython \\- Tools for Interactive Computing in Python.' | |||||
26 | .SH SYNOPSIS |
|
26 | .SH SYNOPSIS | |
27 | .B ipython |
|
27 | .B ipython | |
28 | .RI [ options ] " files" ... |
|
28 | .RI [ options ] " files" ... | |
|
29 | ||||
|
30 | .B ipython subcommand | |||
|
31 | .RI [ options ] ... | |||
|
32 | ||||
29 | .SH DESCRIPTION |
|
33 | .SH DESCRIPTION | |
30 | An interactive Python shell with automatic history (input and output), dynamic |
|
34 | An interactive Python shell with automatic history (input and output), dynamic | |
31 | object introspection, easier configuration, command completion, access to the |
|
35 | object introspection, easier configuration, command completion, access to the | |
32 |
system shell, integration with numerical and scientific computing tools, |
|
36 | system shell, integration with numerical and scientific computing tools, | |
33 | more. |
|
37 | web notebook, Qt console, and more. | |
34 | . |
|
38 | ||
35 | .SH REGULAR OPTIONS |
|
39 | For more information on how to use IPython, see 'ipython --help', | |
36 | All options that take values, must be of the form '\-\-name=value', but |
|
40 | or 'ipython --help-all' for all available command-line options. | |
37 | flags that take no arguments are allowed a single '\-' to allow common |
|
41 | ||
38 | patterns like: 'ipython \-i myscript.py'. To pass arguments to scripts, |
|
42 | .SH "ENVIRONMENT VARIABLES" | |
39 | rather than to IPython, specify them after '\-\-'. |
|
43 | .sp | |
40 | .br |
|
44 | .PP | |
41 | .sp 1 |
|
45 | \fIIPYTHONDIR\fR | |
42 | All options can also be set from your ipython_config.py configuration file. |
|
46 | .RS 4 | |
43 | See the provided examples for assistance. Options given on the |
|
47 | This is the location where IPython stores all its configuration files. The default | |
44 | commandline override the values set in ipython_config.py. To generate |
|
48 | on most platforms is $HOME/.ipython, but on Linux IPython respects the XDG config | |
45 | the default config file, do `ipython profile create`. |
|
49 | specification, which will put IPYTHONDIR in $HOME/.config/ipython by default. | |
46 | .br |
|
50 | ||
47 | .sp 1 |
|
51 | You can see the computed value of IPYTHONDIR with `ipython locate`. | |
48 | All options with a [no] prepended can be specified in negated form |
|
52 | ||
49 | (\-\-no\-option instead of \-\-option) to turn the feature off. |
|
53 | .SH FILES | |
50 | .TP |
|
54 | ||
51 | .B \-h, \-\-help |
|
55 | IPython uses various configuration files stored in profiles within IPYTHONDIR. | |
52 | Show summary of options. |
|
56 | To generate the default configuration files and start configuring IPython, | |
53 | .B \-\-no\-autoindent |
|
57 | do 'ipython profile create', and edit '*_config.py' files located in | |
54 | Turn off autoindenting. |
|
58 | IPYTHONDIR/profile_default. | |
55 | .TP |
|
59 | ||
56 | .B \-\-autoedit\-syntax |
|
60 | .SH AUTHORS | |
57 | Turn on auto editing of files with syntax errors. |
|
61 | IPython is written by the IPython Development Team <https://github.com/ipython/ipython>. | |
58 | .TP |
|
|||
59 | .B \-\-pylab |
|
|||
60 | Pre-load matplotlib and numpy for interactive use with |
|
|||
61 | the default matplotlib backend. |
|
|||
62 | .TP |
|
|||
63 | .B \-\-confirm\-exit |
|
|||
64 | Set to confirm when you try to exit IPython with an EOF (Control-D |
|
|||
65 | in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit', |
|
|||
66 | you can force a direct exit without any confirmation. |
|
|||
67 | .TP |
|
|||
68 | .B \-\-deep\-reload |
|
|||
69 | Enable deep (recursive) reloading by default. IPython can use the |
|
|||
70 | deep_reload module which reloads changes in modules recursively (it |
|
|||
71 | replaces the reload() function, so you don't need to change anything to |
|
|||
72 | use it). deep_reload() forces a full reload of modules whose code may |
|
|||
73 | have changed, which the default reload() function does not. When |
|
|||
74 | deep_reload is off, IPython will use the normal reload(), but |
|
|||
75 | deep_reload will still be available as dreload(). This feature is off |
|
|||
76 | by default [which means that you have both normal reload() and |
|
|||
77 | dreload()]. |
|
|||
78 | .TP |
|
|||
79 | .B \-\-no\-autoedit\-syntax |
|
|||
80 | Turn off auto editing of files with syntax errors. |
|
|||
81 | .TP |
|
|||
82 | .B \-\-term\-title |
|
|||
83 | Enable auto setting the terminal title. |
|
|||
84 | .TP |
|
|||
85 | .B \-\-no\-confirm\-exit |
|
|||
86 | Don't prompt the user when exiting. |
|
|||
87 | .TP |
|
|||
88 | .B \-\-autoindent |
|
|||
89 | Turn on autoindenting. |
|
|||
90 | .TP |
|
|||
91 | .B \-\-classic |
|
|||
92 | Gives IPython a similar feel to the classic Python prompt. |
|
|||
93 | .TP |
|
|||
94 | .B \-\-no\-automagic |
|
|||
95 | Turn off the auto calling of magic commands. |
|
|||
96 | .TP |
|
|||
97 | .B \-\-banner |
|
|||
98 | Display a banner upon starting IPython. |
|
|||
99 | .TP |
|
|||
100 | .B \-\-automagic |
|
|||
101 | Turn on the auto calling of magic commands. Type %%magic at the |
|
|||
102 | IPython prompt for more information. |
|
|||
103 | .TP |
|
|||
104 | .B \-\-no\-deep\-reload |
|
|||
105 | Disable deep (recursive) reloading by default. |
|
|||
106 | .TP |
|
|||
107 | .B \-\-no\-term\-title |
|
|||
108 | Disable auto setting the terminal title. |
|
|||
109 | .TP |
|
|||
110 | .B \-\-nosep |
|
|||
111 | Eliminate all spacing between prompts. |
|
|||
112 | .TP |
|
|||
113 | .B \-\-i |
|
|||
114 | also works as '\-i' |
|
|||
115 | If running code from the command line, become interactive afterwards. |
|
|||
116 | .TP |
|
|||
117 | .B \-\-debug |
|
|||
118 | set log level to logging.DEBUG (maximize logging output) |
|
|||
119 | .TP |
|
|||
120 | .B \-\-pprint |
|
|||
121 | Enable auto pretty printing of results. |
|
|||
122 | .TP |
|
|||
123 | .B \-\-quiet |
|
|||
124 | set log level to logging.CRITICAL (minimize logging output) |
|
|||
125 | .TP |
|
|||
126 | .B \-\-pdb |
|
|||
127 | Enable auto calling the pdb debugger after every exception. |
|
|||
128 | .TP |
|
|||
129 | .B \-\-color\-info |
|
|||
130 | IPython can display information about objects via a set of func- |
|
|||
131 | tions, and optionally can use colors for this, syntax highlighting |
|
|||
132 | source code and various other elements. However, because this |
|
|||
133 | information is passed through a pager (like 'less') and many pagers get |
|
|||
134 | confused with color codes, this option is off by default. You can test |
|
|||
135 | it and turn it on permanently in your ipython_config.py file if it |
|
|||
136 | works for you. Test it and turn it on permanently if it works with |
|
|||
137 | your system. The magic function %%color_info allows you to toggle this |
|
|||
138 | interactively for testing. |
|
|||
139 | .TP |
|
|||
140 | .B \-\-init |
|
|||
141 | Initialize profile with default config files |
|
|||
142 | .TP |
|
|||
143 | .B \-\-no\-pdb |
|
|||
144 | Disable auto calling the pdb debugger after every exception. |
|
|||
145 | .TP |
|
|||
146 | .B \-\-quick |
|
|||
147 | Enable quick startup with no config files. |
|
|||
148 | .TP |
|
|||
149 | .B \-\-no\-color\-info |
|
|||
150 | Disable using colors for info related things. |
|
|||
151 | .TP |
|
|||
152 | .B \-\-no\-pprint |
|
|||
153 | Disable auto auto pretty printing of results. |
|
|||
154 | .TP |
|
|||
155 | .B \-\-no\-banner |
|
|||
156 | Don't display a banner upon starting IPython. |
|
|||
157 | .TP |
|
|||
158 | .B \-\-profile=<Unicode> (BaseIPythonApplication.profile) |
|
|||
159 | Default: u'default' |
|
|||
160 | The IPython profile to use. |
|
|||
161 | .TP |
|
|||
162 | .B \-\-c=<Unicode> (InteractiveShellApp.code_to_run) |
|
|||
163 | Default: '' |
|
|||
164 | Execute the given command string. |
|
|||
165 | .TP |
|
|||
166 | .B \-\-logappend=<Unicode> (InteractiveShell.logappend) |
|
|||
167 | Default: '' |
|
|||
168 | Start logging to the given file in append mode. |
|
|||
169 | .TP |
|
|||
170 | .B \-\-autocall=<Enum> (InteractiveShell.autocall) |
|
|||
171 | Default: 1 |
|
|||
172 | Choices: (0, 1, 2) |
|
|||
173 | Make IPython automatically call any callable object even if you didn't type |
|
|||
174 | explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
|
|||
175 | The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
|
|||
176 | it is not applied if there are no more arguments on the line, and '2' for |
|
|||
177 | \&'full' autocall, where all callable objects are automatically called (even |
|
|||
178 | if no arguments are present). The default is '1'. |
|
|||
179 | .TP |
|
|||
180 | .B \-\-ipython\-dir=<Unicode> (BaseIPythonApplication.ipython_dir) |
|
|||
181 | Default: u'/Users/minrk/.ipython' |
|
|||
182 | The name of the IPython directory. This directory is used for logging |
|
|||
183 | configuration (through profiles), history storage, etc. The default is |
|
|||
184 | usually $HOME/.ipython. This options can also be specified through the |
|
|||
185 | environment variable IPYTHONDIR. |
|
|||
186 | .TP |
|
|||
187 | .B \-\-gui=<CaselessStrEnum> (TerminalIPythonApp.gui) |
|
|||
188 | Default: None |
|
|||
189 | Choices: ('qt', 'wx', 'gtk') |
|
|||
190 | Enable GUI event loop integration ('qt', 'wx', 'gtk'). |
|
|||
191 | .TP |
|
|||
192 | .B \-\-pylab=<CaselessStrEnum> (TerminalIPythonApp.pylab) |
|
|||
193 | Default: None |
|
|||
194 | Choices: ['tk', 'qt', 'wx', 'gtk', 'osx', 'auto'] |
|
|||
195 | Pre-load matplotlib and numpy for interactive use, selecting a particular |
|
|||
196 | matplotlib backend and loop integration. |
|
|||
197 | .TP |
|
|||
198 | .B \-\-ext=<Unicode> (InteractiveShellApp.extra_extension) |
|
|||
199 | Default: '' |
|
|||
200 | dotted module name of an IPython extension to load. |
|
|||
201 | .TP |
|
|||
202 | .B \-\-log\-level=<Enum> (Application.log_level) |
|
|||
203 | Default: 30 |
|
|||
204 | Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') |
|
|||
205 | Set the log level by value or name. |
|
|||
206 | .TP |
|
|||
207 | .B \-\-colors=<CaselessStrEnum> (InteractiveShell.colors) |
|
|||
208 | Default: 'LightBG' |
|
|||
209 | Choices: ('NoColor', 'LightBG', 'Linux') |
|
|||
210 | Set the color scheme (NoColor, Linux, or LightBG). |
|
|||
211 | .TP |
|
|||
212 | .B \-\-cache\-size=<Int> (InteractiveShell.cache_size) |
|
|||
213 | Default: 1000 |
|
|||
214 | Set the size of the output cache. The default is 1000, you can change it |
|
|||
215 | permanently in your config file. Setting it to 0 completely disables the |
|
|||
216 | caching system, and the minimum value accepted is 20 (if you provide a value |
|
|||
217 | less than 20, it is reset to 0 and a warning is issued). This limit is |
|
|||
218 | defined because otherwise you'll spend more time re-flushing a too small |
|
|||
219 | cache than working |
|
|||
220 | .TP |
|
|||
221 | .B \-\-logfile=<Unicode> (InteractiveShell.logfile) |
|
|||
222 | Default: '' |
|
|||
223 | The name of the logfile to use. |
|
|||
224 | . |
|
|||
225 | .SH EMBEDDING |
|
|||
226 | It is possible to start an IPython instance inside your own Python |
|
|||
227 | programs. In the documentation example files there are some |
|
|||
228 | illustrations on how to do this. |
|
|||
229 | .br |
|
|||
230 | .sp 1 |
|
|||
231 | This feature allows you to evalutate dynamically the state of your |
|
|||
232 | code, operate with your variables, analyze them, etc. Note however |
|
|||
233 | that any changes you make to values while in the shell do NOT |
|
|||
234 | propagate back to the running code, so it is safe to modify your |
|
|||
235 | values because you won't break your code in bizarre ways by doing so. |
|
|||
236 | .SH AUTHOR |
|
|||
237 | IPython was written by Fernando Perez <fperez@colorado.edu>, based on earlier |
|
|||
238 | code by Janko Hauser <jh@comunit.de> and Nathaniel Gray |
|
|||
239 | <n8gray@caltech.edu>. This manual page was written by Jack Moffitt |
|
|||
240 | <jack@xiph.org>, for the Debian project (but may be used by others), and updated by |
|
|||
241 | Min Ragan-Kelley <benjaminrk@gmail.com> for 0.11. |
|
General Comments 0
You need to be logged in to leave comments.
Login now