zenpass
v1.0.5
ランダムで強力なパスワードを生成します。
pip install -U zenpass
usage: zenpass [options]
optional arguments:
-h, --help show this help message and exit
-v, --version show version number and exit.
to customize Password:
-l , --length to set length to the password
-n , --ignore to ignore unwanted characters to the password
-i , --include to include characters to the password
-o , --only to create password only using wanted characters
-s , --separator the separator character
-c , --seplen the length of characters between separator
--repeat to repeat the characters in the password (default : False)
--separation to separate password characters using separator (default : False)
--show to show password (default : False)
keywords: [alphabets, uppercase, lowercase, numbers, symbols]
can be given as input for following params: ignore, include, only
ランダムなパスワードを生成します。
from zenpass import PasswordGenerator
pg = PasswordGenerator ()
pg . generate ()ランダムなパスワードを生成します。
$ zenpass
Password copied to clipboard.
パスワードの長さを設定するには、デフォルトのパスワードの長さは8-16です。
$ zenpass -l 10 --show
Password: Q3m/vro|uR
Password copied to clipboard.
パスワードの文字が繰り返されるかどうかにかかわらず、 repeatのデフォルト値はFalseです。
$ zenpass -r --show
Password: 96Ndl;1D$jQu4Z2
Password copied to clipboard.
'alphabets' 、 'numbers' 、 'uppercase' 'lowercase' 」、 'symbols' 、 random charactersパスワードのみを含める、無視、または使用すること。
パスワードのnumbersを無視する。
$ zenpass -n numbers --show
Password: uyMXP‘$!ZSCYqzj
Password copied to clipboard.
文字a,b,c,d,eを無視する
$ zenpass -n abcde --show
Password: ~}t"R‘jF'ksG8~E
Password copied to clipboard.
special charactersのみを使用してパスワードを作成するには。
$ zenpass -o symbols -l 15 --show
Password: ?)".=-_^[_‘~{.)
Password copied to clipboard.
パスワードにa,b,c,d,e文字を含める。
$ zenpass -o numbers -i abcde -l 15 --show
Password: 78713d1e3d926a3
Password copied to clipboard.
セパレーターを使用してパスワード内の文字を分離します。
$ zenpass -o uppercase --separation -l 16 --show
Password: YNQC-RKBF-DMAT-UVIP
Password copied to clipboard.
セパレーター_を使用してパスワード内の文字を分離するには、各セパレーターの間に5文字があります。
$ zenpass -o uppercase --separation -l 15 -s _ -c 5 --show
Password: YNQCR_KBFDM_ATUVI
Password copied to clipboard.
問題が発生した場合は、詳細な説明とともに問題を提出してください。