Skip to main content

Version License

Consumers is a simple, flexible way to parallelize processing in Python.

Documentation

https://consumers.readthedocs.io

Example

from consumers import Pool


def concatenate(letters):
    return ''.join(letters)


with Pool(concatenate, 2) as pool:
    for letter in 'abcdef':
        pool.put(letter)

print(pool.results)

Results

('bdf', 'ace')

Metadata

Release files for consumers 0.6.1

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

Source distribution (sdist)

Source distribution for consumers 0.6.1
File Size Uploaded
consumers-0.6.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for consumers 0.6.1
File Interpreter ABI Platform
consumers-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / consumers-0.6.1.tar.gz

Download URL consumers-0.6.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
58e6177a5ddf703ae437b5d0043dd8df4558334601af3ba20cfcd44a59b6746a
BLAKE2b-256 checksum
How to use checksums
d9e666345f1963dacb8df3d7ebdd67de2b486fc342271f80838617d4e4bff2ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / consumers-0.6.1-py3-none-any.whl

Download URL consumers-0.6.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a33355efa3c881b3b579f04addc8b8c8c9b9953b51e4f617b3aaeda993ce6e7b
BLAKE2b-256 checksum
How to use checksums
40cb9fe518f478751117c614ff1c9ac85127f0864cb305d96df52c5658005418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

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