




"""simple docstring"""



import math

from numpy import inf
from scipy.integrate import quad







def   _SCREAMING_SNAKE_CASE       (							lowercase_						)						->		float:
 if num <= 0:
  raise ValueError("math domain error"						)

 return quad(lowercase_      ,			0      ,			lowercase_      ,			args=(lowercase_)						)[0]







def   _SCREAMING_SNAKE_CASE       (							lowercase_      ,			lowercase_						)						->		float:
 return math.pow(lowercase_      ,			z - 1						) * math.exp(-x						)


if __name__ == "__main__":
      from doctest import testmod

      testmod()











"""simple docstring"""



from argparse import ArgumentParser

from .env import EnvironmentCommand







def   _SCREAMING_SNAKE_CASE       (							)						->		List[Any]:
 A__	=    ArgumentParser("Diffusers CLI tool"      ,			usage="diffusers-cli <command> [<args>]"						)
 A__	=    parser.add_subparsers(help="diffusers-cli command helpers"						)

 # Register commands
 EnvironmentCommand.register_subcommand(lowercase_						)

 # Let's go
 A__	=    parser.parse_args()

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

 # Run
 A__	=    args.func(lowercase_						)
 service.run()


if __name__ == "__main__":
      main()





