consumers 0.6.1
pip install consumers
Latest version
Released:
A simple, flexible way to parallelize processing in Python.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Andrew Rabert
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Project description
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')
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Andrew Rabert
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file consumers-0.6.1.tar.gz
.
File metadata
- Download URL: consumers-0.6.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e6177a5ddf703ae437b5d0043dd8df4558334601af3ba20cfcd44a59b6746a |
|
MD5 | 0b31deabd6645eb6310a6cc5e41c0d00 |
|
BLAKE2b-256 | d9e666345f1963dacb8df3d7ebdd67de2b486fc342271f80838617d4e4bff2ec |
File details
Details for the file consumers-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: consumers-0.6.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a33355efa3c881b3b579f04addc8b8c8c9b9953b51e4f617b3aaeda993ce6e7b |
|
MD5 | 6e6e69d1122fe32ce8625cd15e92329b |
|
BLAKE2b-256 | 40cb9fe518f478751117c614ff1c9ac85127f0864cb305d96df52c5658005418 |