fsspy-1.0.2
توضیحات
Filesystem events watcher
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fsspy-1.0.2 |
| نام | fsspy |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Carlo Lobrano |
| ایمیل نویسنده | <c.lobrano@gmail.com> |
| آدرس صفحه اصلی | https://github.com/clobrano/spy |
| آدرس اینترنتی | https://pypi.org/project/fsspy/ |
| مجوز | - |

# spy
Filesystem events watcher in Python based on [Watchdog](https://duckduckgo.com/l/?uddg=https://pypi.org/project/watchdog/¬rut=duckduck_in)
# Usage
```
usage: Spy catches files changes and react with custom commands
[-h] [--watch-dir WATCH_DIR] [--recursive RECURSIVE]
[--on-create ON_CREATE] [--on-change ON_CHANGE] [--on-remove ON_REMOVE]
[--extensions EXTENSIONS] [--timeout TIMEOUT]
optional arguments:
-h, --help Show this help message and exit
--watch-dir WATCH_DIR, -w WATCH_DIR The directory to watch
--recursive RECURSIVE, -r RECURSIVE Whether to watch the subdirectories
--on-create ON_CREATE Command to execute when a file is created inside the directory
--on-change ON_CHANGE Command to execute on directory changes
--on-remove ON_REMOVE Command to execute when a file is deleted from the directory
--extensions EXTENSIONS Comma separated list of extension file to track
--timeout TIMEOUT Timeout in seconds for Spy to watch the directory (-1 is infinite)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | watchdog |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fsspy-1.0.2:
pip install fsspy-1.0.2.whl
نصب پکیج tar.gz fsspy-1.0.2:
pip install fsspy-1.0.2.tar.gz