skip to navigation
skip to content

watcher 0.2.1

FileSystemWatcher clone for CPython

watcher is a low-level C extension for receiving file system updates using the ReadDirectoryChangesW API on Windows systems.:

import watcher
w = watcher.Watcher(dir, callback)

The package also includes a high-level interface to emulate most of the .NET FileSystemWatcher API. The callback adding and removing mirrors how the same would be done on IronPython. Additionally, enabling and disabling of the callbacks is the same.:

import FileSystemWatcher
fsw = FileSystemWatcher("somedir")
fsw.NotifyFilter = FileSystemWatcher.NotifyFilters.FileName
fsw.Created += your_callback
fsw.EnableRaisingEvents = True

The project is still in progress. Development occurs at



  • 2.6 compatibility fixes from Jo Jurgens.


  • Support for Python 2 (only tested with 2.7). It probably works with older versions as well.
  • Support for bytes paths on Python 3.


  • Initial release, Python 3 only.
File Type Py Version Uploaded on Size
watcher-0.2.1.win32-py2.6.exe (md5) MS Windows installer 2.6 2011-02-25 205KB
watcher-0.2.1.win32-py2.7.exe (md5) MS Windows installer 2.7 2011-02-25 212KB
watcher-0.2.1.win32-py3.1.exe (md5) MS Windows installer 3.1 2011-02-25 205KB
watcher-0.2.1.win32-py3.2.exe (md5) MS Windows installer 3.2 2011-02-25 205KB (md5) Source 2011-02-25 12KB