Simple script with a GUI that generates pronounceable passwords and places them on the clipboard.
I always have to make passwords and answer security questions. This script makes it easy to create random text strings and paste them into forms.
Install psswrd as follows:
pip install psswrdUse psswrd as follows:
- Start the GUI.
- A random password will appear in the
Passwordfield. It will also be copied onto the clipboard. - If you like the password, press
Doneandpsswrdwill close. - If you don't like the password, press
Againand another password will appear and be copied onto the clipboard. - If there are restrictions on allowable passwords, you can specify a format in the
Templatefield using the following characters:lstands for a random lowercase letter froma-z.ustands for a random uppercase letter fromA-Z.mstands for a random mixed-case letter fromA-Za-z.dstands for a random digit from0-9.pstands for a random punctuation character from!@#$%&*+-=?;.- Any other character is copied directly into the password.
The letters A-Z are randomly selected such that they follow a probability distribution based on trigrams extracted from a corpus of text. So the strings of letters kind of look like words and are often pronounceable although it's not guaranteed.
The probability distribution of letter trigrams was generated from the text of the short story "Day of the Comet" found on Project Gutenberg.