def get_writer_class(writer_name):
 writer_name = writer_name.lower()
 if (writer_name in _writer_aliases):
  writer_name = _writer_aliases[writer_name]
 try:
  module = __import__(writer_name, globals(), locals(), level=1)
 except ImportError:
  module = __import__(writer_name, globals(), locals(), level=0)
 return module.Writer

def get_writer_class ( writer_name ) : writer_name = writer_name . lower ( ) if ( writer_name in _writer_aliases ) : writer_name = _writer_aliases [ writer_name ] try : module = __import__ ( writer_name , globals ( ) , locals ( ) , level = 1 ) except ImportError : module = __import__ ( writer_name , globals ( ) , locals ( ) , level = 0 ) return module . Writer
return the writer class from the writer_name module .