pathspec
JSON →pathspec is a utility library for gitignore-style pattern matching of file paths, implementing Git's wildmatch/gitignore specification. Current stable version is 1.0.4 (released 2025). The project is actively maintained by Caleb P. Burns and releases roughly a few times per year. It is a zero-dependency pure-Python library widely used by tools such as Black, pip, and Poetry for .gitignore-based file filtering.
Traffic · last 30 days stale · no recent hits
total hits 18
actors 4 distinct systems
last hit 15d ago AhrefsBot
top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
packagepypi.org/project/pathspec/ ↗
API endpoints
full doc /v1/registry/pathspec
install /v1/registry/pathspec/install
compatibility /v1/registry/pathspec/compatibility