Skip to main content

This generator makes it easy to set up a new password

Project description

Password Generator

This generator makes it easy to set up a new password

It supports creating:

  • Passwords of any length.
  • Any type of character can be used
  • Strings with patterns can be used

This password generator contains numbers, lowercase letters, uppercase letters and special characters by default.

If you want to use a password that contains other types of characters or string patterns, please see the Table of Contents of Usage.

Compatibility

This password generator has been tested on Python 3.7, 3.8, 3.9 and 3.10.

Usage

CharacterType Variable

Name Description Type Default
candidate Character candidate list to be Generated. list Constructor
min Minimum length of list of characters to generate. int 1
max Maximum length of list of characters to generate. int 16
characters List of generated characters. list []

PasswordGenerator Variable

Name Description Type Default
types Character type map to be included in password. dict
{
"uppercase": CharacterType(list(string.ascii_uppercase)),
"lowercase": CharacterType(list(string.ascii_lowercase)),
"digits": CharacterType(list(string.digits)),
"special": CharacterType(list(set(string.punctuation)))
}
min Minimum length of list of password to generate. int 8
max Maximum length of list of password to generate. int 16

Requirements

Nothing.

Contributing

  • Code Static Analyzer (flake8) check should pass.
  • Annotations must be applied to password_generator.py and character_type.py.
  • Required to write test code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpgen-0.0.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

rpgen-0.0.2-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page