def bucketed_list(l, bucket_size):
  """Breaks an input list into multiple lists with a certain bucket size.

  Arguments:
    l: A list of items
    bucket_size: The size of buckets to create.

  Returns:
    A list of lists, where each entry contains a subset of items from the input
    list.
  """
  n = max(1, bucket_size)
  return [l[i:i + n] for i in range(0, len(l), n)]