def get_package_format_names(predicate=None):
    """Get names for available package formats."""
    return [
        k
        for k, v in six.iteritems(get_package_formats())
        if not predicate or predicate(k, v)
    ]