Skip to main content

pytest

spy

Filesystem events watcher in Python based on Watchdog

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsspy-1.0.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsspy-1.0.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file fsspy-1.0.2.tar.gz.

File metadata

  • Download URL: fsspy-1.0.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for fsspy-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3e1f514f60b5aa8621b03bd955bee75132b97f89c290f5e9cd9d9c4966cdab0a
MD5 848da9588129f8b34d03d094ac8fc821
BLAKE2b-256 e959026ecde2f61abdfb832b1d093fda944771267e2cd72ac46729515e02602e

See more details on using hashes here.

File details

Details for the file fsspy-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: fsspy-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for fsspy-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 980486074679e16ea0dbd3769f0324bc55905bbc83f554df0cd11b84fac426fe
MD5 c3718c6cbb3968a9cf0dec6aeb7934f2
BLAKE2b-256 14640ed8481c304f9fff44ca004385408acddaaa15f094e3d87dd2498059690b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

Supported by

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