Skip to main content

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


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)

Uploaded Source

Built Distribution

conpy-0.1.1-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page