Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
/ consumers Public archive

A simple, flexible way to parallelize processing in Python. https://consumers.readthedocs.io

License

Notifications You must be signed in to change notification settings

nvllsvm/consumers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consumers

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)
('b-d-f', 'a-c-e')

About

A simple, flexible way to parallelize processing in Python. https://consumers.readthedocs.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages