Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

JustWatch

forthebadge

Build Status Coverage Status

📄 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

  1. Forks on Github

  2. 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)

Source distribution for just-watch 1.0.0b1
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)

Table of built distributions (wheels) for just-watch 1.0.0b1
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page