Skip to main content

Contributors Forks Stargazers Issues MIT License


regexify

Utilities/containers for deploying regular expressions.

Table of Contents

About the Project

This package contains a few useful functions and classes for building/using regular expressions.

Getting Started

Prerequisites

  • Python 3.7+

Installation

Install using pip:

pip install regexify

Usage

See the test files for example usage.

Pattern Trie

Compile multiple terms into a single pattern.

import re
from regexify import PatternTrie

data = ['there', 'hi', 'python', 'pythons', 'hiya']
trie = PatternTrie(*data)
pat = re.compile(trie.pattern)

Versions

Uses SEMVER.

See https://github.com/dcronkite/regexify/releases.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License.

See LICENSE or https://dcronkite.mit-license.org for more information.

Contact

Please use the issue tracker.

Acknowledgements

Metadata

Release files for regexify 0.2.1

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

Source distribution (sdist)

Source distribution for regexify 0.2.1
File Size Uploaded
regexify-0.2.1.tar.gz 33.7 kB Details

Built distribution (wheel)

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

Total release size: 40.1 kB

Release files / regexify-0.2.1.tar.gz

Download URL regexify-0.2.1.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd11d0353adaceb8f3e94924e0bbb5293597675fdba9e855f597a5946ccef5c8
BLAKE2b-256 checksum
How to use checksums
b66f9878d80e07ed087c6aea6262f459cf61b2518dab1d0c0a463b01d0b1947f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / regexify-0.2.1-py3-none-any.whl

Download URL regexify-0.2.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4332ae48349d978cf0cc94f920c4ed9222d8f83cfd7ad09b088a11a5806422bc
BLAKE2b-256 checksum
How to use checksums
509a4bc5c236fd19e05e677bcfff8b753de3d41431eab8a5a1878c2de95615f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.2

2 release files

0.1.1

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