


from __future__ import annotations


def    __lowerCamelCase   (      A__						: Tuple					)     ->    list:



   if len(__lowerCAmelCase					) == 0:
      return []
   lowerCamelCase_,	lowerCamelCase_						:   List[Any]		= min(__lowerCAmelCase					), max(__lowerCAmelCase					)
   lowerCamelCase_						:   Any		= int(max_value - min_value					) + 1
   lowerCamelCase_						:   Tuple		= [[] for _ in range(__lowerCAmelCase					)]

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

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


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]






"""simple docstring"""


import os
from distutils.util import strtobool





def      lowerCamelCase_					(   __lowerCAmelCase  ,       __lowerCAmelCase							)				->   Union[str, Any]:




						'''simple docstring'''



						for e in env_keys:
												lowerCamelCase__   =int(os.environ.get(__lowerCAmelCase  ,       -1							)							)
												if val >= 0:
																		return val
						return default





def      lowerCamelCase_					(   __lowerCAmelCase  ,       __lowerCAmelCase=False							)				->   List[str]:




						'''simple docstring'''



						lowerCamelCase__   =os.environ.get(__lowerCAmelCase  ,       str(__lowerCAmelCase							)							)
						return strtobool(__lowerCAmelCase							) == 1  # As its name indicates `strtobool` actually returns an int...





def      lowerCamelCase_					(   __lowerCAmelCase  ,       __lowerCAmelCase="no"							)				->   Union[str, Any]:




						'''simple docstring'''



						lowerCamelCase__   =os.environ.get(__lowerCAmelCase  ,       str(__lowerCAmelCase							)							)
						return value


