Watchdogs to keep an eye on the world's change. Read more: https://github.com/ClericPy/watchdogs.
Project description
watchdogs ![PyPI](https://pypi-camo.freetls.fastly.net/5ae4d864c7786770adb7faa0f7bb92aef001e8a4/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f7761746368646f67733f7374796c653d706c6173746963)
![PyPI - Wheel](https://pypi-camo.freetls.fastly.net/9db7dd6b6504607831b77fb3c5b8d63fbff5c80d/68747470733a2f2f696d672e736869656c64732e696f2f707970692f776865656c2f7761746368646f67733f7374796c653d706c6173746963)
![PyPI - Python Version](https://pypi-camo.freetls.fastly.net/6e6156a26c5b50aa4329942753f8857b64e2e38d/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f7761746368646f67733f7374796c653d706c6173746963)
![PyPI - Downloads](https://pypi-camo.freetls.fastly.net/9494177b549597acea3e8b4c300b83130d4a87e0/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f7761746368646f67733f7374796c653d706c6173746963)
![PyPI - License](https://pypi-camo.freetls.fastly.net/2442876dbaa56faf281ffbaa5886dcb9bc8f719d/68747470733a2f2f696d672e736869656c64732e696f2f707970692f6c2f7761746368646f67733f7374796c653d706c6173746963)
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef6c48b40c262443aa4b4c9fefa3499d7708880d669d3e984846066c3c5622eb |
|
MD5 | d88cd70dc11d813c6231d4720e27e4dc |
|
BLAKE2b-256 | cfbd3d43b760437fc6cc530f221dfb9c09b0909a3e26506f79685c5620f98367 |