Skip to main content

Multiprocessing framework.

Project description

forkpy provides a framework for multiprocessing in Python. Typical usage might look like this:

from forkpy import Factory, Task

def target_function(args, worker):
    a, b = args
    return a + b

factory = Factory()
for a in range(100):
    for b in range(100):
        args = (a, b)
        factory.assign(Task(args, target_function))




See the project on GitHub.

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

forkpy-0.0.2.tar.gz (3.0 kB view hashes)

Uploaded source

Built Distribution

forkpy-0.0.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page