This release is a pre-release and may not be stable for production use.
This package provides similar functionality to the Unix find command, but in a pythonic fashion. A FsFinder object encapsulates a number of rules that define how to traverse a directory structure and try to match the paths along the way. The FsFinder.walk method takes one or more root paths to start from and generates a MatchResult object for any path it encounters that match its rules.
The package is built upon the scandir package which provides effiecient directroy listing and the ability to avoid unneeded ‘stat’ calls on the paths being generated.
Running Tests
You can run the tests with:
$ python setup.py test
Or if you already have the nose package installed you can use the nosetests command in the top level directory:
$ nosetests
Installing
You can install the .zip or .tar.gz package with the easy_install or pip commands.
Or you can uncompress the package and in the top level directory run:
$ python setup.py install
Release files for fsfind 0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fsfind-0.1.dev0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fsfind-0.1.dev0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / fsfind-0.1.dev0.tar.gz
| Download URL | fsfind-0.1.dev0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
796a1217807028c408f560a88ff7946ac8f7a17b85f4e4974aecc992c87e8117
|
|
BLAKE2b-256 checksum How to use checksums |
e72f3850dc8fd15bf3900034782a203d2a460ac0af0c99903c3e7f8cdc8916c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fsfind-0.1.dev0-py2.py3-none-any.whl
| Download URL | fsfind-0.1.dev0-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cb854a8cc03d95a63c8523870c004041ee275a6706fc4152a31550af69932d3b
|
|
BLAKE2b-256 checksum How to use checksums |
06e48a5593ec4268e9f0cdfe2e27c2ce21c5f705d607b601dae16bc0fca2f6a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |