Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Pattern Matching Python Packages

Python packages with the GitHub topic pattern-matching. Sorted by monthly downloads, with stars and forks.
G-Research
ahocorasick-rs

Check for multiple patterns in a single string at the same time: a fast Aho-Corasick algorithm for Python

1.5M 236 19
bitranox
igittigitt

Git-compatible .gitignore parser and path filter for Python: library and streaming CLI, include/whitelist mode, shutil.copytree filter, memory-bounded for millions of paths. Ships as a Claude Code plugin too.

333K 31 7
stumpy-dev
stumpy

STUMPY is a powerful and scalable Python library for modern time series analysis

311K 4K 377
santinic
pampy

Pampy: The Pattern Matching for Python you always dreamed of.

31K 4K 122
math-hiyoko
fm-index

fm-index library for Python

26K 4 0
tfeldmann
simplematch

Minimal, super readable string pattern matching for python.

26K 183 9
Lips7
matcher-py

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

26K 19 1
mahmoudimus
sigmaker

sigmaker is a zero-dependency IDA Pro 9.0+ cross-platform signature maker plugin with optional SIMD (e.g. AVX2/NEON/SSE2) speedups that works on MacOS/Linux/Windows. It allows configurable wildcard operand patterns, nibbles, and signature generation just by right clicking.

20K 233 17
pyxem
kikuchipy

Toolbox for analysis of electron backscatter diffraction (EBSD) patterns

10K 116 46
scravy
awesome-pattern-matching

Pattern Matching for Python 3.7+ in a simple, yet powerful, extensible manner.

10K 113 6
MaddyGuthridge
jestspectation

Pattern matching tools to test complex data structures.

5K 10 0
symbolica-dev
symbolica

Symbolica is a high-performance computer algebra library for Python and Rust. Manipulate large expressions, match patterns, and generate optimized numerical code — at unprecedented speed.

4K 1K 54
The-Billy-Company
irregex

A full toolkit for building any type of search engine.

4K 1 1
The-Billy-Company
gist-search

The fastest CLI and agent-first code search tool, built on indexed trigram search with aggressive literal-match optimizations

3K 2 1
wickra-lib
wickra-shazam

The data-driven history-fingerprint match core: build a Shazam from a spec, index an asset's history, match the current fingerprint against it.

3K 2 0
GateNLP
gatenlp

Python text processing, pattern matching, and NLP framework

3K 68 8
HPAC
matchpy

A library for pattern matching on symbolic expressions in Python.

3K 174 26
15r10nk
matchify

converts if-else code to match statements

2K 58 2
apiverve
apiverve-regextester

Regex Tester tests regular expressions against input strings across operations like match, search, replace, and split. It reports compilation validity, syntax error details, execution timing, and structural pattern analysis.

2K 0 0
vthib
boreal-python

Python bindings to the boreal YARA scanner

1K 69 8
prajwel
aafitrans

match coordinate lists

1K 5 1
egoughnour
code-firewall-mcp

A structural similarity-based code security filter for MCP (Model Context Protocol). Blocks dangerous code patterns before they reach execution tools by comparing code structure against a blacklist of known-bad patterns.

665 0 0
sopherapps
funml

A collection of utilities to help write python as though it were an ML-kind of functional language like OCaml

579 1 0
b-is-for-build
axon-api

Zero-dependency WSGI framework with request batching, multipart streaming, and HTTP range support. Built for applications that require high performance without the bloat.

518 7 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology