Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Utilities for easy parallelisation of tasks

Project Description

The idea is to have an ubber simple decorator
which simply defers the calculation of any function
or method off process.

The decorated function returns a lazy object,
which will just attempt to retrieve the actual
return value of the function when it is about to
be used in any Python expression.

Currently, the only public member in the
project is the "parallel" decorator, which is used just as:

def retr_url(url):
return urllib.urlopen(url).read()

-And voilá - upon calling the above "retr_url",
execution simply proceeds, while Python multiprocessing
creates another process to actually download the url

Unlike Python's 3.2 concurrent.futures, there is no
setup needed - just decorate your function
and you are all set-up to go.

Tested with Python 2.7, 3.2, 3.3, and Pypy 1.8.0

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(3.3 kB) Copy SHA256 Hash SHA256
Source Dec 15, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting