
"""simple docstring"""







import requests
from bsa import BeautifulSoup
def       __UpperCAmelCase		(		a_      :		int     ,	a_      :		str					)  ->							str:
   _UpperCAmelCase 						=       (
       "https://www.horoscope.com/us/horoscopes/general/"
       F'''horoscope-general-daily-{day}.aspx?sign={zodiac_sign}'''
   )
   _UpperCAmelCase 						=       BeautifulSoup(requests.get(a_					).content     ,	"html.parser"					)
   return soup.find("div"     ,	class_="main-horoscope"					).p.text


if __name__ == "__main__":
  print('Daily Horoscope. \n')
  print(
      'enter your Zodiac sign number:\n',
      '1. Aries\n',
      '2. Taurus\n',
      '3. Gemini\n',
      '4. Cancer\n',
      '5. Leo\n',
      '6. Virgo\n',
      '7. Libra\n',
      '8. Scorpio\n',
      '9. Sagittarius\n',
      '10. Capricorn\n',
      '11. Aquarius\n',
      '12. Pisces\n',
  )
  SCREAMING_SNAKE_CASE_  					= int(input('number> ').strip())
  print('choose some day:\n', 'yesterday\n', 'today\n', 'tomorrow\n')
  SCREAMING_SNAKE_CASE_  					= input('enter the day> ')
  SCREAMING_SNAKE_CASE_  					= horoscope(zodiac_sign, day)
  print(horoscope_text)



"""simple docstring"""







from typing import TYPE_CHECKING

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


SCREAMING_SNAKE_CASE_  					= {
    'configuration_deformable_detr': ['DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP', 'DeformableDetrConfig'],
}

try:
  if not is_vision_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  SCREAMING_SNAKE_CASE_  					= ['DeformableDetrFeatureExtractor']
  SCREAMING_SNAKE_CASE_  					= ['DeformableDetrImageProcessor']

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  SCREAMING_SNAKE_CASE_  					= [
      'DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST',
      'DeformableDetrForObjectDetection',
      'DeformableDetrModel',
      'DeformableDetrPreTrainedModel',
  ]


if TYPE_CHECKING:
  from .configuration_deformable_detr import DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP, DeformableDetrConfig

  try:
    if not is_vision_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .feature_extraction_deformable_detr import DeformableDetrFeatureExtractor
    from .image_processing_deformable_detr import DeformableDetrImageProcessor

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_deformable_detr import (
        DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST,
        DeformableDetrForObjectDetection,
        DeformableDetrModel,
        DeformableDetrPreTrainedModel,
    )

else:
  import sys

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

