Skip to content

ngsnethawarya/random-password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Random Password Generator

A simple command-line tool to generate secure random passwords using Python.
Supports adjustable length, multiple password generation, and includes input validation.


Features

  • Generate one or more passwords
  • Adjustable password length (--length)
  • Adjustable number of passwords (--number)
  • Input validation (no negative or zero lengths)
  • Uses letters, digits, and punctuation
  • Clean argparse-based command-line interface

Usage

Generate a password with the default length (12 characters)

python password_generator.py

Generate a password of custom length

python password_generator.py --length 16

Generate multiple passwords at once

python password_generator.py --length 20 --number 5

Help menu

python password_generator.py --help

Example Output

kH7!sP2@Gm#4
u1@Pk9$DqT%N

Requirements

  • Python 3.7+

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages