Skip to content
crdoconnorPublic

About

Library to generate random strings from regular expressions.

Topics

Resources

Stars

137 stars

Watchers

4 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

https://travis-ci.org/crdoconnor/xeger.svg?branch=master

Xeger

Library to generate random strings from regular expressions.

To install, type:

pip install xeger

To use, type:

>>> from xeger import Xeger
>>> x = Xeger(limit=10)  # default limit = 10
>>> x.xeger("/json/([0-9]+)")
u'/json/15062213'

About

Code adapted and refactored from the Python library rstr by Leapfrog Online (now iProspect), in turn inspired by the Java library Xeger.

About

Library to generate random strings from regular expressions.

Topics

Resources

Stars

137 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages