{"id":21532653,"url":"https://github.com/itsmeadarsh2008/flpc","last_synced_at":"2025-04-06T05:15:27.615Z","repository":{"id":244410937,"uuid":"815141203","full_name":"itsmeadarsh2008/flpc","owner":"itsmeadarsh2008","description":"A Rust-based regex crate wrapper for Python3 to get faster performance. 👾","archived":false,"fork":false,"pushed_at":"2024-07-09T12:18:01.000Z","size":38,"stargazers_count":120,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T04:08:30.208Z","etag":null,"topics":["maturin","performance","pyo3","python","python3","regex","regexp","rust"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flpc/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsmeadarsh2008.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"liberapay":"itsmeadarsh","buy_me_a_coffee":"itsmeadarsh"}},"created_at":"2024-06-14T12:46:08.000Z","updated_at":"2025-03-28T17:58:06.000Z","dependencies_parsed_at":"2025-01-11T05:11:26.519Z","dependency_job_id":"3652604d-b65d-4236-92bf-ed5f97b5e756","html_url":"https://github.com/itsmeadarsh2008/flpc","commit_stats":null,"previous_names":["itsmeadarsh2008/flpc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeadarsh2008%2Fflpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeadarsh2008%2Fflpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeadarsh2008%2Fflpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeadarsh2008%2Fflpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmeadarsh2008","download_url":"https://codeload.github.com/itsmeadarsh2008/flpc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436285,"owners_count":20938533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["maturin","performance","pyo3","python","python3","regex","regexp","rust"],"created_at":"2024-11-24T02:21:21.609Z","updated_at":"2025-04-06T05:15:27.497Z","avatar_url":"https://github.com/itsmeadarsh2008.png","language":"Python","funding_links":["https://liberapay.com/itsmeadarsh","https://buymeacoffee.com/itsmeadarsh"],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\r\n  \u003cimg src=\"https://svgshare.com/i/17F2.svg\" height=\"300\" alt=\"flpc logo\"\u003e\r\n\r\n  # flpc: Lightning-Fast Python Regex\r\n\r\n  ![Star](https://img.shields.io/badge/Please%20Give%20A%20Star%20%E2%AD%90-30323D?style=flat-square)\r\n  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/flpc?style=flat-square)\r\n  ![GitHub Issues](https://img.shields.io/github/issues/itsmeadarsh2008/flpc?style=flat-square)\r\n  ![PyPI - Downloads](https://img.shields.io/pypi/dd/flpc?style=flat-square)\r\n  ![GitHub License](https://img.shields.io/github/license/itsmeadarsh2008/flpc?style=flat-square)\r\n  ![GitHub last commit](https://img.shields.io/github/last-commit/itsmeadarsh2008/flpc?display_timestamp=committer\u0026style=flat-square)\r\n\r\n\r\n\r\n  🚀 Supercharge your Python regex with Rust-powered performance!\r\n\u003c/div\u003e\r\n\r\n## 🌟 Why flpc?\r\nBeing 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.\r\n\r\nflpc is a powerful Python library that wraps the blazing-fast [Rust regex crate](https://crates.io/crates/regex), 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.\r\n\r\n## 🚀 Quick Start\r\n\r\n1. Install flpc:\r\n   ```\r\n   pip install flpc\r\n   ```\r\n\r\n2. Use it in your code as shown in the API\r\n\r\n## 🔧 API\r\n\r\nflpc mirrors the `re` module's API, with a few small exceptions:\r\n\r\n- Use `fmatch()` instead of `match()` (to avoid conflicts with Python's keyword)\r\n- When using `group()` on a match object, always provide an index (e.g., `group(0)` for the entire match)\r\n\r\nCommon functions include:\r\n\r\n- `compile()`\r\n- `search()`\r\n- `findall()`\r\n- `finditer()`\r\n- `split()`\r\n- `sub()`\r\n- `subn()`\r\n\r\n## 💡 Pro Tips\r\n\r\n- Pre-compile your patterns for faster execution\r\n- Use raw strings (`r''`) for cleaner regex patterns\r\n- Always check if a match is found before accessing groups\r\n- Remember to use `group(0)` to get the entire match\r\n\r\n## 🤝 Contributing\r\n\r\nWe welcome contributions! Whether it's bug reports, feature requests, or code contributions, please feel free to reach out. Check our [contribution guidelines](CONTRIBUTING.md) to get started.\r\n\r\n## 📄 License\r\n\r\nflpc is open-source software licensed under the MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmeadarsh2008%2Fflpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmeadarsh2008%2Fflpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmeadarsh2008%2Fflpc/lists"}