![py-xeger](https://i.ibb.co/6tch0qk/py-xeger-3.png)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/magiskboy/py-xeger/ci.yml)
![Codecov](https://img.shields.io/codecov/c/github/magiskboy/py-xeger)
![GitHub](https://img.shields.io/github/license/magiskboy/py-xeger)
![PyPI](https://img.shields.io/pypi/v/py-xeger)
![PyPI - Downloads](https://img.shields.io/pypi/dd/py-xeger)
Library to generate random strings from regular expressions.
To install, type:
```bash
$ pip install py-xeger
```
To use, type:
```python
>>> 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](https://github.com/crdoconnor/xeger) in turn inspired by the Java library `Xeger <http://code.google.com/p/xeger/>`_.
Raw data
{
"_id": null,
"home_page": "",
"name": "py-xeger",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2",
"maintainer_email": "",
"keywords": "regular expressions regexp testing random generator",
"author": "",
"author_email": "Nguyen Khac Thanh <nguyenkhacthanh244@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e3/0a/7e4eb4dbd6cf60acc011dc4bfa4e8076b461e4a7ccbe76fd1c950be644ce/py_xeger-0.3.4.tar.gz",
"platform": null,
"description": "![py-xeger](https://i.ibb.co/6tch0qk/py-xeger-3.png)\n\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/magiskboy/py-xeger/ci.yml)\n![Codecov](https://img.shields.io/codecov/c/github/magiskboy/py-xeger)\n![GitHub](https://img.shields.io/github/license/magiskboy/py-xeger)\n![PyPI](https://img.shields.io/pypi/v/py-xeger)\n![PyPI - Downloads](https://img.shields.io/pypi/dd/py-xeger)\n\n\nLibrary to generate random strings from regular expressions.\n\nTo install, type:\n\n```bash\n$ pip install py-xeger\n```\n\n\nTo use, type:\n\n```python\n>>> from pyxeger import Xeger\n>>> x = Xeger(limit=10) # default limit = 10\n>>> x.xeger(\"/json/([0-9]+)\")\nu'/json/15062213'\n```\n\n\n## About\n\nCode adapted and refactored from the Python library [xeger](https://github.com/crdoconnor/xeger) in turn inspired by the Java library `Xeger <http://code.google.com/p/xeger/>`_.\n",
"bugtrack_url": null,
"license": "",
"summary": "String generator from Regex",
"version": "0.3.4",
"project_urls": null,
"split_keywords": [
"regular",
"expressions",
"regexp",
"testing",
"random",
"generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3795d1ce75f24d6702b480588459b4d17c042377138b39579d8676fbf134e381",
"md5": "34004ef446cb92b5d46a5cffdf3a9600",
"sha256": "112983cf3547e95022d9d4a22d6f2156c336142a6c487ebcaf61a5faa653fe42"
},
"downloads": -1,
"filename": "py_xeger-0.3.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "34004ef446cb92b5d46a5cffdf3a9600",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2",
"size": 4301,
"upload_time": "2023-07-02T02:46:23",
"upload_time_iso_8601": "2023-07-02T02:46:23.942143Z",
"url": "https://files.pythonhosted.org/packages/37/95/d1ce75f24d6702b480588459b4d17c042377138b39579d8676fbf134e381/py_xeger-0.3.4-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e30a7e4eb4dbd6cf60acc011dc4bfa4e8076b461e4a7ccbe76fd1c950be644ce",
"md5": "6affd1fe99dd362b8cf14f73c40bf4e1",
"sha256": "da116d1307d4fab2298824299aeae94db44468903b1e462a9a68358d38d4da8d"
},
"downloads": -1,
"filename": "py_xeger-0.3.4.tar.gz",
"has_sig": false,
"md5_digest": "6affd1fe99dd362b8cf14f73c40bf4e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2",
"size": 7449,
"upload_time": "2023-07-02T02:46:25",
"upload_time_iso_8601": "2023-07-02T02:46:25.285027Z",
"url": "https://files.pythonhosted.org/packages/e3/0a/7e4eb4dbd6cf60acc011dc4bfa4e8076b461e4a7ccbe76fd1c950be644ce/py_xeger-0.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-02 02:46:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "py-xeger"
}