python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package app :: Module shell
[hide private]

Module shell

source code

Command-line user interface of igraph

The command-line interface launches a Python shell with the igraph module automatically imported into the main namespace. This is mostly a convenience module and it is used only by the igraph command line script which executes a suitable Python shell and automatically imports igraph's classes and functions in the top-level namespace.

Supported Python shells are:

The shells are tried in the above mentioned preference order one by one, unless the global.shells configuration key is set which overrides the default order. IDLE shell is only tried in Windows unless explicitly stated by global.shells, since Linux and Mac OS X users are likely to invoke igraph from the command line.

Version: 0.7.1

Classes [hide private]
A class that can be used to portably generate formatted output to a terminal.
A 2-line progress bar, which looks like:
Superclass of the embeddable shells supported by igraph
IDLE embedded shell interface.
Mixin class for console shells that support a progress bar.
IPython embedded shell interface.
Classic Python shell interface.
Functions [hide private]
The main entry point for igraph when invoked from the command line shell
source code
Variables [hide private]
  __package__ = ''

Imports: re, sys, set_progress_handler, set_status_handler, Configuration

   Home       Trees       Indices       Help