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!

a little framework to simule multiprocessing over a lot of computers

Project Description
import random
import org.py4grid.GP as gp

def testando(lista):
for x in range(2 * 1):
return lista

if __name__ == '__main__':

from multiprocessing.dummy import Pool as pool
remote = gp.RemoteProcess(pool, discover_hosts=True)

ret = remote.processwork( testando, [[], [], [], []],
relative_path={'Windows': 'C:/Dropbox/BIBLIOTECA_PYTHON', 'Darwin': '/Dropbox/BIBLIOTECA_PYTHON', 'Linux': '/Dropbox/BIBLIOTECA_PYTHON'},
Hosts=[('localhost', 4680)])

for item in ret:
for sub in item:
print(len(sub), sub)

before use this framework,
starts PY4GRIDSERVER generated in PythonXX\Script directory for begin a server
and then start DISCOVER if you want to use the option discover_hosts, this option works discovering the address of the servers started
and only works if the Hosts argument is empty, if you do not wish to use this option must explicitly pass the argument Hosts


C:\Python33\Script\PY4GRIDSERVER <- starts the server on port 4680
C:\Python33\Script\DISCOVER <- start the discoverer of servers
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PY4GRID-1.0.5.macosx-10.6-intel.tar.gz (18.7 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Sep 4, 2014
PY4GRID-1.0.5.tar.gz (7.7 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2014

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