This project is a command-line password generator written in Python:
- Users run the script to output a randomly generated password.
-
Command-Line Password Generation
- Generates passwords directly from the terminal using a specified length.
-
Custom Password Length
- Users define the password length via a command-line argument.
-
Mixed Character Sets
- Passwords are generated using:
- Lowercase letters
- Uppercase letters
- Numbers
- Special symbols
-
Randomized Character Selection
- Each character in the password is randomly selected from one of the available character categories.
-
Colored Terminal Output
- Uses colorama to display:
- ASCII banner in color
- Password output highlighted for readability
- Clear visual separators
- Uses colorama to display:
-
ASCII Art Banner
- Displays a stylized ASCII header when the tool starts.
-
Input Validation
- Displays a syntax message if the password length is not provided.
-
Graceful Exit Handling
- Safely handles Ctrl + C interruptions and unexpected errors.
-
Lightweight & Fast
- Minimal dependencies and quick execution.
└── /
├── README.md
├── pass_generator.py
└── requirements.txtThis project requires the following dependencies:
- Programming Language: Python
- Package Manager: Pip
Build from the source and intsall dependencies:
-
Clone the repository:
❯ git clone https://github.com/JZBOSS3/password_generator.git
-
Navigate to the project directory:
❯ cd password_generator -
Install the dependencies:
❯ pip install -r requirements.txt
Run the project with:
python pass_generator.py