Metadata-Version: 1.1
Name: bsub
Version: 0.0.1
Summary: submit jobs to LSF with python
Home-page: https://github.com/brentp/bsub
Author: Brent Pedersen
Author-email: bpederse@gmail.com
License: MIT
Description: bsub
        ====
        
        python wrapper to submit jobs to bsub (and later qsub)
        
        Authors
        ------
        @brentp, @brwnj
        
        
        Example
        -------
        
        ```python
        
        >>> sub = bsub("some_job", R="rusage[mem=1]", verbose=True)
        
        # submit a job via call'ing the sub object with the command to run.
        # the return value is the numeric job id.
        >>> print sub("date").isdigit()
        True
        
        # 2nd argument can be a shell script, in which case
        # the call() is empty.
        #>>> bsub("somejob", "run.sh", verbose=True)()
        
        # dependencies:
        >>> job_id = bsub("sleeper", verbose=True)("sleep 2")
        >>> bsub.poll(job_id)
        True
        
        ```
        
        or use the command-line to poll for running jobs:
        
        
        ```Shell
        python -m bsub 12345 12346 12347
        ```
        
        will block until those 3 jobs finish.
        
Keywords: cluster lsf bsub
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
