[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#877017: ITP: python-rstr -- easily generate random strings of various types



Package: wnpp
Severity: wishlist
Owner: Ximin Luo <infinity0@debian.org>

* Package name : python-rstr
  Version         : 2.2.6
  Upstream Author : Brendan McCollam <bmccollam@leapfrogonline.com>
* URL             : https://bitbucket.org/leapfrogdevelopment/rstr/
* License         : BSD-3-Clause
  Programming Lang: Python
  Description     : Easily generate random strings of various types

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.


Reply to: