Skip to main content

Cross-platform library to poll directories for added & removed files

Project description

  • Monitors a directory, watching for files that are added or removed.

  • Filters the list of files being watched by regex pattern matching.

  • Runs one function when files are added, another (potentially different) function when files are removed.

Releases

0.1, 2018-04-12 * Initial release

License

Copyright 2018 Joshua Burnett

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

directorywatcher-0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

directorywatcher-0.1-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file directorywatcher-0.1.tar.gz.

File metadata

File hashes

Hashes for directorywatcher-0.1.tar.gz
Algorithm Hash digest
SHA256 c9a4abb506f452b7c198557162e5974c7ed6077105b6b0ed6cd55111886edb4c
MD5 8e560b558630026f1768664013e3b7f1
BLAKE2b-256 14d5954530c7f38511e9dcbe856af43cd052068f52c06d1bc3113129afc89a42

See more details on using hashes here.

File details

Details for the file directorywatcher-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for directorywatcher-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a86fbad8ec8ca0dc7ea0a875854c93c1c8f924ed6d52fcb6482ac05fba0dd65
MD5 f2772a76c5669e6f77db77f8b3786070
BLAKE2b-256 95a0a404f15ed2926b03e0c36ceefd51ae808fc10cbad746452c9e957937d917

See more details on using hashes here.

Supported by

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