Skip to content
This repository was archived by the owner on Jan 22, 2020. It is now read-only.

Latest commit

 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages