{ "info": { "author": "Raj Kiran P", "author_email": "rajkiranjp@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n\n\n\n
\n

\n \n \"Logo\"\n \n

Regex Engine

\n

\n An awesome package to generate regex\n
\n Read Documentation\n
\n Report Bug\n \u00b7\n Request Feature\n

\n

\n\n\n\n\n## Table of Contents\n\n* [About the Project](#about-the-project)\n * [Coded With Language](#coded-with-language)\n* [Getting Started](#getting-started)\n * [Prerequisites](#prerequisites)\n * [Installation](#installation)\n* [Usage](#usage)\n* [Roadmap](#roadmap)\n* [Contributing](#contributing)\n* [License](#license)\n* [Contact](#contact)\n* [Acknowledgements](#acknowledgements)\n\n\n\n\n## About The Project\n\nGenerating regex can sometimes be complicated. That is why we are introducing this package to help you get things done.\n\nSupported functionalities : \n- Regex Generation for Numerical Range\n\n### What does each functionalities do?\n\n__1. Regex Generation for Numerical Range__ \n\nGenerate regex given a numerical range, So when given a new number between this range the regex will match.\n\n_Person who has motivated me to start this repository is listed in the acknowledgments._\n\n### Coded With Language\n* [Python 3.6](https://python.org)\n\n\n\n\n## Getting Started\n\nSimply install the package, import it in your python code and run the method needed.\nLook at the docstring or source code to understand what is happening. \n\n### Prerequisites\n\nPython 3.6 or greater\n\n\n### Installation\n\n```sh\npip install regex-engine\n```\n\n\n\n## Usage\n\n### 1. Regex Generation for Numerical Range\n\n__You get what you give :__ If given numbers are integers you get a regex that will only match with integer and if floating-point numbers are given it only match with floating-point number.\n\nSupports integer and floating-point numbers. It can even be a negative range.\n\n```python\nfrom regex_engine import generator\ngenerate = generator()\nregex1 = generate.numerical_range(5,89)\nregex2 = generate.numerical_range(81.78,250.23)\nregex3 = generate.numerical_range(-65,12)\n```\nExample regex generated for 25-53\n```\n^([3-4][0-9]|2[5-9]|5[0-3])$\n```\n\nThe regex might not be optimal but it will surely serve the purpose.\n\nThe problem of checking a number is within a range might have been simple if you didn't choose the regex path. \n`if a <= your_input_number <=b` would have simply solved the same problem.\n\nWe dedicate this method in the package to the people who are pursuing a different path or thinking out of the box.\n\n\n\n\n## Roadmap\n\nSee the [open issues](https://github.com/raj-kiran-p/regex_engine/issues) for a list of proposed features (and known issues).\n\n\n\n\n## Contributing\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\n\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\n## Contact\n\nRaj Kiran P - [@raj_kiran_p](http://www.twitter.com/raj_kiran_p) - rajkiranjp@gmail.com \nGitHub : [https://github.com/raj-kiran-p](https://github.com/raj-kiran-p) \nWebsite : [https://rajkiranp.com](https://rajkiranp.com)\n\n\n\n## Acknowledgements\n\n* [Ashwin Rajeev](https://github.com/ashwin-rajeev)\n\n\n\n\n\n[contributors-shield]: https://img.shields.io/github/contributors/raj-kiran-p/regex_engine?style=flat-square\n[contributors-url]: https://github.com/raj-kiran-p/regex_engine/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/raj-kiran-p/regex_engine?style=flat-square\n[forks-url]: https://github.com/raj-kiran-p/regex_engine/network/members\n[stars-shield]: https://img.shields.io/github/stars/raj-kiran-p/regex_engine?style=flat-square\n[stars-url]: https://github.com/raj-kiran-p/regex_engine/stargazers\n[issues-shield]: https://img.shields.io/github/issues/raj-kiran-p/regex_engine?style=flat-square\n[issues-url]: https://github.com/raj-kiran-p/regex_engine/issues\n[license-shield]: https://img.shields.io/github/license/raj-kiran-p/regex_engine?style=flat-square\n[license-url]: https://github.com/raj-kiran-p/regex_engine/blob/master/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555\n[linkedin-url]: https://linkedin.com/in/rajkiranjp\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/raj-kiran-p/regex_engine", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "regex-engine", "package_url": "https://pypi.org/project/regex-engine/", "platform": "", "project_url": "https://pypi.org/project/regex-engine/", "project_urls": { "Homepage": "https://github.com/raj-kiran-p/regex_engine" }, "release_url": "https://pypi.org/project/regex-engine/1.1.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Generate regex using python that can fit your needs", "version": "1.1.0" }, "last_serial": 5886565, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8b5ba20a6223f92cff5302e2c8635f46", "sha256": "d2f4bce23b84e8843eab863157e64980443fe345f056b270492c582f7fb6dd10" }, "downloads": -1, "filename": "regex_engine-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8b5ba20a6223f92cff5302e2c8635f46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6741, "upload_time": "2019-09-22T11:45:10", "url": "https://files.pythonhosted.org/packages/f0/00/7c4ad44950c9a0bd568cd97d558c650cae8ea8c21e7ba19fa0d0ea9aff77/regex_engine-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04d9c87e0a954e55b55e0e914dce7fd4", "sha256": "1d37076d85c661a68ed4b212816f4173d57867506866824b7ad295c91c427f8a" }, "downloads": -1, "filename": "regex_engine-0.1.0.tar.gz", "has_sig": false, "md5_digest": "04d9c87e0a954e55b55e0e914dce7fd4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6549, "upload_time": "2019-09-22T11:45:13", "url": "https://files.pythonhosted.org/packages/d0/00/4ce92cf15f047d87c63d1e101526098fa79e8505c398cc0e0da8b5289b65/regex_engine-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "fd3619fccaf71f409a1eef8ea760b97b", "sha256": "2bc8c5609db2beaa13b56d851be0d056366b0a623065035f83237c03d9c631ff" }, "downloads": -1, "filename": "regex_engine-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fd3619fccaf71f409a1eef8ea760b97b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6857, "upload_time": "2019-09-23T22:28:30", "url": "https://files.pythonhosted.org/packages/b1/ef/79ffb23c2e1136ac14c58460d819b82f7596e5ce065aca597f1e6ab9d3b5/regex_engine-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0d9e4b25fec48af5e2bf82461f520c87", "sha256": "0c937e97809edd38993cafbccb8d5197866fc3b0c05053b979172754235fe685" }, "downloads": -1, "filename": "regex_engine-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0d9e4b25fec48af5e2bf82461f520c87", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6955, "upload_time": "2019-09-23T22:28:32", "url": "https://files.pythonhosted.org/packages/03/a7/ccaf47d50cfacfab6ad837ee3951b0877d8b683ac89a6bfe27f099f90d64/regex_engine-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "9baff2eab19a963071adf4e9d5451d9b", "sha256": "662641f34122fcd2d60fe4f29b2861741888645c30c6dfd866f08adbe669c67d" }, "downloads": -1, "filename": "regex_engine-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9baff2eab19a963071adf4e9d5451d9b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6961, "upload_time": "2019-09-25T17:53:32", "url": "https://files.pythonhosted.org/packages/2a/b5/41bdb67b87e62c988401abf8a422d2d2036711209d0d9ec4a4d5bb546abc/regex_engine-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93224798a672619fcaefb441efcf918a", "sha256": "4094996c56711e1093ea4c0dbd119e9624b3102bb6b726fc7c5258c410370118" }, "downloads": -1, "filename": "regex_engine-1.1.0.tar.gz", "has_sig": false, "md5_digest": "93224798a672619fcaefb441efcf918a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 7066, "upload_time": "2019-09-25T17:53:37", "url": "https://files.pythonhosted.org/packages/96/67/fe975e6e2ed3cc6e4e495901d01d08293a6a29dad1d5a6c0ef9f90364c00/regex_engine-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9baff2eab19a963071adf4e9d5451d9b", "sha256": "662641f34122fcd2d60fe4f29b2861741888645c30c6dfd866f08adbe669c67d" }, "downloads": -1, "filename": "regex_engine-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9baff2eab19a963071adf4e9d5451d9b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6961, "upload_time": "2019-09-25T17:53:32", "url": "https://files.pythonhosted.org/packages/2a/b5/41bdb67b87e62c988401abf8a422d2d2036711209d0d9ec4a4d5bb546abc/regex_engine-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93224798a672619fcaefb441efcf918a", "sha256": "4094996c56711e1093ea4c0dbd119e9624b3102bb6b726fc7c5258c410370118" }, "downloads": -1, "filename": "regex_engine-1.1.0.tar.gz", "has_sig": false, "md5_digest": "93224798a672619fcaefb441efcf918a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 7066, "upload_time": "2019-09-25T17:53:37", "url": "https://files.pythonhosted.org/packages/96/67/fe975e6e2ed3cc6e4e495901d01d08293a6a29dad1d5a6c0ef9f90364c00/regex_engine-1.1.0.tar.gz" } ] }