Package papyros
[hide private]
[frames] | no frames]

Package papyros

source code

A small platform independent parallel processing package.

This package provides a master-slave parallel processing model in Python. Clients can submit jobs to a Master object which is monitored by one or more Slave objects that do the real work and return the processed Jobs back to the master. Two main implementations are currently provided, one multithreaded and one distributed in one or more hosts (through Pyro).

Submodules [hide private]

Classes [hide private]
  Master
A Job dispatcher object, controlling a set of slaves.
  Slave
Abstract Slave class.
  Job
Abstract base class of a callable to be called later.
  UnprocessedJobError
Raised when attempting to get the result of a Job that has not been processed yet.
Functions [hide private]
 
enableLogging() source code
 
synchronized(f)
A synchronized method decorator
source code
Variables [hide private]
  log = logging.getLogger('papyros')