Table of Contents
This is yet another FileWatcher. Developed to run smoothier, without sideffects and give more control to the developer in comparison to common packages for such purpose.
Features | EasyFileWatcher | Others (Watchdog etc.) |
---|---|---|
Schedule Start & End Time | ||
Pause & Resume | ||
By default runs in Background | ||
Configurable Polling Time | ||
Persist FileWatcher Tasks |
from easyfilewatcher.EasyFileWatcher import EasyFileWatcher
def print_msg(msg: str):
print(msg)
if __name__ == "__main__":
filewatcher = EasyFileWatcher()
filewatcher.add_directory_to_watch(directory_path="your\\directory",
directory_watcher_id="my_id", callback=print_msg,
callback_param={'msg': 'hi'}, event_on_deletion=False)
while(True):
pass
Python >=3.8
pip install EasyFileWatcher
The Documentation you can find here docs
ROADMAP
- Add Changelog
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Efstratios Pahis - @ltepTechnologies -
Project Link: https://github.com/efstratios97/EasyFileWatcher
LTEP Technologies UG (haftungsbeschränkt) www.ltep-technologies.com