single |
Watchdog
========
|PyPI Version|
|PyPI Status|
|PyPI Python Versions|
|GitHub Build Status|
|GitHub License|
Python API and shell utilities to monitor file system events.
Works on 3.9+.
Example API Usage
-----------------
A simple program that uses watchdog to monitor directories specified
as command-line arguments and logs events generated:
.. :changelog:
Changelog
---------
6.0.0
~~~~~
2024-11-01 • [full history]
- Pin test dependecies.
- [docs] Add typing info to quick start. (`#1082
`__)
- [inotify] Use of ``select.poll() instead of deprecated select.select()``,
if available. (`#1078
`__)
- [inotify] Fix reading inotify file descriptor after closing it. (`#1081
`__)
- [utils] The stop_signal keyword-argument type of the AutoRestartTrick
class can now be either a ``signal.Signals or an int``.
- [utils] Added the ``__repr__() method to the Trick`` class.
- [utils] Removed the unused ``echo_class() function from the echo``
module.
- [utils] Removed the unused ``echo_instancemethod() function from the
echo`` module.
- [utils] Removed the unused ``echo_module() function from the echo``
module.
- [utils] Removed the unused ``is_class_private_name() function from the
echo`` module.
- [utils] Removed the unused ``is_classmethod() function from the echo``
module.
- [utils] Removed the unused ``ic_method(met() function from the echo``
module.
- [utils] Removed the unused ``method_name() function from the echo``
module.
- [utils] Removed the unused ``name() function from the echo`` module.
- [watchmedo] Fixed Mypy issues.
- [watchmedo] Added the ``__repr__() method to the HelpFormatter`` class.
- [watchmedo] Removed the ``--trace CLI argument from the watchmedo log``
command, useless since events are logged by default at the LoggerTrick
class level.
- [windows] Fixed Mypy issues.
- Thanks to our beloved contributors: @BoboTiG, @g-pichlern,
@ethan-vanderheijden, @nhairs
5.0.3
~~~~~
2024-09-27 • [full history]
- [inotify] Improve cleaning up Inotify threads, and add eventlet test
cases (`#1070 `__)
- Thanks to our beloved contributors: @BoboTiG, @ethan-vanderheijden
5.0.2
~~~~~
2024-09-03 • [full history]
- Enable OS specific Mypy checks (`#1064
`__)
- [watchmedo] Fix tricks argument type of ``schedule_tricks()`` (`#1063
`__)
- Thanks to our beloved contributors: @gnought, @BoboTiG
5.0.1
~~~~~
2024-09-02 • [full history]
- [kqueue] Fix ``TypeError: kqueue.control() only accepts positional
parameters`` (`#1062
`__)
- Thanks to our beloved contributors: @apoirier, @BoboTiG
5.0.0
~~~~~
2024-08-26 • [full history]
**Breaking Changes**
|