This release is a pre-release and may not be stable for production use.
JustWatch
📄 Overview
Python utility to watch the file modification. There are similar libraries: pyinotify, watchdog. These libraries watch the file system event, but JustWatch is supported modification only.
✏️ Usage
quick start
First of all, import classes from justwatch:
from justwatch import WatchManager, Observer
make WatchManager instance and add file or directory:
manager = WatchManager()
manager.add_file("./README.md")
manager.add_dir("./tests")
make Observer instance and set callback:
observer = Observer(manager)
@observer.set_callback
def callback(item):
print "Catch the modification of '{0}'".format(item.path)
and run observer.watch
observer.watch()
example
📥 Installation
$ git clone git@github.com:alice1017/JustWatch.git $ cd JustWatch $ python setup.py build install
TODO: I will upload pypi registry.
👀 Contribution
Forks on Github
Find a bug? Send a pull request to get it merged and published.
Metadata
Release files for just-watch 1.0.0b1
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 |
|---|---|---|---|---|
| just-watch-1.0.0b1.tar.gz | 3.1 kB | Without provenance | Details for just-watch-1.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| just_watch-1.0.0b1-py2.7.egg | Legacy Egg format | - | - | Details for just_watch-1.0.0b1-py2.7.egg |
Total release size: 10.1 kB
Release files / just-watch-1.0.0b1.tar.gz
| Download URL | just-watch-1.0.0b1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10130481dfca382b8bf7b1c68babd6090229aa94da79602ec3edcc484d4860ed
|
|
BLAKE2b-256 checksum How to use checksums |
021b747969b656549a292675d3628e6d88a3a1fd346c0d18e830f6f34f0691cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / just_watch-1.0.0b1-py2.7.egg
| Download URL | just_watch-1.0.0b1-py2.7.egg |
|---|---|
| Size | 7.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f48a30fb7e2ad2d950af29b8657e5a73e639996b58a84fd44892e0ef46a07b78
|
|
BLAKE2b-256 checksum How to use checksums |
ad9869896d114498d08a9b14d0bb0e972b0eed3993572a30b38776ab89bee75c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for just-watch 1.0.0b1
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.