Skip to main content

Watchdogs to keep an eye on the world's change. Read more: https://github.com/ClericPy/watchdogs.

Project description

watchdogs PyPIPyPI - WheelPyPI - Python VersionPyPI - DownloadsPyPI - License

Watchdogs to keep an eye on the world's change.

Intro

  1. This is a web app based on fastapi, databases, uniparser, torequests.
  2. Smoothly deploy 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 run in the async environment.
  5. Almost all the buttons have the title attribute to describe the features in Web UI, which means doc lay on the UI.

Usage

  1. pip install -U watchdogs

  2. python -m watchdogs

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

Args

python -m watchdogs -- -h

  • db_url:

sqlite / mysql / postgresql(not test) url, which databases support. 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

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

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

If you're not sure about the file name format, learn more about wheel file names.

watchdogs-1.2.5-py3-none-any.whl (298.4 kB view details)

Uploaded Python 3

File details

Details for the file watchdogs-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: watchdogs-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 298.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for watchdogs-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4e3a7ad075859815fbbfbb15b1b6a23e61c4bd195e7742d66aa48cad3bd9f2
MD5 ffc48ec0541be9b8480b66f11c31ab8e
BLAKE2b-256 b83ecd024f021acfbcc87ec00b6988355f4c3be8d947c4f2db7888193203c1b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page