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.

Files for RandString, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size RandString-1.0.2.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page