Skip to main content

Concurrent, pipelined text and binary file searching via pure Python, cross-platform.

Project description

PyFindFiles

Actions Status

pypi versions PyPi Download stats

Find files (text or binary) containing text or patterns efficiently with Python, cross-platform. Default is to only search files smaller than 100 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

cd pyfindfiles

python3 setup.py develop --user

Usage

findtext looks for strings inside text or binary files, and reports filename text is found in.

  • -v: filename, line number, and text found
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


Download files

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

Source Distribution

pyfindfiles-1.3.5.tar.gz (9.2 kB view hashes)

Uploaded Source

Supported by

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