# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-watchdog VERSION= 4.0.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Filesystem events monitoring (3.11) SDESC[v12]= Filesystem events monitoring (3.12) HOMEPAGE= https://github.com/gorakhargosh/watchdog CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/w/watchdog DISTFILE[1]= watchdog-4.0.0.tar.gz:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON DISTNAME= watchdog-4.0.0 GENERATED= yes [PY311].USES_ON= python:v11,sutools [PY312].USES_ON= python:v12,sutools [FILE:3397:descriptions/desc.single] Watchdog ======== |Build Status| |CirrusCI Status| Python API and shell utilities to monitor file system events. Works on 3.8+. Example API Usage ----------------- A simple program that uses watchdog to monitor directories specified as command-line arguments and logs events generated: .. :changelog: Changelog --------- 4.0.0 ~~~~~ 2024-02-06 • [full history] - Drop support for Python 3.7. - Add support for Python 3.12. - [snapshot] Add typing to dirsnapshot (`#1012 `__) - [snapshot] Added ``DirectorySnapshotDiff.ContextManager`` (`#1011 `__) - [events] FileSystemEvent, and subclasses, are now dataclasses, and their ``repr()`` has changed - [windows] WinAPINativeEvent is now a dataclass, and its ``repr()`` has changed - [events] Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler - [tests] Improve FileSystemEvent coverage - [watchmedo] Log all events in LoggerTrick - [windows] The ``observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY`` hack was removed. The constant will be kept to prevent breaking other softwares. - Thanks to our beloved contributors: @BoboTiG, @msabramo 3.0.0 ~~~~~ 2023-03-20 • [full history] - Drop support for Python 3.6. - watchdog is now PEP 561 compatible, and tested with mypy - Fix missing ``> in FileSystemEvent.__repr__()`` (`#980 `__) - [ci] Lots of improvements - [inotify] Return from ``InotifyEmitter.queue_events()`` if not launched when thread is inactive (`#963 `__) - [tests] Stability improvements - [utils] Remove handling of ``threading.Event.isSet`` spelling (`#962 `__) - [watchmedo] Fixed tricks YAML generation (`#965 `__) - Thanks to our beloved contributors: @kurtmckee, @altendky, @agroszer, @BoboTiG 2.3.1 ~~~~~ 2023-02-28 • [full history] - Run black on the entire source code - Bundle the ``requirements-tests.txt`` file in the source distribution (`#939 `__) - [watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (`#949 `__) - [watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick - Thanks to our beloved contributors: @BoboTiG 2.3.0 ~~~~~ 2023-02-23 • [full history] - [inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired (`#941 `__) - [watchmedo] Add optional event debouncing for ``auto-restart``, only restarting once if many events happen in quick succession (``--debounce-interval``) (`#940 `__) - [watchmedo] Exit gracefully on KeyboardInterrupt exception (Ctrl+C) (`#945 `__) - [watchmedo] Add option to not auto-restart the command after it exits (``--no-restart-on-command-exit``) (`#946 `__) - Thanks to our beloved contributors: @BoboTiG, @dstaple, @taleinat, @cernekj [FILE:100:distinfo] e3e7065cbdabe6183ab82199d7a4f6b3ba0a438c5a512a68559846ccb76a78ec 126415 watchdog-4.0.0.tar.gz