Library to generate random strings from regular expressions.
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]+)")
u'/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/>_.
Metadata
Release files for py-xeger 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_xeger-0.3.4.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_xeger-0.3.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.8 kB
Release files / py_xeger-0.3.4.tar.gz
| Download URL | py_xeger-0.3.4.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da116d1307d4fab2298824299aeae94db44468903b1e462a9a68358d38d4da8d
|
|
BLAKE2b-256 checksum How to use checksums |
e30a7e4eb4dbd6cf60acc011dc4bfa4e8076b461e4a7ccbe76fd1c950be644ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / py_xeger-0.3.4-py2.py3-none-any.whl
| Download URL | py_xeger-0.3.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
112983cf3547e95022d9d4a22d6f2156c336142a6c487ebcaf61a5faa653fe42
|
|
BLAKE2b-256 checksum How to use checksums |
3795d1ce75f24d6702b480588459b4d17c042377138b39579d8676fbf134e381
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|