Disclaimer
Feel free to edit this page and add new examples or links to external pages with relevant examples/projects.
Pyinotify short examples
| File | Description |
| loop.py | Minimal example, should be read first |
| daemon.py | Simple example demonstrating how to daemonize pyinotify |
| chain.py | Show how to chain together several processing methods for the same event |
| exclude.py and exclude.patterns | Show how to exclude a list of file from being watched |
| not_quiet.py | Demonstrate how to raise Exceptions on errors instead of remaining silent |
| stats.py | Simple example for displaying statistics, but it is a pretext of using processing methods, using chaining and callback function on notifier.loop() |
| stats_threaded.py | Implement the same thing than stats.py but use a separate thread, this demonstrate how to use ThreadedNotifier |
| transient_file.py and transient_file.sh | Used for watching a transient file |
Various external projects using pyinotify
pylesystem
pylesystem is a Python API to the filesystem for offline access to metadata, written by Noah Gift.
openduckbill
openduckbill is a simple backup tool that supports filesystem monitoring and does data backup to local disk, NFS mount or remote ssh server using rsync.
Entertainer
Entertainer is a simple and easy-to-use media center solution for the Gnome and XFce desktop environments.