Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (39 loc) · 1.51 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.51 KB

py-xeger

String generator from Regular Expression

Build Status Code coverage Download PyPi MIT Py version PyPi version

To install, type:

$ pip install py-xeger

To use, type:

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

About

Code adapted and refactored from the Python library xeger in turn inspired by the Java library Xeger <http://code.google.com/p/xeger/>_.