Skip to main content
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.

Metadata

Release files for xeger 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for xeger 0.4.0
File Interpreter ABI Platform
xeger-0.4.0-py3-none-any.whl Python 3 none any Details

Release files / xeger-0.4.0-py3-none-any.whl

Download URL xeger-0.4.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0f544faf45ac56a29af4e628bd1e6996334f090458d78a61581490df1aad252
BLAKE2b-256 checksum
How to use checksums
beb0b02945ca919affa9f2b282ef42a452681ece86925c4689c1dcbb5788ccf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page