https://github.com/bogdanp/watchdog_gevent
A gevent-based observer for watchdog.
https://github.com/bogdanp/watchdog_gevent
fsevents gevent inotify libev python
Last synced: 7 months ago
JSON representation
A gevent-based observer for watchdog.
- Host: GitHub
- URL: https://github.com/bogdanp/watchdog_gevent
- Owner: Bogdanp
- License: other
- Created: 2017-12-08T19:12:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T06:04:23.000Z (12 months ago)
- Last Synced: 2025-03-17T06:38:39.986Z (7 months ago)
- Topics: fsevents, gevent, inotify, libev, python
- Language: Python
- Size: 24.4 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# watchdog_gevent
[](https://travis-ci.org/Bogdanp/watchdog_gevent)
[](https://badge.fury.io/py/watchdog-gevent)**watchdog_gevent** is a [gevent]-based observer for [watchdog].
## Requirements
* [gevent] 1.1+
* [watchdog] 0.8+## Setup
pip install watchdog_gevent
## Usage
Just import and use its observer:
``` python
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.[gevent]: http://www.gevent.org/
[watchdog]: http://pythonhosted.org/watchdog/
[pipenv]: https://docs.pipenv.org
[license]: https://github.com/Bogdanp/watchdog_gevent/blob/master/LICENSE