Skip to main content

Efficiently find files and directories

Project description

This package provides similar functionality to the Unix find command, but in a pythonic fashion. A FsFinder object encapsulates a number of rules that define how to traverse a directory structure and try to match the paths along the way. The FsFinder.walk method takes one or more root paths to start from and generates a MatchResult object for any path it encounters that match its rules.

The package is built upon the scandir package which provides effiecient directroy listing and the ability to avoid unneeded ‘stat’ calls on the paths being generated.

Running Tests

You can run the tests with:

$ python test

Or if you already have the nose package installed you can use the nosetests command in the top level directory:

$ nosetests


You can install the .zip or .tar.gz package with the easy_install or pip commands.

Or you can uncompress the package and in the top level directory run:

$ python install

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fsfind-0.1.dev0-py2.py3-none-any.whl (7.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
fsfind-0.1.dev0.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page