Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

FileSystemWatcher clone for CPython

Project description

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.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
watcher-0.2.1.win32-py2.6.exe (210.6 kB) Copy SHA256 hash SHA256 Windows Installer 2.6 Feb 25, 2011
watcher-0.2.1.win32-py2.7.exe (217.8 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Feb 25, 2011
watcher-0.2.1.win32-py3.1.exe (210.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.1 Feb 25, 2011
watcher-0.2.1.win32-py3.2.exe (210.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.2 Feb 25, 2011 (13.1 kB) Copy SHA256 hash SHA256 Source None Feb 25, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page