consumers
Consumers is a simple, flexible way to parallelize processing in Python.
Documentation
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| consumers-0.6.1.tar.gz | 3.3 kB | Without provenance | Details for consumers-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| consumers-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for consumers-0.6.1-py3-none-any.whl |
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 |
Security for consumers 0.6.1
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.