def summary_from_package(package):
    """ Create a summary dict from a package """
    return {
        "name": package.name,
        "summary": package.summary or "",
        "last_modified": package.last_modified,
    }