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.
  2. The implementation of views is to be plug-in and portable, which means it can be mounted on other web apps as a sub app:
    1. app.mount("/uniparser", uniparser_app)
  3. Quite simple to create new crawler with the Web UI.
  4. All the crawlers runs in the async environment.

Usage

  1. pip install -U watchdogs

  2. python -m watchdogs

  3. view the page on browser: http://127.0.0.1:9901

Args

python -m watchdogs -- -h

  • db_url:

sqlite / mysql / postgresql(not test) url, which databases support.

  • password:

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

  • ignore_stdout_log:

remove stdout logging

  • ignore_file_log:

remove file logging

  • 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}/watchdogs

  • **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

image image image 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

watchdogs-1.0.0-py3-none-any.whl (291.9 kB view hashes)

Uploaded Python 3

Supported by

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