def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def expiration_datetime(self):
        """Datetime that the verification will expire. """
        days_good_for = settings.VERIFY_STUDENT["DAYS_GOOD_FOR"]
        return self.created_at + timedelta(days=days_good_for)