New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simpex

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpex

`simpex` is a python library that simplifies the process of using regular expressions (regex).

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc