




from __future__ import annotations



def      __lowerCAmelCase			(					UpperCamelCase      )     ->	list:
  if len(UpperCamelCase      ) == 0:
    return []
  lowerCAmelCase__       ,			lowerCAmelCase__				:  Union[str, Any]		       =     min(UpperCamelCase      ), max(UpperCamelCase      )
  lowerCAmelCase__				:  Tuple		       =     int(max_value - min_value      ) + 1
  lowerCAmelCase__				:  list[list]		       =     [[] for _ in range(UpperCamelCase      )]

  for i in my_list:
    buckets[int(i - min_value      )].append(UpperCamelCase      )

  return [v for bucket in buckets for v in sorted(UpperCamelCase      )]


if __name__ == "__main__":
     from doctest import testmod

     testmod()
     assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
     assert bucket_sort([0, 1, -10, 15, 2, -2]) == [-10, -2, 0, 1, 2, 15]







import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


lowerCAmelCase_					    = logging.get_logger(__name__)






class  _lowerCAmelCase     (  _lowercase	):

      def __init__(   self      ,				*__UpperCAmelCase      ,				**__UpperCAmelCase		):
        warnings.warn(
            '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
            ''' use OwlViTImageProcessor instead.'''      ,				__UpperCAmelCase      ,				)
        super().__init__(*__UpperCAmelCase      ,				**__UpperCAmelCase		)

