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 details)
Built Distribution
conpy-0.1.1-py3-none-any.whl
(8.8 kB
view details)
File details
Details for the file conpy-0.1.1.tar.gz
.
File metadata
- Download URL: conpy-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdef81145a2f38a98086bb95ee063b1eff4aa9ecec69cfe5a905a90e27085da9 |
|
MD5 | 138459d8781940ce213bf208b993411a |
|
BLAKE2b-256 | 411b56dcc015c36ce1854b58c9a003ea93520a1c2951b27a7aec22ddc7cb7c33 |
File details
Details for the file conpy-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: conpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74718ebdfc884610e3038d448c58b77644216a5fef74fd99793c74b8b2229ea1 |
|
MD5 | 75b4175e70b3e85e1bfe0ac8856af161 |
|
BLAKE2b-256 | fd0c2eb7bd6d934f780b3b380032fcdcd18fe6aff72ab937fdc9fc4609298ad0 |