Skip to main content

simpex

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.

Installation | wiki

To install simpex, use the following command:

pip install simpex

Usage | wiki

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:
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, for all available parameters)
# creating an onject named `email`
email = simpex(['test@mail.com', 'admin@email.com', 'example@mail.co'])

3. Calling Method

# 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.
  • 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.

      simpex

Metadata

Release files for simpex 1.0.2

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

Source distribution (sdist)

Source distribution for simpex 1.0.2
File Size Uploaded Provenance Actions
simpex-1.0.2.tar.gz 9.8 kB Without provenance Details for simpex-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 17.9 kB

Release files / simpex-1.0.2.tar.gz

Download URL simpex-1.0.2.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b73fcc200a58801cd3260d0ed70bd9db7bb4279807e7c82c5df097f65fdc50d5
BLAKE2b-256 checksum
How to use checksums
d0b167e1626fd57e7887ba62b3374f6c0c8901104603543bab10c238c2ff48ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / simpex-1.0.2-py3-none-any.whl

Download URL simpex-1.0.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b56a60a8c5aa8938a021ae872aefa86989fdb5a59beee6871981f8b19aa55ab
BLAKE2b-256 checksum
How to use checksums
10b48c6af9fb44d1d714da9098703164fc901c809fd2a6f86a238887666d3d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Security for simpex 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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