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 Provenance Actions
job_pool-0.3.4.tar.gz 11.6 kB Without provenance Details for job_pool-0.3.4.tar.gz

Built distribution (wheel)

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

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

Security for job-pool 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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