Metadata-Version: 2.1
Name: mp-boilerplate
Version: 0.2.0
Summary: A collection of patterns to use over top of the built in multiprocessing package
Home-page: https://github.com/markanewman/mp_boilerplate
Author: @markanewman
Author-email: mp_boilerplate@trinetteandmark.com
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/markanewman/mp_boilerplate/issues
Project-URL: Source, https://github.com/markanewman/mp_boilerplate
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
Requires-Dist: typeguard (>=2.7.1)

# mp_boilerplate

A collection of patterns to use over top of the built in multiprocessing package.

# Install

```{shell}
pip install mp_boilerplate
```


# Use Case

```{py}
def process_int(i):
    return i + 1

worker = pat.MultiWorker(process_int)
worker.start()

for i in range(100):
    worker.add_task(i)
worker.finished_adding_tasks()

for item in worker.get_results():
    print(item)
```

