xeger

0.4.0last stable release 2 years ago
Complexity Score
Low
Open Issues
8
Dependent Projects
4
Weekly Downloadsglobal
7,358

License

  • BSD-3-Clause
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

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/>_.

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
3.50
Test Coverage
No Data
Follows Semver
No
Github Stars
106
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute xeger in your own private PyPI registry

pip install xeger
Processing...
Done

9 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.