Small python script to generate random passwords.
Go to file
2023-06-13 21:47:09 +02:00
pw.bat init 2023-06-13 15:13:35 +02:00
pw.py argparser, make it possible to generate non-confusable passwords 2023-06-13 21:47:09 +02:00
README.md init 2023-06-13 15:13:35 +02:00
requirements-windows.txt req 2023-06-13 21:05:28 +02:00

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>