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: 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 issues is located at https://github.com/uqfoundation/multiprocess/issues, with a legacy list maintained at https://uqfoundation.github.io/pathos-issues.html.

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.11 (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.11.tgz
$ cd multiprocess-0.70.11
$ 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.7** or **version >= 3.5**
- ``dill``, **version >= 0.3.3**

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- ;
https://uqfoundation.github.io/pathos.html

Please see https://uqfoundation.github.io/pathos.html or http://arxiv.org/pdf/1202.1056 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.

Source Distribution

multiprocess-0.70.11.zip (2.4 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.11-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

multiprocess-0.70.11-cp27-cp27m-manylinux1_x86_64.whl (118.2 kB view details)

Uploaded CPython 2.7m

multiprocess-0.70.11-cp27-cp27m-manylinux1_i686.whl (115.5 kB view details)

Uploaded CPython 2.7m

multiprocess-0.70.11-cp27-cp27m-macosx_10_8_x86_64.whl (89.0 kB view details)

Uploaded CPython 2.7mmacOS 10.8+ x86-64

File details

Details for the file multiprocess-0.70.11.zip.

File metadata

  • Download URL: multiprocess-0.70.11.zip
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11.zip
Algorithm Hash digest
SHA256 e75f02a8dc3707207d3356e0d272933a718654b54d792fc1f7b2925b5c0e120d
MD5 35f036f072657f6691c2252cfd5450f1
BLAKE2b-256 a40ab0d517755cce23781c69c27b6bfe1463e88ebb63270183807b15e05aa9fc

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.11-py3-none-any.whl.

File metadata

  • Download URL: multiprocess-0.70.11-py3-none-any.whl
  • Upload date:
  • Size: 98.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d831d3bebfa681475fa67c434c09268f29191c41b54dc752b5a948456e083854
MD5 8e93dae6f4e8325e3d5fa27d8fa998bc
BLAKE2b-256 fecc97c27e9aa9a75b2cdd9c279f17dffcc04702b09b8968038025d4190dd1af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multiprocess-0.70.11-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/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 44b262025dbca103d4466bc4061dbb7e42003efbfbf3557ea1e33d8e37d5a875
MD5 0e00be0e4297b059bdcf1e8a173a3fec
BLAKE2b-256 c5ae447f3d3a0f3c4b1d1e7d495a93ef7ff1e16c97b3fe3a1679b838e67869a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multiprocess-0.70.11-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/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 4a4b00643a6bcdd36452c8826371075234e8d4fb0310bdeb8523d978de3b6cc1
MD5 dd0ce463ce91773a2a11dcc605c8b94f
BLAKE2b-256 0e649508ce7b82dcf3c39cf0ef4c7e4b2b6de30a8d13fd686d7cde39f104a314

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.11-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multiprocess-0.70.11-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 118.2 kB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 404641ffcce86658f914fc29efc23db096ccd02a1a29efd2e7fad7b54b98f08b
MD5 fad2e8f33640fbe8eda92a9ab731c2a8
BLAKE2b-256 64e44a8401ce1f5a8e7f8993abdad84af557e4391698e36323643f984e200bee

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.11-cp27-cp27m-manylinux1_i686.whl.

File metadata

  • Download URL: multiprocess-0.70.11-cp27-cp27m-manylinux1_i686.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0626f0c1792c47eff36350cded6f02b602b78b812dbaf8b032a05d4b4cbcb886
MD5 82a3ea5e0465e984ed2896001544aa14
BLAKE2b-256 5b2dce2c00438c43f640c03fc626d019ec84eeb2b9d3bbdc855e56c0cbc93d0d

See more details on using hashes here.

File details

Details for the file multiprocess-0.70.11-cp27-cp27m-macosx_10_8_x86_64.whl.

File metadata

  • Download URL: multiprocess-0.70.11-cp27-cp27m-macosx_10_8_x86_64.whl
  • Upload date:
  • Size: 89.0 kB
  • Tags: CPython 2.7m, macOS 10.8+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.12

File hashes

Hashes for multiprocess-0.70.11-cp27-cp27m-macosx_10_8_x86_64.whl
Algorithm Hash digest
SHA256 b7337d6be39cfa9f5a3c09d4293cfccd8fa171565a6476971e1353b5aa46f58e
MD5 189de94529dcb58bb1b10ac260543a71
BLAKE2b-256 cb5faec1437e771b47bb2b9463423bc434c9403a059f88f496cbc90679bf6aff

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 Pingdom Monitoring Sentry Error logging StatusPage Status page