Comparison
gitignore-parser vs igittigitt 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 3.5+
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install gitignore-parserA spec-compliant .gitignore parser and path filter, 100% git-compatible, with an include/whitelist mode and a streaming, memory-bounded CLI
Actively maintained. Last release today, commits in 16 of the last 26 weeks. A safe choice.
pip install igittigittUtility 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: 634.5M downloads a month, 213× more than gitignore-parser.
- Maintenance is comparable: igittigitt 85, pathspec 78, gitignore-parser 26 on Pythie’s Index.
- igittigitt is growing fastest: downloads +22% over the last month.
- Safe default for a new project: pathspec.
Side by side
| Metric | gitignore-parser | igittigitt | pathspec | py-walk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 85 |