Skip to main content

About Multiprocess

multiprocess is a fork of multiprocessing, and is developed as part of pathos: https://github.com/uqfoundation/pathos

multiprocessing is a package for the Python language which supports the spawning of processes using the API of the standard library’s threading module. multiprocessing has been distributed in the standard library since python 2.6.

Features:

  • Objects can be transferred between processes using pipes or multi-producer/multi-consumer queues.

  • Objects can be shared between processes using a server process or (for simple data) shared memory.

  • Equivalents of all the synchronization primitives in threading are available.

  • A Pool class makes it easy to submit tasks to a pool of worker processes.

multiprocess is part of pathos, a python framework for heterogeneous computing. multiprocess is in active development, so any user feedback, bug reports, comments, or suggestions are highly appreciated. A list of known issues is maintained at http://trac.mystic.cacr.caltech.edu/project/pathos/query.html, with a public ticket list at https://github.com/uqfoundation/multiprocess/issues.

NOTE: A C compiler is required to build the included extension module. For python 3.3 and above, a C compiler is suggested, but not required.

Major Changes

  • enhanced serialization, using dill

Current Release

This documentation is for version multiprocess-0.70.9 (a fork of multiprocessing-0.70a1).

The latest released version of multiprocess is available from:

https://pypi.org/project/multiprocess

Multiprocessing is distributed under a BSD license.

Development Version

You can get the latest development version with all the shiny new features at:

https://github.com/uqfoundation

If you have a new contribution, please submit a pull request.

Installation

multiprocess is packaged to install from source, so you must download the tarball, unzip, and run the installer:

[download]
$ tar -xvzf multiprocess-0.70.9.tgz
$ cd multiprocess-0.70.9
$ python setup.py build
$ python setup.py install

You will be warned of any missing dependencies and/or settings after you run the “build” step above.

Alternately, multiprocess can be installed with pip or easy_install:

$ pip install multiprocess

NOTE: A C compiler is required to build the included extension module from source. For python 3.3 and above, a C compiler is suggested, but not required. Binary installs do not require a C compiler.

Requirements

multiprocess requires:

- ``python``, **version >= 2.5** or **version >= 3.1**
- ``dill``, **version >= 0.3.1**

Optional requirements:

- ``setuptools``, **version >= 0.6**

More Information

Probably the best way to get started is to look at the documentation at http://multiprocess.rtfd.io. See multiprocess.examples for a set of example scripts. You can also run the test suite with python -m multiprocess.tests. Please feel free to submit a ticket on github, or ask a question on stackoverflow (@Mike McKerns). If you would like to share how you use multiprocess in your work, please post send an email (to mmckerns at uqfoundation dot org).

Citation

If you use multiprocess to do research that leads to publication, we ask that you acknowledge use of multiprocess by citing the following in your publication:

M.M. McKerns, L. Strand, T. Sullivan, A. Fang, M.A.G. Aivazis,
"Building a framework for predictive science", Proceedings of
the 10th Python in Science Conference, 2011;
http://arxiv.org/pdf/1202.1056

Michael McKerns and Michael Aivazis,
"pathos: a framework for heterogeneous computing", 2010- ;
http://trac.mystic.cacr.caltech.edu/project/pathos

Please see http://trac.mystic.cacr.caltech.edu/project/pathos or http://arxiv.org/pdf/1202.1056 for further information.

Download files

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

Source Distribution

multiprocess-0.70.9.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

multiprocess-0.70.9-cp27-cp27m-win_amd64.whl (92.6 kB view details)

Uploaded CPython 2.7mWindows x86-64

multiprocess-0.70.9-cp27-cp27m-win32.whl (91.6 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file multiprocess-0.70.9.tar.gz.

File metadata

  • Download URL: multiprocess-0.70.9.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/36.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.16

File hashes

Hashes for multiprocess-0.70.9.tar.gz
Algorithm Hash digest
SHA256 9fd5bd990132da77e73dec6e9613408602a4612e1d73caf2e2b813d2b61508e5
MD5 0534e24edd36c8178cc01f99aa3b468c
BLAKE2b-256 58175151b6ac2ac9b6276d46c33369ff814b0901872b2a0871771252f02e9192

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.9-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: multiprocess-0.70.9-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 92.6 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/36.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.16

File hashes

Hashes for multiprocess-0.70.9-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 1eb7dfe2d809d53be92e8a288ed1c01614fe5407bbc9d078ed451a749fb1bd34
MD5 cfb3f2d7fbcb762f0ef7f5c8f16af203
BLAKE2b-256 181d3d75b156f1c5d7d27819e8f763288c4bda8b24c5736d2a00a8808ac309f2

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.9-cp27-cp27m-win32.whl.

File metadata

  • Download URL: multiprocess-0.70.9-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/36.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.16

File hashes

Hashes for multiprocess-0.70.9-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 0e4e65c2e74aa14fa0c9a1f838b5e9a5f8fe5b3a173925792260843c4a6157ec
MD5 bdc337861ff765c60e77b234e94e8534
BLAKE2b-256 43053ee40843b8b671c42706fa184745b05413aacc1f90632707934e35eeb49f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page