A library for generating random strings from a valid regular expression.
Project description
Xeger
Library to generate random strings from regular expressions.
Use:
>>> import xeger >>> xeger.xeger("/json/([0-9]+)", limit=10) # default limit = 10 u'/json/15062213'
About
Code borrowed and cleaned up from [the python module rstr by Leap Frog Development](http://jpmens.net/2010/04/26/resty/), in turn inspired by the Java library [Xeger](http://code.google.com/p/xeger/).
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
xeger-0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
xeger-0.1.linux-x86_64.tar.gz
(1.2 kB
view hashes)