A collection of patterns to use over top of the built in multiprocessing package
Project description
mp_boilerplate
A collection of patterns to use over top of the built in multiprocessing package
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)
Project details
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
mp_boilerplate-0.0.1.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file mp_boilerplate-0.0.1.tar.gz
.
File metadata
- Download URL: mp_boilerplate-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9c3f0ea66e7e0f13e32d50505f8b795d3b95acd593bd86533323ccf4bc411b1 |
|
MD5 | 4d8c77a89a397bfa91a000879f18e343 |
|
BLAKE2b-256 | 6786e719ac7c67e3be1e40da5480fc02b3b7fc8bc57f3ceff5d9275ee82ca4a2 |
Provenance
File details
Details for the file mp_boilerplate-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mp_boilerplate-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9ea4f2c2be55c74363fc8f219c9d191ff25ebbf44e3eb12b511b124e74fe50 |
|
MD5 | 4b9c8d99dff48700df1872dcb47d6ce7 |
|
BLAKE2b-256 | 1928d2f874d6d50cef4ec06080b17a274ef925cef93962954f1feca512bf0ad3 |