Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
A Lightning Fast ⚡ Rust-based regex crate wrapper for Python3 to get faster performance. 👾
🚀 Supercharge your Python regex with Rust-powered performance!
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.
Install flpc:
pip install flpc
Use it in your code as shown in the API
flpc mirrors the re
module's API, with a few small exceptions:
fmatch()
instead of match()
(to avoid conflicts with Python's keyword)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()
r''
) for cleaner regex patternsgroup(0)
to get the entire matchWe 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.
flpc is open-source software licensed under the MIT license.
FAQs
A Lightning Fast ⚡ Rust-based regex crate wrapper for Python3 to get faster performance. 👾
We found that flpc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.