xeg

xeger

Library to generate random strings from regular expressions.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

82

Maintenance

Last Commit

1yr ago

Contributors

9

Package

Dependencies

0

License

BSD

Categories

Readme

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

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 <https://github.com/leapfrogonline/rstr> (now iProspect), in turn inspired by the Java library Xeger <http://code.google.com/p/xeger/>.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial