Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pyinotify is a pure Python module used for monitoring filesystems events on Linux platforms with inotify.
tag: 0.9.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
python2
python3
.gitignore
ACKS
COPYING
ChangeLog_old
NEWS_old
README.md
setup.py

README.md

Pyinotify

Dependencies

  • Linux >= 2.6.13
  • Python (CPython) >= 2.4
  • Libc with inotify support (usually version >= 2.4 for GLibc)
  • ctypes (part of the standard library since Python 2.5)
  • Epydoc (optional, used to generate html documentation from docstrings)

Install

Install from the distributed tarball

# Choose your Python interpreter: either python, python2.6, python3.1,..
# Replacing XXX accordingly with your previous choice type:
$ sudo pythonXXX setup.py install

Or install it with "Easy Install" (currently seems to work only for Python2)

$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ sudo python ez_setup.py
$ sudo easy_install pyinotify

Watch a directory

Install pyinotify and run this command from a shell:

$ python -m pyinotify -v /my-dir-to-watch
Something went wrong with that request. Please try again.