Skip to main content

Tools to manipulate and filter os.walk() style iteration

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

walkdir is a simple set of iterator tools intended to make it easy to manipulate and filter the output of os.walk() in a way that is also easily applicable to any source iterator that produces data in the same format.

It offers tools such as:

  • glob-style filtering for file and directory names

  • depth limiting for directory recursion

  • flattening of output into simple sequences of path names

  • detection of symlink loops when following symlinks

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page