def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def executemany(self, sql, param_list):
        result = self._no_monkey.executemany(self, sql, param_list)
        if transaction_states[self.db.alias] and is_sql_dirty(sql):
            transaction_states[self.db.alias].mark_dirty()
        return result