IPython Documentation

Table Of Contents

Previous topic

parallel.client.magics

Next topic

parallel.client.remotefunction

This Page

parallel.client.map

Module: parallel.client.map

Inheritance diagram for IPython.parallel.client.map:

Classes used in scattering and gathering sequences.

Scattering consists of partitioning a sequence and sending the various pieces to individual nodes in a cluster.

Authors:

  • Brian Granger
  • MinRK

Classes

Map

class IPython.parallel.client.map.Map

A class for partitioning a sequence using a map.

concatenate(listOfPartitions)
getPartition(seq, p, q)

Returns the pth partition of q partitions of seq.

joinPartitions(listOfPartitions)

RoundRobinMap

class IPython.parallel.client.map.RoundRobinMap

Bases: IPython.parallel.client.map.Map

Partitions a sequence in a roun robin fashion.

This currently does not work!

concatenate(listOfPartitions)
flatten_array(klass, listOfPartitions)
flatten_list(listOfPartitions)
getPartition(seq, p, q)
joinPartitions(listOfPartitions)

Function

IPython.parallel.client.map.mappable(obj)

return whether an object is mappable or not.