Generate strong random passwords with adjustable rules.
Difficulty: Beginner · Technology: Python
Features to build
- Length and character options
- Strength meter
- Copy to clipboard
- Command line or simple GUI
Step-by-step build plan
- Use Python secrets, not random, for generation
- Add length and character-set options
- Score strength with clear rules
- Add a copy button in a simple interface
- Write a few tests
The part most people find hard
Guaranteeing at least one of each chosen character type.
How to test it
Generate a thousand passwords and confirm the rules hold.
Suggested extensions
Add user accounts, better error handling, automated tests and a README with screenshots. Each extension is a new talking point in interviews.
How to describe it on your resume
Wrote a configurable secure password generator in Python.
Portfolio tip
Deploy it, link both the live version and the code, and write two paragraphs about what you learned and what you would improve.