Watchdogs to keep an eye on the world's change. Read more: https://github.com/ClericPy/watchdogs.
Project description
watchdogs
Watchdogs to keep an eye on the world's change.
Intro
- This is a web app based on fastapi, databases, uniparser.
- 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:
app.mount("/uniparser", uniparser_app)
- Quite simple to create new crawler with the Web UI.
- All the crawlers runs in the async environment.
- Almost all the buttons has a title attribute to describe the features in Web UI, so docs will not come very early.
Usage
-
pip install -U watchdogs
-
python -m watchdogs
-
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. Defaults to 'sqlite:///{HOME_PATH}/watchdogs/storage.sqlite'
- 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 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
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
Built Distribution
Hashes for watchdogs-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae4e20f56ab4a1d7d2ce4a9d8830a83c6bcbf9f652788fadd68257265e76387 |
|
MD5 | f09100c4465f4647f04e2f40b974baa8 |
|
BLAKE2b-256 | d14efe3320717400945fb242b21232e72c856011aee0acdf84e65c749cd4b95d |