PyFind
This module provides a simple tool to search a directory tree for files matching some criteria, in a way similar to GNU find.
It works both from command line and as a module.
A sample:
from pyfind import Search
# Finds all files greater than 1 MiB, created in the last 25 minutes,
# whose name ends in '.py' or '.pyc'
for found in Search('.', '-size +1m -a -cmin -25 -a ( -name *.py -or -name *.pyc )').find():
print (found)
Also, it provides some extension switches: -Xdate and -Xhour, to test date and times in a more user-friendly way (and better than -xnewerXY).
The code is given to the Public Domain.
Release files for pyfindtool 0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfindtool-0.14.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfindtool-0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / pyfindtool-0.14.tar.gz
| Download URL | pyfindtool-0.14.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3e2c90f0afbba8fd335cbccd1dded9dae2fcac75a6786aeade4a3f30f92ae42
|
|
BLAKE2b-256 checksum How to use checksums |
9ce7f1b4617b45a942ea04d7ebeae71a890107af9d995ad5e9ae556b602641f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / pyfindtool-0.14-py3-none-any.whl
| Download URL | pyfindtool-0.14-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54d92cbe1ba5791eedd2c0969fe4496f8c63148b80c10270bd26bcb5cb6d0f10
|
|
BLAKE2b-256 checksum How to use checksums |
1488977e4d862d1c73eedf23f291c2fcd28040857711c0bd1af9d413ac6006d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|