Skip to content

Bogdanp/watchdog_gevent

Repository files navigation

watchdog_gevent

Build Status PyPI version

watchdog_gevent is a gevent-based observer for watchdog.

Requirements

Setup

pip install watchdog_gevent

Usage

Just import and use its observer:

from watchdog_gevent import Observer

This will automatically import the best observer for the current platform, preferring a gevent-based observer if gevent is installed and the threading module has been monkeypatched. This library only works if the threading module has been monkeypatched.

Limitations

The package only works if you use gevent to monkeypatch the threading module. Additionally, file and directory events are not emitted.

License

watchdog_event is licensed under Apache 2.0. Please see license for licensing details.