






"""simple docstring"""



from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Value
from .base import TaskTemplate

@dataclass(frozen=a_	)
class        a     (   a_	):
    UpperCAmelCase_ :     str	     =field(default="language-modeling",				metadata={"include_in_asdict_even_if_is_default": True}	)

    UpperCAmelCase_ :     ClassVar[Features]	     =Features({"text": Value("string"	)}	)
    UpperCAmelCase_ :     ClassVar[Features]	     =Features({}	)
    UpperCAmelCase_ :     str	     ="text"







    @property
    def 			UpperCamelCase_      (			self       ):
      return {self.text_column: "text"}










"""simple docstring"""



import requests
from bsa import BeautifulSoup
def 						_SCREAMING_SNAKE_CASE (    __snake_case			:  str = "AAPL"    ):





  '''simple docstring'''





  lowercase							    =       f'https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'
  lowercase							    =       BeautifulSoup(requests.get(__snake_case    ).text		,					'html.parser'    )
  lowercase							    =       'My(6px) Pos(r) smartphone_Mt(6px)'
  return soup.find('div'		,					class_=class_    ).find('span'    ).text


if __name__ == "__main__":
    for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
        print(F'''Current {symbol:<4} stock price is {stock_price(symbol):>8}''')


