


import requests
from bsa import BeautifulSoup



def 							UpperCamelCase_( lowerCamelCase_ = "AAPL"					)       ->		str:
    _lowercase			:				List[Any] 						=						F'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
    _lowercase			:				Union[str, Any] 						=						BeautifulSoup(requests.get(lowerCamelCase_					).text				,					'html.parser'					)
    _lowercase			:				Union[str, Any] 						=						'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}")






from argparse import ArgumentParser

from .add_new_model import AddNewModelCommand
from .add_new_model_like import AddNewModelLikeCommand
from .convert import ConvertCommand
from .download import DownloadCommand
from .env import EnvironmentCommand
from .lfs import LfsCommands
from .pt_to_tf import PTtoTFCommand
from .run import RunCommand
from .serving import ServeCommand
from .user import UserCommands



def 							UpperCamelCase_( )       ->		List[Any]:
    _lowercase			:				int 						=						ArgumentParser('Transformers CLI tool'				,					usage='transformers-cli <command> [<args>]'					)
    _lowercase			:				Optional[Any] 						=						parser.add_subparsers(help='transformers-cli command helpers'					)

    # Register commands
    ConvertCommand.register_subcommand(lowerCamelCase_					)
    DownloadCommand.register_subcommand(lowerCamelCase_					)
    EnvironmentCommand.register_subcommand(lowerCamelCase_					)
    RunCommand.register_subcommand(lowerCamelCase_					)
    ServeCommand.register_subcommand(lowerCamelCase_					)
    UserCommands.register_subcommand(lowerCamelCase_					)
    AddNewModelCommand.register_subcommand(lowerCamelCase_					)
    AddNewModelLikeCommand.register_subcommand(lowerCamelCase_					)
    LfsCommands.register_subcommand(lowerCamelCase_					)
    PTtoTFCommand.register_subcommand(lowerCamelCase_					)

    # Let's go
    _lowercase			:				Any 						=						parser.parse_args()

    if not hasattr(lowerCamelCase_				,					'func'					):
        parser.print_help()
        exit(1					)

    # Run
    _lowercase			:				Optional[int] 						=						args.func(lowerCamelCase_					)
    service.run()


if __name__ == "__main__":
 main()


