Skip to content

Monitoring filesystems events with inotify on Linux. Forked with changes to work on Python 3.12+

License

Notifications You must be signed in to change notification settings

shadeyg56/pyinotify-3.12

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyinotify, for Python 3.12+

This fork was created so that pyinotify can be used on Python 3.12 and up. As of Python 3.12, the asyncore libary and a few others were removed. Since this was really only included in pynotify for backwards compability, the asyncore functionality has been completely removed, since Python 3 has asyncio

Dependencies

  • Linux ≥ 2.6.13
  • Python ≥ 2.4 (including Python 3.x)

Install

Get the current stable version from PyPI and install it with pip

# To install pip follow http://www.pip-installer.org/en/latest/installing.html
$ sudo pip install pyinotify

Or install Pyinotify directly from source

# Choose your Python interpreter: either python, python2.7, python3.2,..
# Replacing XXX accordingly, type:
$ sudo pythonXXX setup.py install

Watch a directory

Install pyinotify and run this command from a shell:

$ python -m pyinotify -v /my-dir-to-watch

About

Monitoring filesystems events with inotify on Linux. Forked with changes to work on Python 3.12+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.6%
  • C 3.1%
  • Other 0.3%