Skip to main content

futures for remote execution on clusters

Project description

This module provides a Python concurrent.futures executor that lets you run functions on remote systems in your Condor or Slurm cluster. Stop worrying about writing job files, scattering/gathering, and serialization—this module does it all for you.

It uses PiCloud’s advanced pickler to even allow (most) closures to be used transparently, so you’re not limited to “pure” functions.

Depends on concurrent.futures and cloud, so just run pip install futures cloud to get up and running.

See example_*.py for example usage. The easiest way to get started is to ignore the fact that futures are being used at all and just use the provided map function, which behaves like itertools.imap but transparently distributes your work across the cluster.

Project details


Download files

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

Source Distribution

clusterfutures-0.3.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file clusterfutures-0.3.tar.gz.

File metadata

  • Download URL: clusterfutures-0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for clusterfutures-0.3.tar.gz
Algorithm Hash digest
SHA256 e794972017fa9efeb0d4d647ef77d36b6afdbae14796d68fc310f6eaf6c3970f
MD5 92f77bfdc78d8892dde2800a62eef781
BLAKE2b-256 f24c5fd91fb3f538fb3c4f1379d91bead51490068be17a6eeb1b94998ee2a54e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page