






from argparse import ArgumentParser

from .env import EnvironmentCommand






def 	UpperCamelCase	(							):




     '''simple docstring'''






     __snake_case      :Dict 							=    ArgumentParser("""Diffusers CLI tool"""						,usage="""diffusers-cli <command> [<args>]"""	)
     __snake_case      :Optional[Any] 							=    parser.add_subparsers(help="""diffusers-cli command helpers"""	)

     # Register commands
     EnvironmentCommand.register_subcommand(snake_case__	)

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

     if not hasattr(snake_case__						,"""func"""	):
          parser.print_help()
          exit(1	)

     # Run
     __snake_case      :Union[str, Any] 							=    args.func(snake_case__	)
     service.run()


if __name__ == "__main__":
     main()










lowerCamelCase__       		=  8.3_1_4_4_5_9_8






def 	UpperCamelCase	(							snake_case__  : float						,snake_case__  : float	):




     '''simple docstring'''






     if temperature < 0:
          raise Exception("""Temperature cannot be less than 0 K"""	)
     if molar_mass <= 0:
          raise Exception("""Molar mass cannot be less than or equal to 0 kg/mol"""	)
     else:
          return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
     import doctest

     # run doctest
     doctest.testmod()

     # example
     lowerCamelCase__       		=  300
     lowerCamelCase__       		=  28
     lowerCamelCase__       		=  rms_speed_of_molecule(temperature, molar_mass)
     print(f'''Vrms of Nitrogen gas at 300 K is {vrms} m/s''')


