Skip to main content

better multiprocessing and multithreading in python

Project description

About Multiprocess

multiprocess is a fork of multiprocessing, and is developed as part of 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.


  • 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, with a public ticket list at

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.7 (a fork of multiprocessing-0.70a1).

The latest released version of multiprocess is available from:

Multiprocessing is distributed under a BSD license.

Development Version

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

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


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

$ tar -xvzf multiprocess-0.70.7.tgz
$ cd multiprocess-0.70.7
$ python build
$ python 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.


multiprocess requires:

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

Optional requirements:

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

More Information

Probably the best way to get started is to look at the documentation at 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).


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;

Michael McKerns and Michael Aivazis,
"pathos: a framework for heterogeneous computing", 2010- ;

Please see or for further information.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
multiprocess-0.70.7-cp27-cp27m-win32.whl (91.3 kB) Copy SHA256 hash SHA256 Wheel cp27
multiprocess-0.70.7-cp27-cp27m-win_amd64.whl (92.4 kB) Copy SHA256 hash SHA256 Wheel cp27
multiprocess-0.70.7-cp35-cp35m-win32.whl (104.3 kB) Copy SHA256 hash SHA256 Wheel cp35
multiprocess-0.70.7-cp35-cp35m-win_amd64.whl (104.7 kB) Copy SHA256 hash SHA256 Wheel cp35
multiprocess-0.70.7-cp36-cp36m-win32.whl (108.7 kB) Copy SHA256 hash SHA256 Wheel cp36
multiprocess-0.70.7-cp36-cp36m-win_amd64.whl (106.9 kB) Copy SHA256 hash SHA256 Wheel cp36
multiprocess-0.70.7-cp37-cp37m-win32.whl (115.9 kB) Copy SHA256 hash SHA256 Wheel cp37
multiprocess-0.70.7-cp37-cp37m-win_amd64.whl (116.2 kB) Copy SHA256 hash SHA256 Wheel cp37
multiprocess-0.70.7.tar.gz (1.4 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page