a
    €AWer  ã                   @   s:   d dl Z d dlZdd„ Zeƒ Zg d¢Zedkr6eeƒ dS )é    Nc                     s2   t jt j t j ‰ d ‡ fdd„tdƒD ƒ¡} | S )NÚ c                 3   s   | ]}t  ˆ ¡V  qd S )N)ÚsecretsÚchoice)Ú.0Ú_©Zalphabet© ú$/app/app/utils/password_generator.pyÚ	<genexpr>   ó    z+generate_strong_password.<locals>.<genexpr>é   )ÚstringÚascii_lettersÚdigitsÚpunctuationÚjoinÚrange)Zstrong_passwordr   r   r	   Úgenerate_strong_password   s    r   )ZPassword123Z123456ÚpasswordZqwertyZ	123456789Ú__main__)r   r   r   Úexample_passwordZcommon_passwordsÚ__name__Úprintr   r   r   r	   Ú<module>   s   