Skip to main content

A Python package for monitoring file system changes

Project description

Watcher

A Python package for monitoring file system changes.

Installation

pip install watcher-fs

Usage

from watcher_fs.watcher import Watcher, TriggerType


def on_change():
    print("File changed!")


watcher = Watcher()
watcher.register("path/to/watch", on_change, TriggerType.PER_FILE)
watcher.check()

Documentation

See https://pavelkrupala.github.io/fswatcher

Project details


Download files

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

Source Distribution

watcher_fs-1.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

watcher_fs-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file watcher_fs-1.0.0.tar.gz.

File metadata

  • Download URL: watcher_fs-1.0.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for watcher_fs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f30f7175688fcf4456e04e1ea5d7977301a62f381f879b2a1ee066df168639ff
MD5 a06986969227d85a933caa7f71d4ac22
BLAKE2b-256 67b9b0cc36c31c817debd32a8be633776f0225d8beb2ff0059f50656945eb8ce

See more details on using hashes here.

File details

Details for the file watcher_fs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: watcher_fs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for watcher_fs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb74cd73043b1b770ecbadd4926f4bbb9f7aa37f2136da0efc242957369f7a2
MD5 acb2054a5ab962fa7d6a087121307571
BLAKE2b-256 7beab128d1b97698e7a7403104b99a6eb9fa19a756a0665233eb8f5c10ef08ff

See more details on using hashes here.

Supported by

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