rstr is a helper module for easily generating random strings of various
types. It could be useful for fuzz testing, generating dummy data, or
other applications. It has no dependencies outside the standard library,
and is compatible with Python 3.
.
The basic method of rstr is rstr(). At a minimum, it requires one
argument, an alphabet of characters from which to create a string.
.
Inspired by the Java library of the same name, the xeger() method allows
users to create a random string from a regular expression.
.
You can combine rstr with Python's built-in string formatting to produce
strings that fit a variety of templates.
.
This package installs the library for Python 3.
Installed Size: 41.0 kB
Architectures: all