kernel.parallelfunction

Module: kernel.parallelfunction

Inheritance diagram for IPython.kernel.parallelfunction:

A parallelized function that does scatter/execute/gather.

Classes

IMultiEngineParallelDecorator

class IPython.kernel.parallelfunction.IMultiEngineParallelDecorator(name, bases=(), attrs=None, __doc__=None, __module__=None)

Bases: zope.interface.Interface

A decorator that creates a parallel function.

classmethod __init__()
dependents = <WeakKeyDictionary at 174346536>

IParallelFunction

class IPython.kernel.parallelfunction.IParallelFunction(name, bases=(), attrs=None, __doc__=None, __module__=None)

Bases: zope.interface.Interface

classmethod __init__()
dependents = <WeakKeyDictionary at 174346392>

ITaskParallelDecorator

class IPython.kernel.parallelfunction.ITaskParallelDecorator(name, bases=(), attrs=None, __doc__=None, __module__=None)

Bases: zope.interface.Interface

A decorator that creates a parallel function.

classmethod __init__()
dependents = <WeakKeyDictionary at 174347832>

ParallelFunction

class IPython.kernel.parallelfunction.ParallelFunction(mapper)

Bases: object

The implementation of a parallel function.

A parallel function is similar to Python’s map function:

map(func, *sequences) -> pfunc(*sequences)

Parallel functions should be created by using the @parallel decorator.

__init__()

Create a parallel function from an IMapper.

Parameters :
mapper : an IMapper implementer.

The mapper to use for the parallel function

Table Of Contents

Previous topic

kernel.newserialized

Next topic

kernel.pbutil

This Page