##// END OF EJS Templates
Merge pull request #4561 from minrk/for_type_clear...
Merge pull request #4561 from minrk/for_type_clear Copied some of the logic from apptools (thanks @rkern). The current behavior: - `lookup(instance)` - return appropriate callback or a given object - `lookup_by_type(type_or_str)` - return appropriate callback for a given type or `'mod.name'` type string - `for_type(type_or_str)` - behaves the same, only adding support for type strings for consistency - `pop(type_or_str[, default])` - remove a type (by type or string) - `typ_or_str in Formatter` checks whether a type is registered, checking with `lookup_by_type` The inner structures remain unchanged.

File last commit:

r5342:0a49a993
r13976:3db536e9 merge
Show More
irunner.1
51 lines | 1.3 KiB | application/x-troff | GroffLexer
.TH IRUNNER 1 "July 15, 2011" "" ""
.SH NAME
\fBirunner \- interactive runner interface
.SH SYNOPSIS
.nf
.fam C
\fBirunner\fP [\fIoptions\fP] \fIfile_to_run\fP
.fam T
.fi
.SH DESCRIPTION
irunner is an interface to the various interactive runners
available in IPython's \fBirunner\fP module.
It can used to run scripts as if they where typed up
interactively.
.PP
The already implemented runners are listed below; adding
one for a new program is a trivial task, see the source
for examples.
.SH OPTIONS
.TP
.B
\-h, \-\-help
show this help message and exit
.TP
.B
\-\-ipython
IPython interactive runner (default).
.TP
.B
\-\-python
Python interactive runner.
.TP
.B
\-\-sage
SAGE interactive runner.
.SH EXAMPLE
irunner.py \-\-python \-\- \-\-help
will pass \-\-help to the python runner.
Similarly,
irunner.py \-\-ipython \-\- \-\-interact script.ipy
.SH SEE ALSO
.BR ipython(1)
.br
.SH AUTHOR
\fBirunner\fP is an extension of Ken Schutte <kschutte\-AT\-csail.mit.edu>'s
script contributed on the ipython\-user list:
http://mail.scipy.org/pipermail/ipython\-user/2006\-May/003539.html
.PP
This manual page was written by Bernd Zeimetz <bernd@bzed.de>, for the Debian
project (but may be used by others). Modified by Fernando Perez
<Fernando.Perez@berkeley.edu> for inclusion in IPython.