Small python script to generate random passwords.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Felix Pankratz 517fcca08a argparser, make it possible to generate non-confusable passwords 1 year ago
README.md init 1 year ago
pw.bat init 1 year ago
pw.py argparser, make it possible to generate non-confusable passwords 1 year ago
requirements-windows.txt req 1 year ago

README.md

password generate

Generate random passwords. Password is written to stdout and copied to the windows clipboard.

Place both scripts somewhere in your %PATH% on Windows, then execute pw <num from the "Run" window.

Usage:

./pw.py <length of password>

e.g.

./pw.py 32

vim Shortcut

let pwcmd = 'cmd.exe /c "python C:\\Tools\\pw.py 10" |tr -d "\\n"|tr -d "\\r"'
:nmap <F8> "=system(pwcmd)<C-M>p
:imap <F8> <C-R>=system(pwcmd)<C-M>