Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python Directory Walker module

Project Description

dirwalker

dirwalker is a Python (2.6+/3.3+) package that walks multiple-level directories searching for files with the given extensions.

Requirements

  • Python standard os module

Usage

import dirwalker
# Search with recursing subdirectories
dirwalker.find_filenames_with_extensions(
    '/Users/me/dev/search_directory',
    ['txt', '.csv'])
# Search without recursing subdirectories
dirwalker.find_filenames_with_extensions(
    '/Users/me/dev/search_directory',
    ['txt', '.csv'],
    recurse=False)

Contributing

dirwalker is developed using Scott Chacon’s GitHub Flow. To contribute, fork dirwalker, create a feature branch, and then submit a pull request. GitHub Flow is summarized as:

  • Anything in the master branch is deployable
  • To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
  • Commit to that branch locally and regularly push your work to the same named branch on the server
  • When you need feedback or help, or you think the branch is ready for merging, open a pull request.
  • After someone else has reviewed and signed off on the feature, you can merge it into master.
  • Once it is merged and pushed to master, you can and should deploy immediately.

License

dirwalker is released under the MIT license. Please see the LICENSE.txt file for more information.

Release History

Release History

This version
History Node

0.5.0

History Node

0.4.1

History Node

0.4

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1.6

History Node

0.1.5

History Node

0.1.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dirwalker-0.5.0.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Aug 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting