Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias TryExcept body ImportFrom alias identifier ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias identifier FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If NameLoad body Print Call AttributeLoad Str attr NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore AttributeLoad NameLoad attr Raise NameLoad finalbody If NameLoad body Print NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Print Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpDiv BinOpMult BinOpMult NameLoad NameLoad Num NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Print Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults BinOpPow Num Num body Expr Str Assign NameStore Call NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Print Str NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num Assign NameStore NameLoad While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad Num body Break Assign NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Expr Yield finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpMult Str NameLoad Assign NameStore Str Assign NameStore BinOpAdd Call NameLoad Call NameLoad Num NameLoad NameLoad ListLoad NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr AugAssignAdd NameStore BinOpAdd BinOpAdd NameLoad NameLoad Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str With Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Yield NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad TryFinally body Expr Yield finalbody Expr Call AttributeLoad NameLoad attr decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad body Assign NameStore BinOpAdd Call NameLoad NameLoad Num orelse Assign NameStore Num If Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpSub BinOpSub Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Num orelse Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq Num NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq Num NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad If CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list For NameStore Call NameLoad Num Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq Num NameLoad body Return NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq Num NameLoad body Return NameLoad AugAssignAdd NameStore Num Return Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad body If CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore CompareIn NameLoad NameLoad If NameLoad body Assign NameStore NameLoad orelse If NameLoad body If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice Num NameLoad Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore CompareIn NameLoad NameLoad If NameLoad body Assign NameStore NameLoad orelse If NameLoad body If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice BinOpSub Call NameLoad NameLoad NameLoad Break Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad Num Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore IfExp CompareLt NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Str Assign NameStore IfExp CompareLt NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Str If BoolOpAnd CompareEq NameLoad Str CompareNotEq NameLoad Str body Return Num orelse If BoolOpAnd CompareNotEq NameLoad Str CompareEq NameLoad Str body Return Num orelse If BoolOpAnd CompareEq NameLoad Str CompareIn NameLoad AttributeLoad NameLoad attr body Return Num orelse If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body Return Num orelse Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq Num NameLoad body Return NameLoad Return Num decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Num Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler body Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Break Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index NameLoad Num Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body AugAssignSub SubscriptStore NameLoad Index NameLoad Num If CompareEq SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return CompareGt AttributeLoad NameLoad attr BinOpPow Num Num decorator_list
N/A N/A copy N/A fnmatch N/A hashlib N/A multiprocessing N/A os N/A re N/A string N/A subprocess N/A sys N/A tarfile N/A urllib contextlib contextmanager N/A yaml N/A N/A yaml CLoader Loader yaml CDumper Dumper N/A N/A N/A ImportError N/A yaml SafeLoader Loader yaml SafeDumper Dumper shellcmd N/A N/A cmd echo stream shell N/A True True True N/A N/A 
    Run 'cmd' in the shell and return its standard out.
     N/A echo N/A N/A N/A N/A [cmd] {0} format cmd N/A N/A stream echo N/A N/A out None N/A N/A N/A subprocess check_call cmd stderr N/A sys stderr stdout N/A sys stdout shell shell N/A N/A N/A N/A N/A N/A out N/A N/A subprocess check_output cmd stderr N/A sys stderr shell shell N/A N/A N/A N/A subprocess CalledProcessError N/A c N/A N/A out N/A c output N/A c N/A N/A echo N/A N/A out N/A out N/A fetch_url N/A N/A url local_path N/A N/A N/A 
    Download the remote url into the local path
     N/A Downloading N/A local_filename N/A N/A N/A os path basename url progress N/A N/A count block_size total_size N/A N/A N/A 
        Super simple progress reporter.
         N/A percent N/A int N/A N/A N/A count block_size 100 total_size N/A args N/A local_filename percent total_size N/A N/A N/A N/A sys stdout write N/A 
%s - %2d%% of %d bytes args N/A N/A N/A N/A sys stdout flush N/A N/A N/A filename headers N/A N/A urllib urlretrieve url local_path reporthook progress N/A N/A filename N/A hash_string N/A N/A string hash_type N/A N/A hashlib md5 N/A N/A 
    Hashes the given string with the desired type, defaults to MD5.
     N/A hash_state N/A hash_type N/A N/A N/A hash_state update string N/A N/A N/A hash_state hexdigest N/A hash_file N/A N/A f hash_type block_size N/A N/A 2 20 N/A N/A 
    Computes the hash sum for a file
     N/A hash_state N/A hash_type N/A True N/A N/A data N/A N/A f read block_size N/A N/A data N/A N/A N/A N/A N/A hash_state update data N/A N/A N/A hash_state hexdigest N/A unpack_tarball N/A N/A tar_url extract_path N/A . N/A N/A 
    Extracts a tar file to disk, return root directory (and assumes
    there is one).
     N/A Unpacking: tar_url N/A N/A N/A tarfile open tar_url r tar N/A N/A N/A N/A tar extractall extract_path N/A filenames N/A N/A tar getnames N/A unpack_path N/A N/A sorted filenames N/A 0 N/A split_dir unpack_path N/A True N/A N/A N/A split_dir split_file N/A N/A N/A os path split split_dir N/A N/A N/A len split_dir 0 N/A N/A N/A unpack_dir split_file N/A N/A N/A N/A os path join extract_path unpack_dir N/A make_tarball N/A N/A output_filename source_dir N/A N/A N/A 
    Target up the given directory.
     N/A N/A N/A tarfile open output_filename w:gz tar N/A N/A N/A N/A tar add source_dir arcname N/A N/A N/A os path basename source_dir N/A cd N/A N/A new_dir N/A N/A N/A 
    Changes directories, always return, example:

    with cd('/some/dir'):
        # In some dir
    # Out of some dir
     N/A cwd N/A N/A N/A os path abspath N/A N/A os getcwd N/A N/A N/A os chdir new_dir N/A N/A N/A N/A N/A N/A N/A N/A os chdir cwd N/A contextmanager template_file N/A N/A source_path dest_path args N/A N/A N/A 
    Use basic python string interpolation to template file.
     N/A text N/A N/A N/A open source_path read N/A output N/A text args N/A N/A open dest_path w f N/A N/A N/A N/A f write output N/A wrap_yaml_string N/A N/A string width tab N/A 80 4 N/A N/A 
    Lets us take a long string and properly wrap it in yaml format.
     N/A str_len N/A len string N/A line_length N/A width tab N/A tab_str N/A tab N/A output  >
 N/A locs N/A N/A list N/A range 0 str_len line_length N/A str_len N/A N/A idx start N/A enumerate N/A locs N/A -1 N/A N/A sub_str N/A N/A N/A string N/A start N/A locs N/A N/A idx 1 strip N/A output N/A N/A tab_str sub_str N/A N/A N/A output strip N/A list_files N/A N/A path N/A N/A N/A 
    Return a list of all files and directories in the given path, recursively.
    All paths are relative to the given path.
     N/A raw_results N/A N/A N/A root dirs files N/A N/A os walk path N/A N/A N/A N/A raw_results extend N/A N/A N/A N/A os path join root d N/A d dirs N/A N/A N/A raw_results extend N/A N/A N/A N/A os path join root f N/A f files N/A results N/A N/A N/A N/A os path relpath r path N/A r raw_results N/A N/A sorted results N/A ensure_dir N/A N/A path N/A N/A N/A 
    Make sure a given directory exists
     N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A os makedirs path N/A touch N/A N/A path times N/A None N/A N/A 
    Create the given file if it doesn't exist, and if does update access times.
     N/A N/A file path a N/A N/A N/A N/A os utime path times N/A yaml_load N/A N/A stream N/A N/A N/A 
    Safely load untrusted YAML data from a stream into a python dict.
     N/A N/A N/A yaml load stream Loader Loader N/A yaml_dump N/A N/A data stream N/A None N/A N/A 
    Dump the python dict to the stream or standard out.
     N/A N/A N/A yaml dump data stream Dumper Dumper N/A load_xpd N/A N/A path N/A N/A N/A 
    Loads the desired yaml file.
     N/A N/A yaml_load N/A open path N/A match_files N/A N/A path pattern N/A N/A N/A 
    Rerusively find all files which match the given pattern.  Results are
    returned as a generator.
     N/A N/A root dirs files N/A N/A os walk path N/A N/A file_name files N/A N/A N/A N/A fnmatch fnmatch file_name pattern N/A N/A full_path N/A N/A N/A os path join root file_name N/A N/A full_path N/A EnvStorage N/A object N/A N/A 
    Helper class for saving and restoring environment variables.
     __init__ N/A N/A self store N/A False N/A N/A N/A self _env None N/A store N/A N/A N/A N/A self store N/A store N/A N/A self N/A N/A N/A 
        Store the contents of the current environment variables.
         N/A N/A self _env N/A N/A N/A BaseException Environment already stored N/A N/A self _env N/A N/A copy deepcopy N/A os environ N/A restore N/A N/A self N/A N/A N/A 
        Restores the previously stored environment variables.
         N/A key N/A N/A N/A os environ keys N/A N/A N/A N/A key N/A self _env N/A N/A N/A N/A os environ N/A key N/A N/A key val N/A N/A N/A self _env iteritems N/A N/A N/A N/A os environ N/A key val N/A N/A self _env None N/A N/A save_env N/A N/A N/A N/A N/A 
    Saves and restores environment variables, example:

    >>> os.environ['A'] = 'Before'
    >>> with save_env():
    ...    os.environ['A'] = 'During'
    >>> print os.environ['A']
    Before
     N/A env_state N/A EnvStorage store True N/A N/A N/A N/A N/A N/A N/A N/A env_state restore N/A contextmanager Version N/A object N/A __init__ N/A N/A self verstr N/A N/A N/A epochStr N/A N/A self _parse_epoch verstr N/A N/A len epochStr N/A N/A N/A self epoch N/A int epochStr N/A N/A N/A self epoch 0 N/A N/A self release N/A N/A self _parse_release verstr N/A N/A self release_parts N/A N/A self _split_version N/A self release N/A N/A len epochStr N/A N/A startIdx N/A N/A len epochStr 1 N/A N/A startIdx 0 N/A N/A len N/A self release N/A N/A stopIdx N/A N/A N/A len verstr N/A len N/A self release 1 N/A N/A stopIdx N/A len verstr N/A N/A self version N/A verstr N/A startIdx stopIdx N/A N/A self version_parts N/A N/A self _split_version N/A self version N/A __cmp__ N/A N/A self other N/A N/A N/A 
        Compare the whole version in the debian style.
         N/A epochCmp N/A cmp N/A self epoch N/A other epoch N/A N/A 0 epochCmp N/A N/A epochCmp N/A versionCmp N/A N/A self _compare_components N/A self version_parts N/A other version_parts N/A N/A 0 versionCmp N/A N/A versionCmp N/A N/A N/A self _compare_components N/A self release_parts N/A other release_parts N/A _compare_components N/A N/A a_parts b_parts N/A N/A N/A 
        Compare the version according to the debian version comparison method.
         grab N/A N/A l idx gtype gdefault N/A N/A N/A part gdefault N/A N/A idx N/A len l N/A N/A possible_part N/A l N/A idx N/A N/A isinstance possible_part gtype N/A N/A part possible_part N/A part N/A N/A idx N/A xrange 0 N/A max N/A len a_parts N/A len b_parts N/A N/A grab_non_digit N/A N/A N/A l idx N/A N/A grab l idx basestring N/A a_str N/A grab_non_digit a_parts idx N/A b_str N/A grab_non_digit b_parts idx N/A s_cmp N/A version_string_cmp a_str b_str N/A N/A 0 s_cmp N/A N/A s_cmp N/A grab_digit N/A N/A N/A l idx N/A N/A grab l idx int 0 N/A a_int N/A grab_digit a_parts idx N/A b_int N/A grab_digit b_parts idx N/A i_cmp N/A cmp a_int b_int N/A N/A 0 i_cmp N/A N/A i_cmp N/A idx 1 N/A 0 N/A staticmethod _split_version N/A N/A self version_str N/A N/A N/A 
        Split the version up into parts based on the debian version rules.
         N/A raw_parts N/A N/A re split ([0-9]+) version_str N/A digits N/A set N/A string digits N/A parts N/A N/A raw_part raw_parts N/A N/A N/A len raw_part N/A N/A N/A N/A raw_part N/A 0 digits N/A N/A part N/A int raw_part N/A N/A part raw_part N/A N/A N/A parts append part N/A parts N/A _parse_epoch N/A N/A self verstr N/A N/A N/A 
        Try to find the epoch by find the first numeric string, and seeing if
        it's followed by the semi-colon.

        Returns the epoch string.
         N/A epoch N/A digits N/A set N/A string digits N/A have_digits False N/A N/A idx c N/A enumerate verstr N/A N/A is_digit N/A c digits N/A is_digit N/A N/A have_digits True N/A N/A have_digits N/A N/A N/A c : N/A N/A epoch N/A verstr N/A 0 idx N/A N/A epoch N/A _parse_release N/A N/A self verstr N/A N/A N/A 
        If we can work from the back through the acceptable characters and
        hit a "-" then we have a debian revision

        Returns the release string.
         N/A release N/A verstr_reversed N/A verstr N/A -1 N/A release_chars N/A set N/A N/A N/A string digits N/A string letters +.~ N/A in_release False N/A N/A idx c N/A enumerate verstr_reversed N/A N/A is_valid N/A c release_chars N/A is_valid N/A N/A in_release True N/A N/A in_release N/A N/A N/A c - N/A N/A release N/A verstr N/A N/A N/A len verstr idx N/A N/A release N/A N/A compare_versions N/A N/A aStr bStr N/A N/A N/A 
    Assumes Debian version format:

      [epoch:]upstream_version[-debian_revision]

    Returns:
     -1 : a < b
      0 : a == b
      1 : a > b
     N/A N/A cmp N/A Version aStr N/A Version bStr N/A version_string_cmp N/A N/A a_s b_s N/A N/A N/A 
    This is a lexicographically sort modified so that all the letters
    sort earlier than all the non-letters and so that a tilde sorts
    before anything, even the empty string.  Here is an example sorted
    list:

      ['~~', '~~a', '~', '', 'a']
     N/A i N/A xrange 0 N/A max N/A len a_s N/A len b_s N/A N/A ac N/A N/A i N/A len a_s N/A a_s N/A i N/A bc N/A N/A i N/A len b_s N/A b_s N/A i N/A N/A N/A ac ~ N/A bc ~ N/A N/A -1 N/A N/A N/A N/A ac ~ N/A bc ~ N/A N/A 1 N/A N/A N/A N/A ac N/A bc N/A string letters N/A N/A -1 N/A N/A N/A N/A ac N/A string letters N/A bc N/A N/A 1 N/A N/A c N/A cmp ac bc N/A N/A 0 c N/A N/A c N/A 0 N/A cpu_count N/A N/A N/A N/A N/A 
    Returns the CPU count of the local system. (This includes hyperthreaded
    cores)

     N/A N/A N/A multiprocessing cpu_count N/A strongly_connected_components N/A N/A graph N/A N/A N/A 
    Tarjan's Algorithm (named for its discoverer, Robert Tarjan) is a graph
    theory algorithm for finding the strongly connected components of a graph.

    graph should be a dictionary mapping node names to lists of
    successor nodes.

    Based on: http://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm

    By Dries Verdegem (assumed public domain)
     N/A index_counter N/A 0 N/A stack N/A N/A lowlinks N/A N/A index N/A N/A result N/A strongconnect N/A N/A node N/A N/A N/A N/A index N/A node N/A index_counter N/A 0 N/A N/A lowlinks N/A node N/A index_counter N/A 0 N/A N/A index_counter N/A 0 1 N/A N/A N/A stack append node N/A N/A N/A successors N/A graph N/A node N/A N/A N/A N/A successors N/A N/A successor successors N/A N/A N/A successor lowlinks N/A N/A N/A strongconnect successor N/A N/A lowlinks N/A node N/A min N/A lowlinks N/A node N/A lowlinks N/A successor N/A N/A N/A successor stack N/A N/A N/A lowlinks N/A node N/A min N/A lowlinks N/A node N/A index N/A successor N/A N/A N/A lowlinks N/A node N/A index N/A node N/A N/A connected_component N/A N/A True N/A N/A successor N/A N/A stack pop N/A N/A N/A connected_component append successor N/A N/A successor node N/A N/A N/A component N/A tuple connected_component N/A N/A N/A result append component N/A N/A node graph N/A N/A N/A node lowlinks N/A N/A N/A strongconnect node N/A result N/A topological_sort N/A N/A graph N/A N/A N/A 
    Preforms a topological sort on the given graph. Code by Paul Harrison in
    the public domain.

    graph should be a dictionary mapping node names to lists of
    successor nodes.
     N/A count N/A N/A node graph N/A N/A N/A count N/A node 0 N/A node graph N/A N/A successor N/A graph N/A node N/A N/A N/A count N/A successor 1 N/A ready N/A node N/A node graph N/A N/A count N/A node 0 N/A result N/A N/A ready N/A N/A node N/A N/A ready pop -1 N/A N/A N/A result append node N/A successor N/A graph N/A node N/A N/A N/A count N/A successor 1 N/A N/A N/A count N/A successor 0 N/A N/A N/A N/A ready append successor N/A result N/A robust_topological_sort N/A N/A graph N/A N/A N/A 
    First identify strongly connected components, then perform a
    topological sort on these components.

    graph should be a dictionary mapping node names to lists of
    successor nodes.
     N/A components N/A strongly_connected_components graph N/A node_component N/A N/A component components N/A N/A node component N/A N/A N/A node_component N/A node component N/A component_graph N/A N/A component components N/A N/A N/A component_graph N/A component N/A N/A node graph N/A N/A node_c N/A node_component N/A node N/A successor N/A graph N/A node N/A N/A successor_c N/A node_component N/A successor N/A N/A node_c successor_c N/A N/A N/A N/A N/A component_graph N/A node_c append successor_c N/A N/A topological_sort component_graph N/A is_64bit N/A N/A N/A N/A N/A 
    Returns true if we are on 64bit platform.

    Reference: http://docs.python.org/2/library/platform.html#cross-platform
     N/A N/A N/A sys maxsize N/A 2 32 N/A