


'''simple docstring'''






def     UpperCamelCase_      (   A__ :       str = "The quick brown fox jumps over the lazy dog"							,   ):
  '''simple docstring'''





  lowerCAmelCase_      :				List[Any]      =       set()

  # Replace all the whitespace in our sentence
  lowerCAmelCase_      :				int      =       input_str.replace(""" """							,   """""" )
  for alpha in input_str:
    if "a" <= alpha.lower() <= "z":
      frequency.add(alpha.lower() )
  return len(A__ ) == 26







def     UpperCamelCase_      (   A__ :       str = "The quick brown fox jumps over the lazy dog"							,   ):
  '''simple docstring'''





  lowerCAmelCase_      :				Dict      =       [False] * 26
  for char in input_str:
    if char.islower():
      lowerCAmelCase_      :				Optional[int]      =       True
    elif char.isupper():
      lowerCAmelCase_      :				Optional[Any]      =       True
  return all(A__ )







def     UpperCamelCase_      (   A__ :       str = "The quick brown fox jumps over the lazy dog"							,   ):
  '''simple docstring'''





  return len({char for char in input_str.lower() if char.isalpha()} ) == 26







def     UpperCamelCase_      (   ):
  '''simple docstring'''





  from timeit import timeit

  lowerCAmelCase_      :				Tuple      =       """from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest"""
  print(timeit("""is_pangram()"""							,   setup=A__ ) )
  print(timeit("""is_pangram_faster()"""							,   setup=A__ ) )
  print(timeit("""is_pangram_fastest()"""							,   setup=A__ ) )
  # 5.348480500048026, 2.6477354579837993, 1.8470395830227062
  # 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  benchmark()







'''simple docstring'''






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
    is_vision_available,
)


__A :  List[str]    							=				{
    "configuration_owlvit": [
        "OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "OwlViTConfig",
        "OwlViTOnnxConfig",
        "OwlViTTextConfig",
        "OwlViTVisionConfig",
    ],
    "processing_owlvit": ["OwlViTProcessor"],
}


try:
  if not is_vision_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __A :  Optional[int]    							=				["OwlViTFeatureExtractor"]
  __A :  str    							=				["OwlViTImageProcessor"]

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __A :  Tuple    							=				[
      "OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST",
      "OwlViTModel",
      "OwlViTPreTrainedModel",
      "OwlViTTextModel",
      "OwlViTVisionModel",
      "OwlViTForObjectDetection",
  ]

if TYPE_CHECKING:
  from .configuration_owlvit import (
      OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP,
      OwlViTConfig,
      OwlViTOnnxConfig,
      OwlViTTextConfig,
      OwlViTVisionConfig,
  )
  from .processing_owlvit import OwlViTProcessor

  try:
    if not is_vision_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .feature_extraction_owlvit import OwlViTFeatureExtractor
    from .image_processing_owlvit import OwlViTImageProcessor

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_owlvit import (
        OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST,
        OwlViTForObjectDetection,
        OwlViTModel,
        OwlViTPreTrainedModel,
        OwlViTTextModel,
        OwlViTVisionModel,
    )

else:
  import sys

  __A :  List[Any]    							=				_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)



