Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Gitignore
✓ from gitmatch import Gitignore
✗ from gitmatch import GitMatch
Pattern
✓ from gitmatch import Pattern
Match
✓ from gitmatch import Match
Create a matcher from a list of patterns and test paths.
from gitmatch import GitMatch
patterns = ['*.pyc', '__pycache__/']
matcher = GitMatch(patterns)
print(matcher.matches('foo.pyc')) # True
print(matcher.matches('main.py')) # False
Upgrade
Version history
0.3.0latest on PyPI · released Dec 5, 2025
Audit
Dependencies
No dependency data recorded yet.