conpy-0.1.1
توضیحات
python interface to submit functions to a HTCondor batch cluster
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | conpy-0.1.1 |
| نام | conpy |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shane Breeze |
| ایمیل نویسنده | sdb15@ic.ac.uk |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/conpy/ |
| مجوز | - |
# Conpy
Call python functions on (CERN) HTCondor batch cluster - with tqdm progress bars.
## How to use
High-level interface use:
```
import conpy
tasks = [...] # list of dicts with keys ["task", "args", "kwargs"] run on each node as task(*args, **kwargs)
results = conpy.local_submit(tasks)
results = conpy.mp_submit(tasks, ncores=4)
results = conpy.sge_submit("name", "/tmp/conpy-temporaries", tasks=tasks, options="-q hep.q")
```
The return value is a list of results for each task, in order o tasks.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.17.1 | future |
| >=4.31.1 | tqdm |
| >=3.5.4 | subprocess32 |
نحوه نصب
نصب پکیج whl conpy-0.1.1:
pip install conpy-0.1.1.whl
نصب پکیج tar.gz conpy-0.1.1:
pip install conpy-0.1.1.tar.gz