Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Multiprocessing on Dill

This project is a friendly fork – for Python 3 – of the Python Standard Library multiprocessing module, which uses the third-party dill serializer instead of the standard pickle serializer. This overcomes many shortcomings of pickle which prevent multiprocessing being used with lambdas, closures and other useful Python objects.

The easiest way to use multiprocessing_on_dill in place of multiprocessing is simply to replace any import statements like this:

import multiprocessing

with:

import multiprocessing_on_dill as multiprocessing

and import statements like this:

from multiprocessing import Pool

with:

from multiprocessing_on_dill import Pool

With such import changes in place, it will now be possible to use functions like Pool.map() with lambdas:

pool = Pool(12)
result = pool.map(lambda x: x*x, range(10000))

Everything else should be identical to the Python version.

You can determine from which version of the Python Standard Library multiprocessing_on_dill has been forked, by examining the multiprocessing_on_dill.__version__ attribute.

Future

It is our hope that one day the Python Standard Library pickle module will gain the additional capabilities of dill and there will no longer be a need for multiprocessing_on_dill to exist.

Release files for multiprocessing_on_dill 3.5.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multiprocessing_on_dill 3.5.0a4
File Size Uploaded
multiprocessing_on_dill-3.5.0a4.tar.gz 53.3 kB Details

Release files / multiprocessing_on_dill-3.5.0a4.tar.gz

Download URL multiprocessing_on_dill-3.5.0a4.tar.gz
Size 53.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d6d50c300ff4bd408bb71eb78725e60231039ee9b3d0d9bb7697b9d0e15045e7
BLAKE2b-256 checksum
How to use checksums
864d4b135e2e5cd0194eb29f2ed36e9a77a07596787a9a8ac2279bd4445398f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.5.0a4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page