Skip to main content

job-pool

PyPI version Supported Python versions PyPI downloads Build Tests Codecov

Enhanced Job Pool for Python Multiprocessing

Usage

from job_pool import JobPool

def add_one(i):
    return i + 1

def multiprocessed_add_one():
    pool = JobPool(4)
    for i in range(20):
        pool.applyAsync(add_one, [i])
    results = pool.checkPool(printProgressEvery=5)
    assert results == list(range(1,21))

Installation

job-pool is available on PyPI and can be installed with pip:

pip install job-pool

Alternatively, you can install job-pool after cloning from this repository:

git clone https://github.com/matthewthe/job-pool.git
pip install .

Metadata

Release files for job-pool 0.3.4

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

Source distribution (sdist)

Source distribution for job-pool 0.3.4
File Size Uploaded
job_pool-0.3.4.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for job-pool 0.3.4
File Interpreter ABI Platform
job_pool-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.5 kB

Release files / job_pool-0.3.4.tar.gz

Download URL job_pool-0.3.4.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7f88bffe74b4ed771ae67c855b1df482597c8e29057f6e7ac2fa6bc447b235ee
BLAKE2b-256 checksum
How to use checksums
d9abd6e9b1639e02276932da473a80b6d21ef524edc3743cc76ed44010b88b48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / job_pool-0.3.4-py3-none-any.whl

Download URL job_pool-0.3.4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f00e000a2521c7570c67a72d67902ec2e973801020fbf1e4b0e3744429684b0
BLAKE2b-256 checksum
How to use checksums
a4d806223bf9af44df259c5b38eea3f36712aab0d9f2f80ede73d9e890835ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

2 release files

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