batchelor-0.5.8
توضیحات
A simple, yet effective batching system using threadpoolexecutor.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | batchelor-0.5.8 |
| نام | batchelor |
| نسخه کتابخانه | 0.5.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ritz Kraka |
| ایمیل نویسنده | ritzKraka@protonmail.com |
| آدرس صفحه اصلی | https://github.com/ritzKraka/python-batchelor |
| آدرس اینترنتی | https://pypi.org/project/batchelor/ |
| مجوز | LGPL-3.0-or-later |
========
Overview
========
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:
.. code-block:: python
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:
.. list-table::
:widths: 10 90
:stub-columns: 1
- - 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.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.0 | Python |
نحوه نصب
نصب پکیج whl batchelor-0.5.8:
pip install batchelor-0.5.8.whl
نصب پکیج tar.gz batchelor-0.5.8:
pip install batchelor-0.5.8.tar.gz