Skip to main content

Handy tool for condor submission

Project description

Welcome to condor assistant!

The condor_booklist can help you submit the condor jobs efficiently!

To install the package, do:

$ pip install --upgrade condor-assistant

To test the functionality do:

$ example.py
class condor_booklist(Executable = '', JobType = 'default_condor', JobName = '')

Parameters:
  Executable(string): executable
  JobType(string): name of the task (optional)
  JobName(string): name of the job (optional)

and

def submit(with_arguments=True)

submit the condor jobs that are booked in the booklist.

Parameters:
  with_arguments: True if argument is required for each job. False if no argument needs to be specified.
def add_Argument(Argument)

add one or more argument(s) (representing one or several job(s)) to the booklist

Parameters:
  Argument(string or a list of strings): the arguments to be specified after the executable
def set_Arguments(Arguments)

set the whole arguments (for all of the jobs that are going to be submitted)

Parameters:
  Arguments(list of strings): the argument list
def add_BlankArgument()

if there is no argument to be specified in a certain job. usually used when there is only one job per list
def initialdir_in_arguments()

add the initial directory path as the first argument (before all of the specified arguments)
def set_JobFlavour(JobFlavour)

setup the allowed running time.

Parameters:
  JobFavour = 'espresso'     => 20min
            = 'microcentury' => 1hr
            = 'longlunch'    => 2hr
            = 'workday'      => 8hr
            = 'tomorrow'     => 1d
            = 'testmatch'    => 3d
            = 'nextweek'     => 1w
def summary(keyword='')

print out the summary of the current condor booklist

Parameters:
  Keyword = ''(default) => all
          = 'basic'     => basic

More options can be found in the source codes.

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

condor_assistant-1.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

condor_assistant-1.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file condor_assistant-1.3.tar.gz.

File metadata

  • Download URL: condor_assistant-1.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for condor_assistant-1.3.tar.gz
Algorithm Hash digest
SHA256 be7f73e0fb9138611a9036b1f55bdac345dd354ea073ab18b282610f0c935067
MD5 9eeb27fb60bb93244107528a9e55e10c
BLAKE2b-256 44d03b5e68a9ad9422fc15ba2dbaccc1204ae42d3db3114af91c8bdeca8095a2

See more details on using hashes here.

File details

Details for the file condor_assistant-1.3-py3-none-any.whl.

File metadata

  • Download URL: condor_assistant-1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for condor_assistant-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53f897d0dd067228f9420e82de9e409410ce8364b777f637c1ad64f4ad9e4ae5
MD5 2c69dae1e444f51c2f40709e164b0e8a
BLAKE2b-256 34c0320f2772dfbb8d027c6b1dd47fb80b873a9d29531fd8bfea3c99fd5b2fdb

See more details on using hashes here.

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