watchdog toolkit for check web change.
Project description
simple_web_watchdog
example
python3 -m onwebchange -f wc.config -i 300 -a
from onwebchange.core import WebHandler
from onwebchange.webui import app
if __name__ == "__main__":
wh = WebHandler(
app,
file_path=None,
loop_interval=300,
auto_open_browser=True,
change_callback=lambda task: print(task.name),
app_kwargs={'port': 9988})
# python3 -m onwebchange -f wc.config -i 300 -a
wh.run()
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file onwebchange-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: onwebchange-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a1601f932894fe3d902d4c1cd4a43b1bd4573ad0bb9f0d6e9d0fee1ec5386c |
|
MD5 | 3b66a96e341c13d667b187123b174ea9 |
|
BLAKE2b-256 | 472a10c15cee8a50631317e354ef861ac86b537019b5ec91a543228ac59bb07e |