batchelor 0.5.8

Last updated:

0 purchases

batchelor 0.5.8 Image
batchelor 0.5.8 Images
Add to Cart

Description:

batchelor 0.5.8

A simple, yet effective batching system using threadpoolexecutor.

Free software: GNU Lesser General Public License v3 or later (LGPLv3+)


Installation
pip install batchelor
You can also install the in-development version with:
pip install https://github.com/ritzKraka/python-batchelor/archive/master.zip


Documentation
To use the project:
import batchelor
batch = batchelor.Batch(enumerate(['my', 'dataset']))
# batch.help() # for basic help
batch.start(lambda index, item: print(index, item)) # replace lambda with your function


Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:






Windows
set PYTEST_ADDOPTS=--cov-append
tox


Other
PYTEST_ADDOPTS=--cov-append tox






Changelog

0.1 (2020-06-12)

First release on PyPI.



0.3 (I forget)

Stop doing changelog because I’m too lazy. :)



0.5.5 (last one)

Added command-line argument support.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.