{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Provides Python bindings to the Oniguruma regex engine via CFFI, enabling pattern matching and searching with Oniguruma's regex features.","skillfed_tags":["regex-engine","cffi-binding","pattern-matching"],"use_cases":["Use it when you need Oniguruma's specific regex syntax or features not available in Python's built-in re module.","Use it to compile and reuse complex regex patterns for high-throughput string matching in text processing pipelines.","Use it to search multiple patterns simultaneously via RegSet for efficient multi-pattern matching.","Use it in syntax highlighters or code analysis tools that rely on Oniguruma's regex dialect.","Use it when integrating with systems or libraries that already use Oniguruma and need consistent regex behavior."],"what_it_does":"onigurumacffi is a thin CFFI wrapper around the Oniguruma regex engine, exposing its pattern matching and searching capabilities to Python. It lets you compile regex patterns and RegSets, then match or search strings with optional position offsets and search flags. The package provides match objects with group extraction, position tracking, and span information.\n\nThe API is intentionally minimal\u2014it covers core pattern compilation, matching, searching, and capture group access. It's useful when you need Oniguruma's regex dialect or features that Python's built-in re module doesn't offer, but it's not a drop-in replacement for the standard library. The package requires Python 3.10+ and depends only on cffi; wheels are available for most platforms, though source builds need libonig-dev.","worth_installing":"Yes, if you specifically need Oniguruma's regex features or dialect. The package is actively maintained, has no known vulnerabilities, and is permissively licensed. Install friction is moderate due to compiled bindings but wheels are available for common platforms. If you're looking for a general-purpose regex library, Python's built-in re module is simpler; install this only if Oniguruma's specific capabilities are required."},"id":"onigurumacffi","links":{"html":"https://skillfed.io/packages/onigurumacffi","md":"https://skillfed.io/packages/onigurumacffi.md","pypi":"https://pypi.org/project/onigurumacffi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-25","license_spdx":null,"license_treatment":"permissive","name":"onigurumacffi","python_support":"supports_current","summary":"python cffi bindings for the oniguruma regex engine"},"popularity":{"monthly_downloads":472834,"position":6473,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5.0"}
