Skip to main content

Python File Watcher

Project description


Keep track of what files change and when with this super easy to use package.


Install using pip:

$ pip install filewatch

Then create and register your observer:

from filewatch import ObserverBase, file_updated_subject, Watcher

class YourObserver(ObserverBase):
    def notify(self, *args, **kwargs):
        file_list = kwargs['file_list']
        print 'These files have been updated %s' % file_list

watcher = Watcher()

Then simply execute the file:

$ python

Now every time that a file is created / modified within your current working directory, the system will print to console which file was updated.

Project details

Download files

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

Files for filewatch, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size filewatch-0.1.3.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page