Skip to main content

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

Project description

PyFindFiles

ci

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 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


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.4.0.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file pyfindfiles-1.4.0.tar.gz.

File metadata

  • Download URL: pyfindfiles-1.4.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for pyfindfiles-1.4.0.tar.gz
Algorithm Hash digest
SHA256 f7a0dd5e4e4c081d77c6a3863f12a8090579404506b41dea53985d85f97e392c
MD5 24a329d0b38ebff79a4cccf73b507f9b
BLAKE2b-256 1df12ab1c997bd92e5e4c99e48a7261388b30beba3aa311314c5876f1f34dc1a

See more details on using hashes here.

Supported by

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