python interface to submit functions to a HTCondor batch cluster
Project description
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.
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
conpy-0.1.1.tar.gz
(5.4 kB
view hashes)
Built Distribution
conpy-0.1.1-py3-none-any.whl
(8.8 kB
view hashes)