- Python >= 3.9
tkinter
module
PS: Also requires a word list file where each word is on a new line. You can supply your own, or, on MacOS and Linux, use /usr/share/dict/words
.
- Open terminal and run
python3 -m pip install cybarpass
- Set a shell alias:
alias cybarpass="python3 -m cybarpass"
- Run according to the instructions below
- CLI mode: run
cybarpass
with optional parameter-n
- GUI mode: run
cybarpass -g
output of
cybarpass -h
usage: cybarpass [-h] [-n NUM] [-g] [WORD_LIST]
Generate a secure passphrase
positional arguments:
WORD_LIST Path to dictionary file
options:
-h, --help show this help message and exit
-n NUM, --len NUM Minimum length of passphrase
-g, --gui Run the program in GUI mode
NOTE: -n | --len has no effect in GUI mode
$ cybarpass -h
$ cybarpass
$ cybarpass -g
$ cybarpass -g /usr/share/dict/words
$ cybarpass /usr/share/dict/words
$ cybarpass /usr/share/dict/words -n 512
- Developing a Full Tkinter Object-Oriented Application on pythontutorial.net
- Tkinter Grid on pythontutorial.net
- Tkinter Open File Dialog on pythontutorial.net
- Tkinter – Read only Entry Widget on GeeksforGeeks
- tkinter — Python interface to Tcl/Tk on docs.python.org
- Packaging Python Projects on packaging.python.org
- The .pypirc file on packaging.python.org
- How to Create and Upload Your First Python Package to PyPI on freecodecamp.org