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 script which creates random, secure passwords. Typical usage often looks like this:


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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page