Comparison
gitignorefile vs gitmatch vs pathspec vs py-walk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A spec-compliant `.gitignore` parser for Python
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install gitignorefileGitignore-style path matching
Maintained. Last release 12 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install gitmatchUtility library for gitignore style pattern matching of file paths.
Actively maintained. Last release 7 months ago, commits in 15 of the last 26 weeks. A safe choice.
pip install pathspecFilter filesystem paths based on gitignore-like patterns
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install py-walkIn short
- gitignorefile looks abandoned: avoid it for new projects.
- py-walk is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pathspec is the most used: 644.5M downloads a month, 332× more than py-walk.
- pathspec also has the best Pythie’s Index (78).
- gitmatch is growing fastest: downloads +19% over the last month.
- Safe default for a new project: pathspec.
Side by side
| Metric | gitignorefile | gitmatch | pathspec | py-walk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | Pythie’s Index: 48 | Pythie’s Index: 78 | Pythie’s Index: 22 |
| Verdict | Likely abandoned | Maintained | Actively maintained | Slowing down |
| Downloads / month | 108.3K | 80.6K | 644.5M | 1.9M |
| Downloads, month over month | +4% | +19% | +8% | -17% |
| GitHub stars | 11 | 4 | 239 | 9 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 14 | 5 | 1.7K | 9 |
| Last release | Sep 4, 2022 | Dec 5, 2025 | Apr 27, 2026 | Oct 26, 2024 |
| Releases, 12 months | 0 | 1 | 7 | 0 |
| Weeks with commits | 0 / 26 | 6 / 26 | 15 / 26 | 0 / 26 |
| Recent contributors | 9 | 1 | 19 | 2 |
| First release | Aug 2022 | Jul 2022 | Dec 2013 | Nov 2023 |
| Python versions | 3.6 – 3.12 | 3.10 – 3.14 | 3.9 – 3.14 | 3.7 – 3.12 |
| License | MIT | MIT | MPL-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.