# pathspec — card for AI agents

Utility for gitignore-style pattern matching of file paths.

Category: Utilities · PyPI package `pathspec` · latest version 1.1.1 (checked 2026-11-01)
Install: `pip install pathspec`
License: MPL-2.0 (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Warnings
- The package says MPL-2.0 but the repository says MIT.

## Numbers (AgentGid data)
- Gid Score: 59.9 (#1035 of all tools, 120 of 408 in its category)
- Used in 28 public projects set up for AI coding agents (0.4%)
- Downloads last week: 154,208,488 (as of 2026-11-24), +11.6% over 4 weeks
- GitHub stars: 239 (as of 2026-11-24)
- Last push: 2026-11-11

## Often used with
Pydantic 78.6%, Click 71.4%, Model Context Protocol SDK (Python) 67.9%, Requests 67.9%, packaging 64.3%, pytest 60.7%

## Links
- AgentGid page: https://agentgid.com/tools/pathspec/
- Repository: https://github.com/cpburnz/python-pathspec

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
