Skip to main content

Python3 module for generating randomized strings

Project description

RandString handles the generation of random string values. It’s main purpose is for the passgen.py script which creates random, secure passwords. Typical usage often looks like this:

#!/usr/bin/python3.2

from randstring import StringGenerator
import sys

length = sys.argv[1]
generator = StringGenerator()
rand_str = generator.create_string( length, string_type='alphabetic' )
...

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

RandString-1.0.2.tar.gz (13.6 kB view hashes)

Uploaded Source

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