Python module for watching filesystems changes
pyinotify is a Python module for watching filesystems changes. By its design
pyinotify can be used for any kind of fs monitoring.
pyinotify relies on a recent Linux Kernel feature (merged in kernel 2.6.13)
called inotify. inotify is an event-driven notifier, its notifications are
exported from kernel space to user space. The raw interface of inotify is
compounded of three system calls. pyinotify binds these system calls and
provides an implementation on top of them offering a generic and abstract way
to use inotify with Python. Pyinotify doesn't requires much detailed knowledge
of inotify. Moreover, it only needs few statements for initializing, watching,
handling (eventually trough a new separate thread), and processing events
notifications through subclassing. The only things to know is the path of items
to watch, the kind of events to monitor and the actions to execute on these
notifications.
Note: pyinotify requires Python 2.3 and above, and Linux 2.6.13 at least.
- Sources inherited from project SUSE:SLE-15:Update
-
Checkout Package
osc checkout SUSE:SLE-15-SP1:GA/python-pyinotify && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
pyinotify | 0000000035 35 Bytes | |
pyinotify-0.9.6.tar.gz | 0000060998 59.6 KB | |
python-pyinotify.changes | 0000002186 2.13 KB | |
python-pyinotify.spec | 0000003084 3.01 KB |
Latest Revision
osc copypac from project:openSUSE.org:SUSE:SLE-15:Update package:python-pyinotify revision:6354f8d1d7d8ba6c30e9b856b7f30fad
Comments 0