Concurrent, pipelined text and binary file searching via pure Python, cross-platform.
Project description
PyFindFiles
Find files (text or binary) containing text or patterns efficiently with Python, cross-platform. Default is to only search files smaller than 10 MBytes. Uses pipelining and asyncio to speed up operations.
Install
Normally install by
pip install pyfindfiles
for latest development code
git clone https://github.com/scivision/pyfindfiles
pip install -e pyfindfiles
Usage
findtext
looks for strings inside text or binary files, and reports filename text is found in.
-v
: filename, line number, and text found-t
: search for files newer than date, or between dates if two dates given.
findtext Pattern "*.ext" root
Pattern : text to search for
"*.ext" : file extension(s) to search for
root : top-level directory to search under
findvid
findvid root
looks under top-level directory root
for video files (by common file extensions)
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
Built Distribution
Hashes for pyfindfiles-1.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fce6a0cc1d5e257c103fa2dc67259f7718a73eca19055f96c890134e9fa1edc |
|
MD5 | 4f968e1207f117013d78b6d62a169c6e |
|
BLAKE2b-256 | a515630b23d2b6ae414bda8ab7797c23976021bcee9e5f942bb86a77dfe2ec46 |