Skip to main content

Create a random string.

Project description

https://pypip.in/d/randstr/badge.png

Sometimes you just want a random string. For those times, there is randstr.

Usage

The default is a 7 character string composed of a-z0-9.

from randstr import randstr

print(randstr())

You can get a longer string by passing in a length argument.

randstr(19)
  • Free software: BSD license

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

randstr-0.1.2.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

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