fnmatch
Gitignore-style path matching
An exact Win32 wildcard matching algorithm implementation for Python