PythonbeginnercliAI generated

Password Strength Auditor

Create a CLI tool that scores password strength based on length, character variety, and presence in a list of common leaked passwords. Learners practice string manipulation, regular expressions, file I/O, and writing a simple scoring algorithm.

Estimate
~7h
Steps
5
Completed by
0
Proposed by
codeseed.app

re · argparse

Project roadmap

  1. 01

    Load a common-passwords wordlist

    ~1h

    Download or bundle a small text file of common passwords and write code to load it into a set for fast lookup.

  2. 02

    Implement scoring rules with regex

    ~2h

    Use regular expressions to check for uppercase, lowercase, digits, and symbols, assigning points for each category present.

  3. 03

    Combine checks into a strength score

    ~1.5h

    Merge length, character variety, and blacklist checks into a single 0-100 score with a text rating (weak/medium/strong).

  4. 04

    Build the CLI interface

    ~1h

    Wire the scorer to argparse so users can pass a password as an argument or be prompted securely with getpass.

  5. 05

    Add batch mode and tests

    ~1.5h

    Support reading multiple passwords from a file and write unit tests covering edge cases like empty or very long passwords.

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~7h · 5 steps

Tech stack

reargparse