Track the changes into the filesystem and trigger callback on changes detecting.
Project description
Tree Guardian
Track the changes into the filesystem and trigger callback on changes detecting.
Getting Started
Installation
pip install tree-guardian
Usage
Observe the changes into your project.
from tree_guardian import observe
# Target function to trigger
def cb():
from time import time
print('[{}] Changes detected...'.format(time()))
observe(cb) # Run observer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tree_guardian-0.1.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for tree_guardian-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ce746785d90fa8cdf303fc044f087ee6d318e4710cf7c23b47cd7c31df5fd4 |
|
MD5 | 9645104825ee14adfecc057814ebf412 |
|
BLAKE2b-256 | c5d20e3c5f71dff4684fbb594c2faa946a0b7bd6aa681761f9388b3b365a3740 |