Skip to main content

Do stuff on file change

Project description

Bigos - do stuff on file change

Use the on decorator to run tasks when matching files are modified:

from bigos import on, main

def non_dotfile_task(ev):
    print 'file event:', ev.path

if __name__ == '__main__':

Use the backend to get the raw event stream:

from bigos.backend import generate_events

for event_list in generate_events():
    print event_list


pip install bigos

Supported platforms

  • On modern Linux kernels bigos will use a ctypes inotify wrapper

  • Other systems are supported via a filesystem polling backend


Copyright (C) 2014 Paweł Stiasny

Bigos is released under the GNU General Public License, see COPYING for details.

Project details

Download files

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

Source Distribution

bigos-0.0.3.tar.gz (16.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page