Pyinotify system requirements
masterTo use pyinotify, ensure your environment meets the following requirements:
- OS: Linux ≥ 2.6.13
- Python: Python ≥ 2.4 (including Python 3.x)
repository·master·Indexed 25 days ago
https://github.com/seb-m/pyinotifyA Python wrapper for the Linux inotify kernel subsystem that allows developers to monitor filesystem events such as file creation, modification, or deletion. Requires Linux ≥ 2.6.13 and Python ≥ 2.4.
To use pyinotify, ensure your environment meets the following requirements:
You can install the current stable version of pyinotify from PyPI using pip.
$ sudo pip install pyinotifyTo install directly from the source code, use the setup.py script with your preferred Python interpreter (e.g., python, python2.7, python3.x). Replace XXX with your specific interpreter version.
$ sudo pythonXXX setup.py installAfter installing pyinotify, you can monitor a directory directly from your shell using the -m module flag. Use the -v flag for verbose output.
$ python -m pyinotify -v /my-dir-to-watch