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 details)

Uploaded Source

File details

Details for the file RandString-1.0.2.tar.gz.

File metadata

  • Download URL: RandString-1.0.2.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for RandString-1.0.2.tar.gz
Algorithm Hash digest
SHA256 27d85fe52310f1b19b5dbe1573e42bb703395b1c34a468e239d78c3521ddd675
MD5 750c560a3640443497ff8c109c86c941
BLAKE2b-256 e182edf8f5434384344701c04dc83773c574c489a640ce134334933662e189fa

See more details on using hashes here.

Supported by

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