FILEWATCH
Keep track of what files change and when with this super easy to use package.
Installation
Install using pip:
$ pip install filewatch
Then create and register your observer:
# your_observer.py
from filewatch import ObserverBase, file_updated_subject, Watcher
class YourObserver(ObserverBase):
def notify(self, *args, **kwargs):
file_list = kwargs['file_list']
print 'These files have been updated %s' % file_list
file_updated_subject.register_observer(YourObserver())
watcher = Watcher()
watcher.run()
Then simply execute the file:
$ python your_observer.py
Now every time that a file is created / modified within your current working directory, the system will print to console which file was updated.
Metadata
Release files for filewatch 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| filewatch-0.2.0.tar.gz | 3.2 kB | Without provenance | Details for filewatch-0.2.0.tar.gz |
Release files / filewatch-0.2.0.tar.gz
| Download URL | filewatch-0.2.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2520d5c644b05f47ee4c681143385da6239c5110f57d14e631852a6efbfbc94d
|
|
BLAKE2b-256 checksum How to use checksums |
2b43ef1b1423bf4c2121718ae3fdc74a65f043266796548e16ca6fd6813d0b30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for filewatch 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.