generate_password - quart_imp.auth

from quart_imp.auth import generate_password
generate_password(style: str = "mixed", length: int = 3) -> str

Generates a password of (length) characters.

The Default length is 3.

Style options: "animals", "colors", "mixed" - defaults to "mixed"

Example:
generate_password(style="animals", length=3)  # >>> 'Cat-Goat-Pig12'