How mathiasclb/generateur-mdp works
A small, single-file Tkinter password generator. The main workflow starts in the GUI, generates or transforms a password, then displays it and estimates its strength. The README also documents in-session history, clipboard copying, and reformulation. The source excerpt is partial, so links for unsampled display and history behavior follow the README’s description rather than inspected implementation details.
Main entry points: generateur_mdp.py Dictionary handler · liste_francais.txt French word list · liste_anglais.txt English word list
Components 17
Tkinter interface
- Mode controls
generateur_mdp.py - Random handler
generateur_mdp.py - Dictionary handler
generateur_mdp.py - Copy and reformulate
generateur_mdp.py
Password creation
- Random generation
generateur_mdp.py - Word-list loading
generateur_mdp.py - Length filtering
generateur_mdp.py - Character substitution
generateur_mdp.py - French word list
liste_francais.txt - English word list
liste_anglais.txt
Strength and results
- Strength analysis
generateur_mdp.py - Pattern penalties
generateur_mdp.py - Password and score
generateur_mdp.py - Session history
generateur_mdp.py
Other components
- User
- Python random
- System clipboard
Connections 21
- User → Mode controls: uses
- Mode controls → Random handler: dispatches
- Mode controls → Dictionary handler: dispatches
- Random handler → Random generation: generates
- Random generation → Python random: uses
- Dictionary handler → Word-list loading: loads
- Word-list loading → French word list: reads
- Word-list loading → English word list: reads
- Dictionary handler → Length filtering: selects
- Length filtering → Character substitution: passes word
- Dictionary handler → Character substitution: transforms entry
- Character substitution → Python random: uses
- Random handler → Password and score: displays password
- Dictionary handler → Password and score: displays password
- Password and score → Strength analysis: scores
- Strength analysis → Pattern penalties: applies penalties
- Password and score → Session history: records
- Copy and reformulate → System clipboard: copies
- Copy and reformulate → Character substitution: reformulates
- Copy and reformulate → Session history: reads selection
- Mode controls → Copy and reformulate: dispatches