Metadata-Version: 2.1
Name: consumers
Version: 0.6.1
Summary: A simple, flexible way to parallelize processing in Python.
Home-page: https://github.com/nvllsvm/consumers
Author: Andrew Rabert
Author-email: arabert@nullsum.net
License: Apache 2.0
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3 :: Only

consumers
=========

|Version| |License|

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

Documentation
-------------
https://consumers.readthedocs.io


Example
-------

.. code:: python

    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')

.. |Version| image:: https://img.shields.io/pypi/v/consumers.svg?
   :target: https://pypi.python.org/pypi/consumers

.. |License| image:: https://img.shields.io/github/license/nvllsvm/consumers.svg?
   :target: https://github.com/nvllsvm/consumers/blob/master/LICENSE


