This is a simple passphrase generator.
It uses the long wordlist created by Joseph Bonneau for Electronic Frontier Foundation to assemble a passphrase according to the dice-based guidelines provided by EFF.
Important: Using this generator is not as secure as using physical dice.
I have absolutely no affiliation with EFF. But I do think they do important work well, and I hope you will consider donating to them.
pip install wordlist_passphrase_generator
From the command line:
wordlist-passphrase-generator
From package:
import wordlist_passphrase_generator
-
With prompt:
wordlist-passphrase-generator.passphrase()
-
Without prompt, where n is the number of words:
wordlist-passphrase-generator.get_passphrase(n)