

import string



def 				snake_case_(_UpperCamelCase					)							->     str:



  """simple docstring"""






  _snake_case						=							''''''
  for i in sequence:
    _snake_case						=							ord(_UpperCamelCase					)
    if 65 <= extract <= 90:
      output += chr(155 - extract					)
    elif 97 <= extract <= 122:
      output += chr(219 - extract					)
    else:
      output += i
  return output



def 				snake_case_(_UpperCamelCase					)							->     str:



  """simple docstring"""






  _snake_case						=							string.ascii_letters
  _snake_case						=							string.ascii_lowercase[::-1] + string.ascii_uppercase[::-1]
  return "".join(
      letters_reversed[letters.index(_UpperCamelCase					)] if c in letters else c for c in sequence					)



def 				snake_case_()							->     None:



  """simple docstring"""






  from timeit import timeit

  print('''Running performance benchmarks...'''					)
  _snake_case						=							'''from string import printable ; from __main__ import atbash, atbash_slow'''
  print(F"""> atbash_slow(): {timeit('atbash_slow(printable)'			,	setup=_UpperCamelCase					)} seconds"""					)
  print(F""">      atbash(): {timeit('atbash(printable)'			,	setup=_UpperCamelCase					)} seconds"""					)


if __name__ == "__main__":
 for example in ("ABCDEFGH", "123GGjj", "testStringtest", "with space"):
  print(f'''{example} encrypted in atbash: {atbash(example)}''')
 benchmark()




from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__A      		=     {
    '''configuration_falcon''': ['''FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''FalconConfig'''],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 __A      		=     [
     '''FALCON_PRETRAINED_MODEL_ARCHIVE_LIST''',
     '''FalconForCausalLM''',
     '''FalconModel''',
     '''FalconPreTrainedModel''',
     '''FalconForSequenceClassification''',
     '''FalconForTokenClassification''',
     '''FalconForQuestionAnswering''',
 ]


if TYPE_CHECKING:
 from .configuration_falcon import FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP, FalconConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_falcon import (
      FALCON_PRETRAINED_MODEL_ARCHIVE_LIST,
      FalconForCausalLM,
      FalconForQuestionAnswering,
      FalconForSequenceClassification,
      FalconForTokenClassification,
      FalconModel,
      FalconPreTrainedModel,
  )


else:
 import sys

 __A      		=     _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)

