Skip to main content

watchdogs PyPIPyPI - WheelPyPI - Python VersionPyPI - DownloadsPyPI - License

Keep an eye on the world's change.

Such as steam price fluctuation / new post articles / news on the web portal / server api health / binge-watching, and so on...

Intro

  1. This is a web app based on fastapi, databases, uniparser, torequests.
  2. Smoothly deploy it by pip: pip install -U watchdogs;python3 -m watchdogs
  3. Simple to create new crawler with the Web UI, not like old ways to duplicate crawler code.
  4. All the crawlers keep runing in the async environment.
  5. Almost all the elements have a title attribute to describe the features in the Web UI, which means docs lay on the UI.
  6. Release your hands from repetitive refreshing on the browser.
    1. Subscribe the change events with RSS reminder extensions, such as Feedbro or RSS Feed Reader.
    2. Or implement custom reminders by inheriting watchdogs.callbacks.Callback.

Usage

  1. pip install -U watchdogs

  2. python -m watchdogs

  3. Open with a browser: http://127.0.0.1:9901

Command line args

python -m watchdogs -- -h

  • db_url:

sqlite / mysql / postgresql(not test) url, which databases supports. Defaults to 'sqlite:///{HOME_PATH}/watchdogs/storage.sqlite'

  • password:

init password, if null can be set on the first visit on web.

  • mute_std_log:

remove stdout log for clean stream

  • mute_file_log:

ignore file log located at {HOME_PATH}/watchdogs folder.

  • md5_salt:

md5_salt for custom md5(password) / md5(rss_tag)

  • config_dir:

config dir to save the logs and config files, if using sqlite include sqlite file. defaults to {HOME_PATH}/watchdogs

  • use_default_cdn:

If Config.cdn_urls not set, and use_default_cdn is True, will use online js/css cdn from staticfile.org.

  • **uvicorn_kwargs:

uvicorn startup kwargs, such as port, host. Which can be set like: python -m watchdogs --port=9999 --host=127.0.0.1

Quick Start to Create New Task

Quick Start Screenshots

Screenshots

  1. Welcome Page (Tasks Page).

Here you can see all the tasks meta, goto RSS / Mobile Lite Page, and do some operations to the tasks.

image

  1. New Task Page.

Here based on the latest uniparser web app, to create new rules and also tasks.

image

  1. Rules Page.

Do some operations for the rules.

image

  1. API page.

Based on fastapi /docs which is generated automatically.

image

  1. Mobile Page (Lite View).

For mobile phone to glimpse the latest result for the current 30 tasks.

image

Metadata

Release files for watchdogs 1.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for watchdogs 1.5.2
File Interpreter ABI Platform Actions
watchdogs-1.5.2-py3-none-any.whl Python 3 none any Details for watchdogs-1.5.2-py3-none-any.whl

Release files / watchdogs-1.5.2-py3-none-any.whl

Download URL watchdogs-1.5.2-py3-none-any.whl
Size 307.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d7b00ace1230717f9b68a7c1c094a4a633fc0305392a510a8ad1b98ef82e4f3
BLAKE2b-256 checksum
How to use checksums
86d49a75dc046b501e7db8e9865cd5eca1d7ddd388d49411891890fc64c37e99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for watchdogs 1.5.2

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

1.5.2 This release

1 release file No provenance

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