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 psswrd
Use psswrd
as follows:
- Start the GUI.
- A random password will appear in the
Password
field. It will also be copied onto the clipboard. - If you like the password, press
Done
andpsswrd
will close. - If you don't like the password, press
Again
and another password will appear and be copied onto the clipboard. - If there are restrictions on allowable passwords, you can specify a format in the
Template
field using the following characters:l
stands for a random lowercase letter froma-z
.u
stands for a random uppercase letter fromA-Z
.m
stands for a random mixed-case letter fromA-Za-z
.d
stands for a random digit from0-9
.p
stands 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.