Registry / data / matcher-py

matcher-py

JSON →
library0.15.5pypypi✓ verified 80d ago

A high-performance matcher designed to solve LOGICAL and TEXT VARIATIONS problems in word matching, implemented in Rust. v0.15.5, actively maintained.

pip install matcher-py
INSTALL
IMPORT
SIG · MATCHER-PY
M
matcher-py
datapythonv0.15.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleMatcher
from matcher_py import SimpleMatcher
from matcher import Matcher
SimpleMatcherBuilder
from matcher_py import SimpleMatcherBuilder
ProcessType
from matcher_py import ProcessType

Basic usage: create a Matcher with a list of strings and call .match() to get matched patterns.

from matcher import Matcher # Initialize matcher with a list of patterns patterns = ["hello", "world", "python"] matcher = Matcher(patterns) # Match a single text result = matcher.match("hello world") print(result) # Output: ['hello', 'world']
Debug
Known issues
breakingIn v0.15.x the API changed: 'Matcher' constructor now expects a list of strings instead of previous dict/list-of-dicts.
fix
Upgrade code: replace old initialization with `Matcher([...])`.
affects: <0.15.0
gotchaPattern matching is case-sensitive by default. To enable case-insensitive matching, set `case_sensitive=False` when creating Matcher.
fix
Use `Matcher(patterns, case_sensitive=False)`.
affects: all
gotchaIf a pattern contains special regex characters (e.g., '.', '*'), they are treated as literal characters, not regex. This may cause unexpected no-match results.
fix
Escape special characters yourself or use raw strings to avoid confusion.
affects: all
Upgrade
Version history
0.15.5latest on PyPI · released Apr 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
matcher-py — pip install matcher-py · libregistry