fnmatch2

An improved Unix filename pattern matching


Keywords
fnmatch, pattern, path
License
MIT
Install
pip install fnmatch2==0.0.8

Documentation

fnmatch2

Build Status Coverage Status

An improved Unix filename pattern matching.

This library has created to include the Apache Ant wildcard support ('**') to Python fnmatch function.

Getting Started

Install the package:

$ pip install fnmatch2

Simple import and use on your code:

>>> from fnmatch2 import fnmatch2
>>> fnmatch2('images/logo.png', '**/*.png')
True