/watchdog_gevent

A gevent-based observer for watchdog.

Primary LanguagePythonOtherNOASSERTION

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 move events are not emitted.

License

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