Pyinotify is a simple wrapper for the linux inotify mechanism.
inotify is a linux kernel feature available since 2.6.13. inotify makes it possible for applications to easily be notified of filesystem changes.
this package contains api documentation and examples.