Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Assign NameStore Call NameLoad Str Str If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Expr Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr NameLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr Str Num comprehension NameStore Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad While CompareNotEq Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call NameLoad NameLoad Raise orelse Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad While CompareNotEq Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call NameLoad AttributeLoad NameLoad attr Raise orelse Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad While CompareNotEq Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call NameLoad AttributeLoad NameLoad attr Raise orelse Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call NameLoad Call Call NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad While CompareNotEq Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call NameLoad AttributeLoad NameLoad attr Raise orelse Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Return Call NameLoad BinOpAdd NameLoad TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call BinOpMult NameLoad BinOpAdd NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad IfExp Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr BinOpMod Str NameLoad Assign NameStore Call NameLoad Num Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Return NameLoad decorator_list
N/A N/A 
internal helpers
 __future__ absolute_import print_function unicode_literals N/A sys collections namedtuple ctypes byref c_uint create_string_buffer POINTER pointer sizeof drmaa.const ATTR_BUFFER ENCODING NO_MORE_ELEMENTS drmaa.errors error_buffer drmaa.wrappers drmaa_attr_names_t drmaa_attr_values_t drmaa_get_attribute drmaa_get_attribute_names drmaa_get_next_attr_name drmaa_get_next_attr_value drmaa_get_next_job_id drmaa_get_vector_attribute drmaa_get_vector_attribute_names drmaa_job_ids_t drmaa_release_attr_names drmaa_release_attr_values drmaa_release_job_ids drmaa_run_bulk_jobs drmaa_set_attribute drmaa_set_vector_attribute drmaa_version STRING N/A N/A N/A sys version_info N/A 3 0 N/A N/A bytes str N/A str unicode N/A _BUFLEN ATTR_BUFFER BoolConverter N/A object N/A N/A Helper class to convert to/from bool attributes. __init__ N/A N/A self true false N/A y n N/A N/A N/A isinstance true str N/A N/A true N/A N/A true encode ENCODING N/A N/A self true true N/A N/A isinstance false str N/A N/A false N/A N/A false encode ENCODING N/A N/A self false false N/A to_drmaa N/A N/A self value N/A N/A N/A value N/A N/A N/A self true N/A N/A N/A self false N/A from_drmaa N/A N/A self value N/A N/A N/A N/A value N/A self true N/A N/A True N/A N/A False N/A N/A IntConverter N/A object N/A N/A Helper class to convert to/from int attributes. to_drmaa N/A N/A value N/A N/A N/A N/A bytes value N/A staticmethod from_drmaa N/A N/A value N/A N/A N/A N/A int value N/A staticmethod N/A SessionStringAttribute N/A object N/A __init__ N/A N/A self drmaa_function N/A N/A N/A N/A self _f drmaa_function N/A __get__ N/A N/A self N/A args N/A N/A buf N/A create_string_buffer _BUFLEN N/A N/A c N/A self _f buf N/A sizeof buf N/A N/A N/A N/A buf value decode N/A N/A N/A Version N/A namedtuple Version major minor N/A N/A N/A sys version_info N/A 3 0 N/A N/A N/A Version __str__ N/A N/A N/A x N/A N/A N/A N/A N/A {0}.{1} format N/A x major N/A x minor encode ENCODING N/A N/A N/A Version __str__ N/A N/A N/A x N/A N/A N/A {0}.{1} format N/A x major N/A x minor SessionVersionAttribute N/A object N/A N/A A Version attribute. __get__ N/A N/A self N/A args N/A N/A major N/A c_uint 10 N/A minor N/A c_uint 10 N/A N/A c drmaa_version N/A byref major N/A byref minor N/A N/A Version N/A major value N/A minor value N/A N/A Attribute N/A object N/A N/A 
    A DRMAA attribute, to be managed with scalar C DRMAA attribute management
    functions.
     __init__ N/A N/A self name type_converter N/A None N/A N/A 
        Attribute constructor.

        :Parameters:
         `name` : string
           name of the attribute to be managed, as seen by the underlying C
           DRMAA
         `type_converter`
           a converter to translate attribute values to/from the underlying
           implementation. See BoolConverter for an example.
         N/A N/A isinstance name str N/A N/A name N/A N/A name encode ENCODING N/A N/A self name name N/A N/A self converter type_converter N/A __set__ N/A N/A self instance value N/A N/A N/A N/A self converter N/A N/A v N/A N/A N/A self converter to_drmaa value N/A N/A N/A isinstance value str N/A N/A v N/A N/A value encode ENCODING N/A N/A v value N/A N/A c drmaa_set_attribute instance N/A self name v N/A __get__ N/A N/A self instance _ N/A N/A N/A attr_buffer N/A create_string_buffer ATTR_BUFFER N/A N/A c drmaa_get_attribute instance N/A self name attr_buffer N/A sizeof attr_buffer N/A N/A self converter N/A N/A N/A N/A N/A self converter from_drmaa N/A attr_buffer value N/A N/A N/A isinstance N/A attr_buffer value bytes N/A N/A N/A N/A N/A attr_buffer value decode N/A N/A N/A attr_buffer value N/A N/A VectorAttribute N/A object N/A N/A 
    A DRMAA attribute representing a list.

    To be managed with vector C DRMAA attribute management functions.
     __init__ N/A N/A self name N/A N/A N/A N/A isinstance name str N/A N/A name N/A N/A name encode ENCODING N/A N/A self name name N/A __set__ N/A N/A self instance value N/A N/A N/A N/A c drmaa_set_vector_attribute instance N/A self name N/A string_vector value N/A __get__ N/A N/A self instance _ N/A N/A N/A N/A list N/A vector_attribute_iterator instance N/A self name N/A N/A DictAttribute N/A object N/A N/A 
    A DRMAA attribute representing a python dict.

    To be managed with vector C DRMAA attribute management functions.
     __init__ N/A N/A self name N/A N/A N/A N/A isinstance name str N/A N/A name N/A N/A name encode ENCODING N/A N/A self name name N/A __set__ N/A N/A self instance value N/A N/A N/A vector N/A N/A N/A k v N/A N/A value items N/A N/A N/A isinstance k bytes N/A N/A k N/A N/A k decode ENCODING N/A N/A isinstance v bytes N/A N/A v N/A N/A v decode ENCODING N/A N/A N/A vector append N/A N/A N/A N/A {0}={1} format k v encode ENCODING N/A N/A c drmaa_set_vector_attribute instance N/A self name N/A string_vector vector N/A __get__ N/A N/A self instance _ N/A N/A N/A x N/A N/A N/A i split = 1 N/A i N/A list N/A vector_attribute_iterator instance N/A self name N/A N/A dict x N/A N/A attributes_iterator N/A N/A attributes N/A N/A N/A N/A N/A buf N/A create_string_buffer ATTR_BUFFER N/A N/A N/A drmaa_get_next_attr_value attributes buf N/A sizeof buf NO_MORE_ELEMENTS N/A N/A N/A N/A N/A N/A buf value decode N/A N/A N/A N/A N/A drmaa_release_attr_values attributes N/A N/A N/A N/A drmaa_release_attr_values attributes N/A adapt_rusage N/A N/A rusage N/A N/A N/A 
    Transform a rusage data structure into a dict.

    Due to the value possibly containing a equal sign make sure we
    limit the splits to only the first occurrence.
     N/A rv N/A dict N/A attr N/A attributes_iterator N/A rusage contents N/A N/A N/A k v N/A N/A attr split = 1 N/A N/A rv N/A k v N/A rv N/A vector_attribute_iterator N/A N/A jt attr_name N/A N/A N/A avalues N/A pointer N/A N/A POINTER drmaa_attr_values_t N/A N/A c drmaa_get_vector_attribute jt attr_name avalues N/A N/A attributes_iterator N/A avalues contents N/A attribute_names_iterator N/A N/A N/A N/A N/A attrn_p N/A pointer N/A N/A POINTER drmaa_attr_names_t N/A N/A c drmaa_get_attribute_names attrn_p N/A N/A N/A name N/A create_string_buffer _BUFLEN N/A N/A N/A drmaa_get_next_attr_name N/A attrn_p contents name _BUFLEN NO_MORE_ELEMENTS N/A N/A N/A N/A N/A N/A name value decode N/A N/A N/A N/A N/A drmaa_release_attr_names N/A attrn_p contents N/A N/A N/A N/A drmaa_release_attr_names N/A attrn_p contents N/A vector_attribute_names_iterator N/A N/A N/A N/A N/A attrn_p N/A pointer N/A N/A POINTER drmaa_attr_names_t N/A N/A c drmaa_get_vector_attribute_names attrn_p N/A N/A N/A name N/A create_string_buffer _BUFLEN N/A N/A N/A drmaa_get_next_attr_name N/A attrn_p contents name _BUFLEN NO_MORE_ELEMENTS N/A N/A N/A N/A N/A N/A name value decode N/A N/A N/A N/A N/A drmaa_release_attr_names N/A attrn_p contents N/A N/A N/A N/A drmaa_release_attr_names N/A attrn_p contents N/A run_bulk_job N/A N/A jt start end incr N/A 1 N/A N/A jids N/A pointer N/A N/A POINTER drmaa_job_ids_t N/A N/A N/A N/A c drmaa_run_bulk_jobs jids jt start end incr N/A jid N/A create_string_buffer _BUFLEN N/A N/A N/A drmaa_get_next_job_id N/A jids contents jid _BUFLEN NO_MORE_ELEMENTS N/A N/A N/A N/A N/A N/A jid value decode N/A N/A N/A N/A N/A drmaa_release_job_ids N/A jids contents N/A N/A N/A N/A drmaa_release_job_ids N/A jids contents N/A c N/A N/A f N/A args N/A N/A 
    A helper function wrapping calls to the C DRMAA functions with error
    managing code.
     N/A N/A f N/A args N/A error_buffer N/A sizeof error_buffer N/A string_vector N/A N/A v N/A N/A N/A vlen N/A len v N/A values N/A N/A STRING N/A vlen 1 N/A N/A i el N/A enumerate v N/A N/A N/A values N/A i N/A STRING N/A N/A isinstance el str N/A N/A el encode ENCODING el N/A N/A values N/A vlen N/A STRING N/A values N/A attribute_setter N/A N/A obj attribute_name N/A N/A N/A 
    returns a drmaa attribute setter
     f N/A N/A value N/A N/A N/A N/A setter for %s attribute_name N/A N/A c drmaa_set_attribute obj attribute_name value N/A N/A N/A f __name__ N/A set_ attribute_name N/A f N/A attribute_getter N/A N/A obj attribute_name N/A N/A N/A 
    returns a drmaa attribute setter
     f N/A N/A N/A N/A N/A N/A getter for %s attribute_name N/A attr_buffer N/A create_string_buffer 1024 N/A N/A c drmaa_get_attribute obj attribute_name attr_buffer N/A sizeof attr_buffer N/A N/A attr_buffer value N/A N/A N/A f __name__ N/A get_ attribute_name N/A f N/A