Name | simpex JSON |
Version |
1.0.2
JSON |
| download |
home_page | |
Summary | `simpex` is a python library that simplifies the process of using regular expressions (regex). |
upload_time | 2023-08-13 06:48:34 |
maintainer | s41r4j |
docs_url | None |
author | s41r4j |
requires_python | >=3.7 |
license | MIT License Copyright (c) 2023 S41R4J Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
python
python3
regex
simpex
regular-expressions
s41r4j
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align=center>simpex</h1>
`simpex` is a python library that simplifies the process of using regular expressions (`regex`). It provides custom, built-in and api-based methods to generate regex patterns, making it easier for developers to match and manipulate text data. Whether you're working with emails, URLs, phone numbers, or other patterns, `simpex` has you covered.
#### _Features_:
- Simplify regex usage in Python.
- Generate regex patterns effortlessly.
- Access external APIs for regex generation.
- Choose from custom or built-in patterns.
<br>
## Installation | [wiki](../../wiki/installation)
To install `simpex`, use the following command:
```bash
pip install simpex
```
<br>
## Usage | [wiki](../../wiki/usage)
There are three steps between you and regex pattern you want! Follow below instatructions as _quick guide_, please chak out _[wiki]()_ for comprehensive usage with examples.
### 1. Importing
- Use the following import statement:
```python
from simpex.simpex import simpex
```
### 2. Creating Object
- `simpex` is a class, so we need to __create an object__ with required parametric data (check [wiki](../../wiki/usage#custom-method), for all available parameters)
```python
# creating an onject named `email`
email = simpex(['test@mail.com', 'admin@email.com', 'example@mail.co'])
```
### 3. Calling Method
- Call your desired method from [`custom*`](../../wiki/usage#custom-method), [`built-in`](../../wiki/usage#built-in-method) or [`api-based`](../../wiki/usage#api-method) to get regex pattern (check [wiki](../../wiki/usage#methods), for all avaliable methods)
```python
# calling custom method
pattern = email.regex()
```
> output: `print(pattern)` -> `^[a-z]+\@[a-z]+\.[a-z]*$`
`<br><br>`
## License & Contributing
- This is an __open source project__, licensed under the [MIT License](LICENSE).
- _All contributions are welcome!_
- To contribute to `simpex` project, fork the repository, make your changes, and submit a pull request.
- Be sure to follow our coding style and include tests for any new functionality.
- When submitting a pull request, please provide a clear description of your changes.
- Your contributions help improve the project for everyone.
<h1 align=center>simpex</h1>
Raw data
{
"_id": null,
"home_page": "",
"name": "simpex",
"maintainer": "s41r4j",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "python,python3,regex,simpex,regular-expressions,s41r4j",
"author": "s41r4j",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/d0/b1/67e1626fd57e7887ba62b3374f6c0c8901104603543bab10c238c2ff48ea/simpex-1.0.2.tar.gz",
"platform": null,
"description": "<h1 align=center>simpex</h1>\n\n`simpex` is a python library that simplifies the process of using regular expressions (`regex`). It provides custom, built-in and api-based methods to generate regex patterns, making it easier for developers to match and manipulate text data. Whether you're working with emails, URLs, phone numbers, or other patterns, `simpex` has you covered.\n\n#### _Features_:\n\n- Simplify regex usage in Python.\n- Generate regex patterns effortlessly.\n- Access external APIs for regex generation.\n- Choose from custom or built-in patterns.\n\n<br>\n\n## Installation | [wiki](../../wiki/installation)\n\nTo install `simpex`, use the following command:\n\n```bash\npip install simpex\n```\n\n<br>\n\n## Usage | [wiki](../../wiki/usage)\n\nThere are three steps between you and regex pattern you want! Follow below instatructions as _quick guide_, please chak out _[wiki]()_ for comprehensive usage with examples.\n\n### 1. Importing\n\n- Use the following import statement:\n\n```python\nfrom simpex.simpex import simpex\n```\n\n### 2. Creating Object\n\n- `simpex` is a class, so we need to __create an object__ with required parametric data (check [wiki](../../wiki/usage#custom-method), for all available parameters)\n\n```python\n# creating an onject named `email`\nemail = simpex(['test@mail.com', 'admin@email.com', 'example@mail.co'])\n```\n\n### 3. Calling Method\n\n- Call your desired method from [`custom*`](../../wiki/usage#custom-method), [`built-in`](../../wiki/usage#built-in-method) or [`api-based`](../../wiki/usage#api-method) to get regex pattern (check [wiki](../../wiki/usage#methods), for all avaliable methods)\n\n```python\n# calling custom method\npattern = email.regex()\n```\n\n> output: `print(pattern)` -> `^[a-z]+\\@[a-z]+\\.[a-z]*$`\n\n`<br><br>`\n\n## License & Contributing\n\n- This is an __open source project__, licensed under the [MIT License](LICENSE).\n- _All contributions are welcome!_\n - To contribute to `simpex` project, fork the repository, make your changes, and submit a pull request.\n - Be sure to follow our coding style and include tests for any new functionality.\n - When submitting a pull request, please provide a clear description of your changes.\n - Your contributions help improve the project for everyone.\n <h1 align=center>simpex</h1>\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2023 S41R4J Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "`simpex` is a python library that simplifies the process of using regular expressions (regex).",
"version": "1.0.2",
"project_urls": {
"Bug Tracker": "https://github.com/s41r4j/simpex/issues",
"Homepage": "https://github.com/s41r4j/simpex",
"Wiki": "https://github.com/s41r4j/simpex/wiki"
},
"split_keywords": [
"python",
"python3",
"regex",
"simpex",
"regular-expressions",
"s41r4j"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "10b48c6af9fb44d1d714da9098703164fc901c809fd2a6f86a238887666d3d6f",
"md5": "79c049d462d306929de9a5f41a4c8ea3",
"sha256": "8b56a60a8c5aa8938a021ae872aefa86989fdb5a59beee6871981f8b19aa55ab"
},
"downloads": -1,
"filename": "simpex-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "79c049d462d306929de9a5f41a4c8ea3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8156,
"upload_time": "2023-08-13T06:48:32",
"upload_time_iso_8601": "2023-08-13T06:48:32.823063Z",
"url": "https://files.pythonhosted.org/packages/10/b4/8c6af9fb44d1d714da9098703164fc901c809fd2a6f86a238887666d3d6f/simpex-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0b167e1626fd57e7887ba62b3374f6c0c8901104603543bab10c238c2ff48ea",
"md5": "3df26f3fade5a41296346b668fa0c43e",
"sha256": "b73fcc200a58801cd3260d0ed70bd9db7bb4279807e7c82c5df097f65fdc50d5"
},
"downloads": -1,
"filename": "simpex-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "3df26f3fade5a41296346b668fa0c43e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 9752,
"upload_time": "2023-08-13T06:48:34",
"upload_time_iso_8601": "2023-08-13T06:48:34.757819Z",
"url": "https://files.pythonhosted.org/packages/d0/b1/67e1626fd57e7887ba62b3374f6c0c8901104603543bab10c238c2ff48ea/simpex-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-13 06:48:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "s41r4j",
"github_project": "simpex",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "simpex"
}