Skip to main content

RegexSolver Python API Client

This repository contains the source code of the Python library for RegexSolver API.

RegexSolver is a powerful regular expression manipulation toolkit, that gives you the power to manipulate regex as if they were sets.

Installation

pip install --upgrade regexsolver

Requirements

  • Python >=3.7

Usage

In order to use the library you need to generate an API Token on our Developer Console.

from regexsolver import RegexSolver, Term

RegexSolver.initialize("YOUR TOKEN HERE")

term1 = Term.regex(r"(abc|de|fg){2,}")
term2 = Term.regex(r"de.*")
term3 = Term.regex(r".*abc")

term4 = Term.regex(r".+(abc|de).+")

result = term1.intersection(term2, term3)\
              .subtraction(term4)

print(result)

Metadata

Release files for regexsolver 1.0.0

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

Source distribution (sdist)

Source distribution for regexsolver 1.0.0
File Size Uploaded
regexsolver-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / regexsolver-1.0.0.tar.gz

Download URL regexsolver-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2107d710536c02cd72946dad76055afad43b660cfdee9ec2d754169175995050
BLAKE2b-256 checksum
How to use checksums
4d42ac09dd049f513305249ac582facdd30a8023cc3c5a31b145cbedd8155948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / regexsolver-1.0.0-py3-none-any.whl

Download URL regexsolver-1.0.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb8e48a1bb57e106ec6227373f92d8a60576a290fb8b9a1d971830c695a10937
BLAKE2b-256 checksum
How to use checksums
709801016d69d78184f1ae0a1181fe08a6955b2d3f8af89055f16becfcf179ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

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