parameters: ()
return_statement: return supported_engines
docstring: Import available engines
  
          Return list of available engines
docstring_summary: Import available engines
docstring_tokens: Import available engines
function: def initialize_engines():
      """ Import available engines
  
          Return list of available engines
      """
      supported_engines = []
  
      engines = glob(path.join(path.dirname(__file__), 'engines', '*.py'))
      for engine in engines:
          engi = path.basename(engine).split('.')[0].strip()
          if len(engi) == 0 or engi.startswith('_'):
              continue
          try:
              # import engines.[engine]
              engine_module = __import__(".".join(("engines", engi)))
              # get low-level module
              engine_module = getattr(engine_module, engi)
              # bind class name
              globals()[engi] = getattr(engine_module, engi)
              supported_engines.append(engi)
          except Exception:
              pass
  
      return supported_engines
function_tokens: def initialize_engines ( ) : supported_engines = [ ] engines = glob ( path . join ( path . dirname ( __file__ ) , 'engines' , '*.py' ) ) for engine in engines : engi = path . basename ( engine ) . split ( '.' ) [ 0 ] . strip ( ) if len ( engi ) == 0 or engi . startswith ( '_' ) : continue try : # import engines.[engine] engine_module = __import__ ( "." . join ( ( "engines" , engi ) ) ) # get low-level module engine_module = getattr ( engine_module , engi ) # bind class name globals ( ) [ engi ] = getattr ( engine_module , engi ) supported_engines . append ( engi ) except Exception : pass return supported_engines