A Python module which provides a very thin layer binding to inotify API supporting both blocking and non-blocking operation.
While attempting to stay true to the C API, ladang sprinkles any Pythonic elements which make sense.
-
Create virtualenv environment (optional, requires virtualenv)
$ python virtualenv ENV $ cd ENV $ source bin/activate
-
Fork/clone ladang repository
$ git clone https://github.com/efaisal/ladang.git
-
Run setup.py
$ cd ladang $ python setup.py install
-
Take a look at files in examples directory.