Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Password Generator

A simple, user-friendly password generator built with Python and Tkinter. This app creates secure random passwords using cryptographically strong randomness from the secrets module. Users can customize which character types to include and easily copy the generated password to their clipboard.

Features

  • GUI built with Tkinter
  • Adjustable password length (8 to 32 characters)
  • Options to include:
    • Lowercase letters
    • Uppercase letters
    • Digits
    • Special characters
  • Secure random generation using secrets.choice
  • One-click copy to clipboard
  • Input validation and helpful warnings

Requirements

  • Python 3.8+
  • Tkinter

How to Run

  1. Clone or download the repository.
  2. Run the script using Python:
python password_generator.py
  1. The application window will launch. Choose your options and click Generate Password.

File Structure

password-generator/
│
├── password_generator.py    # Main application script
├── README.md                # Documentation
└── LICENSE                  # MIT license

How It Works

  • User selects the desired password length and character types.
  • The app builds a character pool based on these selections.
  • A password is generated using secrets.choice for strong randomness.
  • The result is displayed in a read-only field.
  • Clicking Copy to Clipboard places the generated password in the system clipboard.

Screenshots

alt text

Notes

  • At least one character type must be selected.
  • Password length must be a valid integer greater than zero.
  • This tool focuses on secure generation, but safe password storage is still up to the user.

About

A simple, user-friendly password generator built with Python and Tkinter.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages