Zulip Duty of Care Service
A small script to check user presence in Zulip. If a user hasn't been around for a while it will send you a message in Zulip so you can check up on them and see if they are ok.
Install
pipx install zulip-doc
Usage
Usage: zdoc [OPTIONS] [SEND_TO]...
Arguments:
[SEND_TO]...
Options:
--max-idle INTEGER [env var: MAX_IDLE; default: 86400]
--ignore-weekends / --no-ignore-weekends
[env var: IGNORE_WEEKENDS; default: ignore-
weekends]
--config-file FILE [env var: CONFIG_FILE; default:
/home/{username}/.zuliprc]
--help Show this message and exit.
Example: zdoc 12 22
Cron Job Setup
crontab -e
Then add something like:
0 12 * * * /home/paul/.local/bin/zdoc --config-file /home/paul/.zuliprc 12 22
runs everyday at noon
Metadata
Release files for zulip-doc 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zulip_doc-0.4.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zulip_doc-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / zulip_doc-0.4.0.tar.gz
| Download URL | zulip_doc-0.4.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eac2f06cd3d7ed5efdc78c9e1e9ca9e3b8fe78313630255ab3b4524fb82cd2ff
|
|
BLAKE2b-256 checksum How to use checksums |
034c67018d6e8c9191416ecd2f052b54af440cfbf371d0d90d3bbdf3c985383f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.10.12
|
Release files / zulip_doc-0.4.0-py3-none-any.whl
| Download URL | zulip_doc-0.4.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
824afc0d5534bc86345dee0d926cf2e42e48c9fa6324d5e45bcf3c2f241ebab7
|
|
BLAKE2b-256 checksum How to use checksums |
619edafea1438af01e5397f93dc3f480aa47595673bfb67c57e722bb819ff973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.10.12
|