##// END OF EJS Templates
Merge pull request #1490 from minrk/raw...
Merge pull request #1490 from minrk/raw rename plaintext cell -> raw cell Raw cells should be *untransformed* when writing various output formats, as the point of them is to let users pass through IPython to their rendered document format (rst, latex, etc.). This is different from what is the logical meaning of 'plaintext', which would suggest that the contents should be preserved as unformatted plaintext (e.g. in a `<pre>` tag, or literal block). In the UI, these cells will be displayed as 'Raw Text'. WARNING: any existing v3 notebooks which use plaintext cells, when read in by versions after this merge, will silently rename those cells to 'raw'. But if such a notebook is uploaded into a pre-merge IPython, cells labeled as 'raw' will simply *not be displayed*.

File last commit:

r5342:0a49a993
r6480:a0e0f391 merge
Show More
ipython.1
241 lines | 8.5 KiB | application/x-troff | GroffLexer
Ville M. Vainio
crlf -> lf
r1032 .\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
Fernando Perez
Fix padding of matplotlib figures, after much whining from Stefan :)
r4254 .TH IPYTHON 1 "July 15, 2011"
Ville M. Vainio
crlf -> lf
r1032 .\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7) and groff_man(7)
.\" .SH section heading
.\" .SS secondary section heading
.\"
.\"
.\" To preview this page as plain text: nroff -man ipython.1
.\"
.SH NAME
Fernando Perez
Fix padding of matplotlib figures, after much whining from Stefan :)
r4254 ipython \- Tools for Interactive Computing in Python.
Ville M. Vainio
crlf -> lf
r1032 .SH SYNOPSIS
.B ipython
.RI [ options ] " files" ...
.SH DESCRIPTION
Fernando Perez
Fix padding of matplotlib figures, after much whining from Stefan :)
r4254 An interactive Python shell with automatic history (input and output), dynamic
object introspection, easier configuration, command completion, access to the
system shell, integration with numerical and scientific computing tools, and
more.
Ville M. Vainio
crlf -> lf
r1032 .
.SH REGULAR OPTIONS
MinRK
manpage checkpoint
r4242 All options that take values, must be of the form '\-\-name=value', but
flags that take no arguments are allowed a single '\-' to allow common
Julian Taylor
escape minus signs in manpages...
r5342 patterns like: 'ipython \-i myscript.py'. To pass arguments to scripts,
rather than to IPython, specify them after '\-\-'.
Ville M. Vainio
crlf -> lf
r1032 .br
.sp 1
MinRK
manpage checkpoint
r4242 All options can also be set from your ipython_config.py configuration file.
Ville M. Vainio
crlf -> lf
r1032 See the provided examples for assistance. Options given on the
MinRK
manpage checkpoint
r4242 commandline override the values set in ipython_config.py. To generate
the default config file, do `ipython profile create`.
Ville M. Vainio
crlf -> lf
r1032 .br
.sp 1
All options with a [no] prepended can be specified in negated form
Julian Taylor
manpage update...
r4275 (\-\-no\-option instead of \-\-option) to turn the feature off.
Ville M. Vainio
crlf -> lf
r1032 .TP
.B \-h, \-\-help
Show summary of options.
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-autoindent
MinRK
manpage checkpoint
r4242 Turn off autoindenting.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-autoedit\-syntax
MinRK
manpage checkpoint
r4242 Turn on auto editing of files with syntax errors.
.TP
.B \-\-pylab
Pre-load matplotlib and numpy for interactive use with
the default matplotlib backend.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-confirm\-exit
MinRK
manpage checkpoint
r4242 Set to confirm when you try to exit IPython with an EOF (Control-D
in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',
you can force a direct exit without any confirmation.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-deep\-reload
MinRK
manpage checkpoint
r4242 Enable deep (recursive) reloading by default. IPython can use the
deep_reload module which reloads changes in modules recursively (it
replaces the reload() function, so you don't need to change anything to
use it). deep_reload() forces a full reload of modules whose code may
have changed, which the default reload() function does not. When
deep_reload is off, IPython will use the normal reload(), but
Ville M. Vainio
crlf -> lf
r1032 deep_reload will still be available as dreload(). This feature is off
by default [which means that you have both normal reload() and
dreload()].
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-autoedit\-syntax
MinRK
manpage checkpoint
r4242 Turn off auto editing of files with syntax errors.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-term\-title
MinRK
manpage checkpoint
r4242 Enable auto setting the terminal title.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-confirm\-exit
MinRK
manpage checkpoint
r4242 Don't prompt the user when exiting.
.TP
.B \-\-autoindent
Turn on autoindenting.
.TP
.B \-\-classic
Gives IPython a similar feel to the classic Python prompt.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-automagic
MinRK
manpage checkpoint
r4242 Turn off the auto calling of magic commands.
.TP
.B \-\-banner
Display a banner upon starting IPython.
.TP
.B \-\-automagic
Turn on the auto calling of magic commands. Type %%magic at the
IPython prompt for more information.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-deep\-reload
MinRK
manpage checkpoint
r4242 Disable deep (recursive) reloading by default.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-term\-title
MinRK
manpage checkpoint
r4242 Disable auto setting the terminal title.
.TP
.B \-\-nosep
Eliminate all spacing between prompts.
.TP
.B \-\-i
Julian Taylor
escape minus signs in manpages...
r5342 also works as '\-i'
MinRK
manpage checkpoint
r4242 If running code from the command line, become interactive afterwards.
.TP
.B \-\-debug
set log level to logging.DEBUG (maximize logging output)
.TP
.B \-\-pprint
Enable auto pretty printing of results.
.TP
.B \-\-quiet
set log level to logging.CRITICAL (minimize logging output)
.TP
.B \-\-pdb
Enable auto calling the pdb debugger after every exception.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-color\-info
MinRK
manpage checkpoint
r4242 IPython can display information about objects via a set of func-
tions, and optionally can use colors for this, syntax highlighting
source code and various other elements. However, because this
information is passed through a pager (like 'less') and many pagers get
confused with color codes, this option is off by default. You can test
it and turn it on permanently in your ipython_config.py file if it
works for you. Test it and turn it on permanently if it works with
your system. The magic function %%color_info allows you to toggle this
interactively for testing.
.TP
.B \-\-init
Initialize profile with default config files
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-pdb
MinRK
manpage checkpoint
r4242 Disable auto calling the pdb debugger after every exception.
.TP
.B \-\-quick
Enable quick startup with no config files.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-color\-info
MinRK
manpage checkpoint
r4242 Disable using colors for info related things.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-pprint
MinRK
manpage checkpoint
r4242 Disable auto auto pretty printing of results.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-no\-banner
MinRK
manpage checkpoint
r4242 Don't display a banner upon starting IPython.
.TP
.B \-\-profile=<Unicode> (BaseIPythonApplication.profile)
Default: u'default'
The IPython profile to use.
.TP
.B \-\-c=<Unicode> (InteractiveShellApp.code_to_run)
Default: ''
Execute the given command string.
.TP
.B \-\-logappend=<Unicode> (InteractiveShell.logappend)
Default: ''
Start logging to the given file in append mode.
.TP
.B \-\-autocall=<Enum> (InteractiveShell.autocall)
Default: 1
Choices: (0, 1, 2)
Make IPython automatically call any callable object even if you didn't type
explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically.
The value can be '0' to disable the feature, '1' for 'smart' autocall, where
it is not applied if there are no more arguments on the line, and '2' for
Julian Taylor
manpage update...
r4275 \&'full' autocall, where all callable objects are automatically called (even
MinRK
manpage checkpoint
r4242 if no arguments are present). The default is '1'.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-ipython\-dir=<Unicode> (BaseIPythonApplication.ipython_dir)
MinRK
manpage checkpoint
r4242 Default: u'/Users/minrk/.ipython'
The name of the IPython directory. This directory is used for logging
configuration (through profiles), history storage, etc. The default is
usually $HOME/.ipython. This options can also be specified through the
environment variable IPYTHON_DIR.
.TP
.B \-\-gui=<CaselessStrEnum> (TerminalIPythonApp.gui)
Default: None
Choices: ('qt', 'wx', 'gtk')
Enable GUI event loop integration ('qt', 'wx', 'gtk').
.TP
.B \-\-pylab=<CaselessStrEnum> (TerminalIPythonApp.pylab)
Default: None
Choices: ['tk', 'qt', 'wx', 'gtk', 'osx', 'auto']
Pre-load matplotlib and numpy for interactive use, selecting a particular
matplotlib backend and loop integration.
.TP
.B \-\-ext=<Unicode> (InteractiveShellApp.extra_extension)
Default: ''
dotted module name of an IPython extension to load.
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-log\-level=<Enum> (Application.log_level)
MinRK
manpage checkpoint
r4242 Default: 30
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
Set the log level by value or name.
.TP
.B \-\-colors=<CaselessStrEnum> (InteractiveShell.colors)
Default: 'LightBG'
Choices: ('NoColor', 'LightBG', 'Linux')
Set the color scheme (NoColor, Linux, or LightBG).
.TP
Julian Taylor
escape minus signs in manpages...
r5342 .B \-\-cache\-size=<Int> (InteractiveShell.cache_size)
MinRK
manpage checkpoint
r4242 Default: 1000
Set the size of the output cache. The default is 1000, you can change it
permanently in your config file. Setting it to 0 completely disables the
caching system, and the minimum value accepted is 20 (if you provide a value
less than 20, it is reset to 0 and a warning is issued). This limit is
defined because otherwise you'll spend more time re-flushing a too small
cache than working
.TP
.B \-\-logfile=<Unicode> (InteractiveShell.logfile)
Default: ''
The name of the logfile to use.
Ville M. Vainio
crlf -> lf
r1032 .
.SH EMBEDDING
It is possible to start an IPython instance inside your own Python
programs. In the documentation example files there are some
illustrations on how to do this.
.br
.sp 1
This feature allows you to evalutate dynamically the state of your
code, operate with your variables, analyze them, etc. Note however
that any changes you make to values while in the shell do NOT
propagate back to the running code, so it is safe to modify your
values because you won't break your code in bizarre ways by doing so.
.SH AUTHOR
IPython was written by Fernando Perez <fperez@colorado.edu>, based on earlier
code by Janko Hauser <jh@comunit.de> and Nathaniel Gray
<n8gray@caltech.edu>. This manual page was written by Jack Moffitt
MinRK
manpage checkpoint
r4242 <jack@xiph.org>, for the Debian project (but may be used by others), and updated by
Min Ragan-Kelley <benjaminrk@gmail.com> for 0.11.