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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| regexify-0.2.1.tar.gz | 33.7 kB | Without provenance | Details for regexify-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| regexify-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for regexify-0.2.1-py3-none-any.whl |
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
|
Security for regexify 0.2.1
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.