def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def limitStrLessThen128Char(self, strStr=None):
        if len(strStr) > 128:
            logging.info("limit str less then 128 char")
            return strStr[:127] + u"_"
        else:
            return strStr