A Lightning Fast ⚡ Rust-based regex crate wrapper for Python3 to get faster performance. 👾
Project description
flpc: Lightning-Fast Python Regex
🚀 Supercharge your Python regex with Rust-powered performance!
🌟 Why flpc?
Being in experimental stage. The code structure and dependencies may change. If your project is using this. You will have to manually configure the migrations to latest versions.
flpc is a powerful Python library that wraps the blazing-fast Rust regex crate, bringing enhanced speed to your regular expression operations. It's designed to be a drop-in replacement for Python's native re module, with some minor syntax differences.
🚀 Quick Start
-
Install flpc:
pip install flpc -
Use it in your code as shown in the API
🔧 API
flpc mirrors the re module's API, with a few small exceptions:
- Use
fmatch()instead ofmatch()(to avoid conflicts with Python's keyword) - When using
group()on a match object, always provide an index (e.g.,group(0)for the entire match)
Common functions include:
compile()search()findall()finditer()split()sub()subn()
💡 Pro Tips
- Pre-compile your patterns for faster execution
- Use raw strings (
r'') for cleaner regex patterns - Always check if a match is found before accessing groups
- Remember to use
group(0)to get the entire match
🤝 Contributing
We welcome contributions! Whether it's bug reports, feature requests, or code contributions, please feel free to reach out. Check our contribution guidelines to get started.
📄 License
flpc is open-source software licensed under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.14t, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66ab96ac26975c0aa3df7d45f0ddd70e3ec6d180eb1c6186bbcdb53e05455cca
|
|
| MD5 |
c6dd209ba596f58830c4a54381a75054
|
|
| BLAKE2b-256 |
0ccc22f333f2f876c2225c5fb283546dfdfa94f3f230364a82f59f612b608a7b
|
Provenance
The following attestation bundles were made for flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_x86_64.whl:
Publisher:
publish.yaml on RGarrido03/flpc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_x86_64.whl -
Subject digest:
66ab96ac26975c0aa3df7d45f0ddd70e3ec6d180eb1c6186bbcdb53e05455cca - Sigstore transparency entry: 693673034
- Sigstore integration time:
-
Permalink:
RGarrido03/flpc@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RGarrido03
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 993.4 kB
- Tags: CPython 3.14t, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efa0144e75b1948ee054db3c5ea88c294ca3c256b10023acbbdd786831f9f220
|
|
| MD5 |
e75dce780df0c547269595062a6a80e3
|
|
| BLAKE2b-256 |
3e77ab5a665af43263638bafb417f5615a8473d70f66e05b51c3342b39f4834f
|
Provenance
The following attestation bundles were made for flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_aarch64.whl:
Publisher:
publish.yaml on RGarrido03/flpc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flpc_v2-0.3.2-cp314-cp314t-manylinux_2_34_aarch64.whl -
Subject digest:
efa0144e75b1948ee054db3c5ea88c294ca3c256b10023acbbdd786831f9f220 - Sigstore transparency entry: 693673056
- Sigstore integration time:
-
Permalink:
RGarrido03/flpc@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RGarrido03
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file flpc_v2-0.3.2-cp314-cp314t-macosx_11_0_arm64.whl.
File metadata
- Download URL: flpc_v2-0.3.2-cp314-cp314t-macosx_11_0_arm64.whl
- Upload date:
- Size: 871.0 kB
- Tags: CPython 3.14t, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88f824f8d17ce6ffe3acf6591ff774a2eb420c3b4423be3771fdaa82b11e448d
|
|
| MD5 |
ad6028f000d33a339414fc2dbb249204
|
|
| BLAKE2b-256 |
144e8839e075984ad612ae0dfaa80f9331155643d1c725d98fa9585d710ff441
|
Provenance
The following attestation bundles were made for flpc_v2-0.3.2-cp314-cp314t-macosx_11_0_arm64.whl:
Publisher:
publish.yaml on RGarrido03/flpc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flpc_v2-0.3.2-cp314-cp314t-macosx_11_0_arm64.whl -
Subject digest:
88f824f8d17ce6ffe3acf6591ff774a2eb420c3b4423be3771fdaa82b11e448d - Sigstore transparency entry: 693673081
- Sigstore integration time:
-
Permalink:
RGarrido03/flpc@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RGarrido03
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ebc8221e9d4a10c0d3605556a5aee6ba2ef37ad1 -
Trigger Event:
push
-
Statement type: