def gen_password()

in src/main.py [0:0]


    def gen_password(digits: int = 20) -> str:
        chars = string.ascii_letters + string.digits
        while True:
            password = ''.join(
                secrets.choice(chars) for _ in range(digits))
            if (any(c.islower() for c in password)
                    and any(c.isupper() for c in password)
                    and sum(c.isdigit() for c in password) >= 3):
                break
        return password