Skip to content

AnukalpTejaswi/password_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Password Generator (Python)

A simple Python program that generates secure random passwords based on user-selected criteria such as length, letters, digits, and symbols.

This project is designed to practice Python fundamentals, user input handling, and working with built-in libraries like random and string.


πŸ“Œ About the Project

This password generator allows users to create a customized password by selecting:

  • Password length
  • Whether to include letters
  • Whether to include digits
  • Whether to include symbols

The program validates user input and ensures a password can always be generated safely.


πŸš€ Features

  • Generate random passwords of custom length
  • Choose character types (letters, numbers, symbols)
  • Input validation
  • Beginner-friendly Python implementation
  • CLI-based interaction

πŸ› οΈ Tech Stack

  • Python 3

  • Built-in libraries:

    • random
    • string

πŸ“‚ Project Structure

password-generator/
β”‚
β”œβ”€β”€ password_generator.py
└── README.md

▢️ How to Run

1. Clone the repository

git clone https://github.com/your-username/password-generator.git

2. Navigate to the project folder

cd password-generator

3. Run the program

python password_generator.py

πŸ’‘ Example

Enter password length: 10
Include letters? (y/n): y
Include digits? (y/n): y
Include symbols? (y/n): n

Generated Password: aT9kLm2QpR

🎯 Learning Goals

This project helps practice:

  • Python input/output
  • Conditional logic
  • Random value generation
  • String manipulation
  • Basic CLI program structure

✨ Future Improvements

  • Add password strength indicator
  • Save generated passwords to file
  • Add copy-to-clipboard feature

πŸ‘¨β€πŸ’» Author

Anukalp Tejaswi

About

A simple Python GUI-based password generator with user-defined criteria.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages