Comparison
pathspec vs py-walk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Utility 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
- 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).
- Safe default for a new project: pathspec.