fsfind-0.1.dev0
توضیحات
Efficiently find files and directories
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fsfind-0.1.dev0 |
| نام | fsfind |
| نسخه کتابخانه | 0.1.dev0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brendan Moloney |
| ایمیل نویسنده | moloney.brendan@gmail.com |
| آدرس صفحه اصلی | https://github.com/moloney/fsfind |
| آدرس اینترنتی | https://pypi.org/project/fsfind/ |
| مجوز | MIT |
.. -*- rest -*-
.. vim:syntax=rest
======
fsfind
======
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
نحوه نصب
نصب پکیج whl fsfind-0.1.dev0:
pip install fsfind-0.1.dev0.whl
نصب پکیج tar.gz fsfind-0.1.dev0:
pip install fsfind-0.1.dev0.tar.gz