from maths.prime_factors import prime_factors





def 				UpperCAmelCase						(    lowercase							):







				"""simple docstring"""



				if not isinstance(__SCREAMING_SNAKE_CASE							,			__SCREAMING_SNAKE_CASE							):
								__lowercase 			=							F"Input value of [number={number}] must be an integer"
								raise TypeError(__SCREAMING_SNAKE_CASE							)
				if number < 1:
								raise ValueError('''Input must be a positive integer'''							)
				return -1 if len(prime_factors(__SCREAMING_SNAKE_CASE							)							) % 2 else 1


if __name__ == "__main__":
		import doctest

		doctest.testmod()
"""simple docstring"""







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


__SCREAMING_SNAKE_CASE    	=logging.get_logger(__name__)







class        UpperCamelCase		(			lowercase_  ):
   def __init__(			self     ,*__UpperCamelCase     ,**__UpperCamelCase			)	->      None:


        '''simple docstring'''


        warnings.warn(
            'The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
            ' use BeitImageProcessor instead.'     ,__UpperCamelCase     ,)
        super().__init__(*__UpperCamelCase     ,**__UpperCamelCase			)

