pathspec

Utility library for gitignore style pattern matching of file paths.

About pathspec

Utility library for gitignore style pattern matching of file paths.

Key Features

  • Matches file paths using gitignore-style patterns
  • Supports include and exclude filtering workflows
  • Provides reusable path specification objects
  • Common in linters, formatters, and code scanning tools

Installation

uv add pathspec

Related Tools

Quick Info

Latest Version
1.0.4
First Release
2013
License
Mozilla Public License 2.0 (MPL 2.0)

About pytools.dev

pytools.dev is your go-to directory for the best Python tools, libraries, and frameworks—designed for the modern Python developer.

© 2026 pytools.dev. All rights reserved.
Created with ❤️ by James Fricker