aizazullahdurrani8 / python-password-generator

Python password generator that creates strong, customizable passwords. Choose length, include uppercase, lowercase, digits, symbols, and generate multiple passwords with ease.

Repository from Github https://github.comaizazullahdurrani8/python-password-generatorRepository from Github https://github.comaizazullahdurrani8/python-password-generator

Random Password Generator

A flexible Python tool for generating secure, random passwords tailored to user preferences.

Features

  • Customizable password length (default: 12 characters)
  • Generate multiple passwords in one run
  • Optionally include or exclude:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special symbols
  • Input validation to ensure at least one character type is selected

Requirements

  • Python 3 installed on your system.

Usage

Run the script from the command line:

python password_generator.py

Follow the interactive prompts to specify:

  1. Password length
  2. Number of passwords to generate
  3. Character types to include

The generated passwords will be displayed immediately.

Example

Random Password Generator
Enter password length (default 12): 16
How many passwords to generate? (default 1): 3
Include the following:
Uppercase letters? (y/n): y
Lowercase letters? (y/n): y
Digits? (y/n): y
Symbols? (y/n): n
Generated Password(s):
1. F9eXvLWcPTBnQdHA
2. JgUzoPmsvQWaLTDZ
3. WNdXHTbJFrAKpzvy

Notes:

  • If no character type is selected, the program will notify and terminate.
  • Passwords are generated using Python's built-in random module.

About

Python password generator that creates strong, customizable passwords. Choose length, include uppercase, lowercase, digits, symbols, and generate multiple passwords with ease.


Languages

Language:Python 100.0%