Simple and custom random password generator for python
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install random-password-generatorRandom password Generator
A minimal and custom random password generator.
- No dependencies.
- Generate a simple password of default length 6-16.
- Generate a password with custom properties.
- Generate a password from given characters.
- Generate Non Duplicate Password.
- Available at https://random-pg.herokuapp.com/ (API and WEB versions are available @ https://github.com/suryasr007/rpg-web repo)
[NOTICE] API and WEB versions are now moved to https://github.com/suryasr007/rpg-web
Usage
- Install the package.
- Import the package.
- Create an instance
- Modify the default properties. (Optional)
- Generate the password (Default length of password 6-16 unless specified via properties).
pip install random-password-generator
from password_generator import PasswordGenerator
pwo = PasswordGenerator()
pwo.generate()
Configuration
| property | Description | Default |
|---|---|---|
| minlen | Minimum length of the password | 6 |
| maxlen | Maximum length of the password | 16 |
| minuchars | Minimum upper case characters required in password | 1 |
| minlchars | Minimum lower case characters required in password | 1 |
| minnumbers | Minimum numbers required in password | 1 |
| minschars | Minimum special characters in the password | 1 |
Update V2.2.0
Application is now minimal(No dependencies). The API and WEB version are moved to