





'''simple docstring'''






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


A__							:  Optional[Any]    ={
    'configuration_maskformer': ['MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP', 'MaskFormerConfig'],
    'configuration_maskformer_swin': ['MaskFormerSwinConfig'],
}

try:
      if not is_vision_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      A__							:  Optional[int]    =['MaskFormerFeatureExtractor']
      A__							:  Optional[Any]    =['MaskFormerImageProcessor']


try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      A__							:  List[str]    =[
          'MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
          'MaskFormerForInstanceSegmentation',
          'MaskFormerModel',
          'MaskFormerPreTrainedModel',
      ]
      A__							:  List[Any]    =[
          'MaskFormerSwinBackbone',
          'MaskFormerSwinModel',
          'MaskFormerSwinPreTrainedModel',
      ]

if TYPE_CHECKING:
      from .configuration_maskformer import MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, MaskFormerConfig
      from .configuration_maskformer_swin import MaskFormerSwinConfig

      try:
            if not is_vision_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .feature_extraction_maskformer import MaskFormerFeatureExtractor
            from .image_processing_maskformer import MaskFormerImageProcessor
      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_maskformer import (
                MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
                MaskFormerForInstanceSegmentation,
                MaskFormerModel,
                MaskFormerPreTrainedModel,
            )
            from .modeling_maskformer_swin import (
                MaskFormerSwinBackbone,
                MaskFormerSwinModel,
                MaskFormerSwinPreTrainedModel,
            )


else:
      import sys

      A__							:  Tuple    =_LazyModule(__name__, globals()['''__file__'''], _import_structure)










import requests
from bsa import BeautifulSoup


def    __lowerCamelCase   (      A__						: str = "https://www.worldometers.info/coronavirus"					)     ->    dict:
   lowerCamelCase_						:   List[str]		= BeautifulSoup(requests.get(A__					).text						,						"""html.parser"""					)
   lowerCamelCase_						:   Tuple		= soup.findAll("""h1"""					)
   lowerCamelCase_						:   Tuple		= soup.findAll("""div"""						,						{"""class""": """maincounter-number"""}					)
   keys += soup.findAll("""span"""						,						{"""class""": """panel-title"""}					)
   values += soup.findAll("""div"""						,						{"""class""": """number-table-main"""}					)
   return {key.text.strip(): value.text.strip() for key, value in zip(A__						,						A__					)}


if __name__ == "__main__":
      print('\033[1m' + 'COVID-19 Status of the World' + '\033[0m\n')
      for key, value in world_covidaa_stats().items():
            print(F'{key}\n{value}\n')





