Skip to main content

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

Project description

MIT License


Logo

EasyFileWatcher

The official API
Explore the docs »

View Demo - Report Bug - Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

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 Pooling Time
Persist FileWatcher Tasks

(back to top)

Built With

Python

(back to top)

Getting Started

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

Prerequisites

Python >=3.8

Installation

pip install EasyFileWatcher

(back to top)

Usage

The Documentation you can find here docs

(back to top)

ROADMAP

Roadmap

  • Add Changelog

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Efstratios Pahis - @ltepTechnologies -

Project Link: https://github.com/efstratios97/EasyFileWatcher

(back to top)

Acknowledgments

LTEP Technologies UG (haftungsbeschränkt) www.ltep-technologies.com

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EasyFileWatcher-0.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EasyFileWatcher-0.0.5-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file EasyFileWatcher-0.0.5.tar.gz.

File metadata

  • Download URL: EasyFileWatcher-0.0.5.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for EasyFileWatcher-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e15e55340e4954835f9b868fcd14dcd672b02b771b2976f754586c56a24584fe
MD5 a90b0568b427f2401a47e47b34c875f1
BLAKE2b-256 0b8bb3902c1cd24d4ef5997210c864ef0f0fbde9b0f3c7ab0cbdd504a47f4065

See more details on using hashes here.

File details

Details for the file EasyFileWatcher-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for EasyFileWatcher-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 869155363c10d1a0000bf21a6a88a1c762776ca0164550ec310532066ca8efc5
MD5 c3762df0bbf6d99b05267f3debe1d5ed
BLAKE2b-256 8246744d65a407c24acfc67f615a90b671058a38d61d75b54ca193a066336a4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page