Python tool for finding files in a set of paths. Based on the Hike ruby gem
Project description
Crawl is a port of the Ruby gem Hike to Python. Crawl will scan through a list of given folders for a requested file. You can also configure it to just match any of a given list of extensions.
While Crawl does work at the basic level, it is not yet a complete port of Hike, as it doesn’t implement Hike’s index caching for speedier responses, although I do intend to add that.
Install
$ pip install crawl
Usage
import crawl trail = crawl.Crawl() trail.append_paths('lib','foo','bar') trail.append_extensions('js','py') trail.find('blah')
License
Copyright 2012 Will McKenzie
Crawl is licensed under the MIT License, please see the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Crawl-0.2.tar.gz
(2.7 kB
view hashes)