
"""simple docstring"""






import os
import sys
from contextlib import contextmanager


# Windows only
if os.name == "nt":
					import ctypes
					import msvcrt  # noqa

					class 					__a     ( ctypes.Structure       ):



												'''simple docstring'''







												_lowerCamelCase					:			Any          =   [("""size""", ctypes.c_int), ("""visible""", ctypes.c_byte)]



def      lowerCAmelCase__			(		)						->List[Any]:
			if os.name == "nt":
						__lowercase       =       CursorInfo()
						__lowercase       =       ctypes.windll.kernelaa.GetStdHandle(-1_1      )
						ctypes.windll.kernelaa.GetConsoleCursorInfo(__magic_name__			,   ctypes.byref(__magic_name__      )      )
						__lowercase       =       False
						ctypes.windll.kernelaa.SetConsoleCursorInfo(__magic_name__			,   ctypes.byref(__magic_name__      )      )
			elif os.name == "posix":
						sys.stdout.write("\033[?25l"      )
						sys.stdout.flush()



def      lowerCAmelCase__			(		)						->List[str]:
			if os.name == "nt":
						__lowercase       =       CursorInfo()
						__lowercase       =       ctypes.windll.kernelaa.GetStdHandle(-1_1      )
						ctypes.windll.kernelaa.GetConsoleCursorInfo(__magic_name__			,   ctypes.byref(__magic_name__      )      )
						__lowercase       =       True
						ctypes.windll.kernelaa.SetConsoleCursorInfo(__magic_name__			,   ctypes.byref(__magic_name__      )      )
			elif os.name == "posix":
						sys.stdout.write("\033[?25h"      )
						sys.stdout.flush()







@contextmanager
def      lowerCAmelCase__			(		)						->str:
			try:
						hide_cursor()
						yield
			finally:
						show_cursor()







"""simple docstring"""






_lowercase							=				'''
# Installazione di Transformers
! pip install transformers datasets
# Per installare dalla fonte invece dell\'ultima versione rilasciata, commenta il comando sopra e
# rimuovi la modalità commento al comando seguente.
# ! pip install git+https://github.com/huggingface/transformers.git
'''

_lowercase							=				[{'''type''': '''code''', '''content''': INSTALL_CONTENT}]
_lowercase							=				{
    '''{processor_class}''': '''FakeProcessorClass''',
    '''{model_class}''': '''FakeModelClass''',
    '''{object_class}''': '''FakeObjectClass''',
}





