Skip to main content

A cryptographically random and secure random password generator

Project description

Random Password Generator

A cryptographically random and secure password generator which relies only on the standard python library

Installation

python3 -m pip install busie-random-password-generator

Usage

from random_password_generator import generate_random_password

# password with default options (at least one upper, lower, special, and number character. 8 ≤ length ≤ 25)
password = generate_random_password()

# password of specified minimum length. must be between 8 and 25
password = generate_random_password(length=15)

# password without special characters
password = generate_random_password(special=False)

# password without capital letters
password = generate_random_password(uppercase=False)

#password without lowercase letters
password = generate_random_password(lowercase=False)

# password without numbers
password = generate_random_password(numbers=False)

Can also be run using python3 -m generate_random_password

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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