Skip to main content

exit-notifier

Exit Notifier 是一个命令行工具,允许您在脚本执行完毕后,自动发送通知(如电子邮件)。这对于需要长时间运行的脚本或需要在无人值守的情况下监控脚本执行情况的场景非常有用。

Install

python -m pip install exit-notifier

Config

config mail

exit_notifier config mail

show config

exit_notifier show

reset config

exit_notifier reset

Use

exit_notifier run -c mail -p /path/to/your_script.py --args [脚本参数]

example usage:

exit_notifier run -c mail -p test_scripts/test_args_in.py --args -n 1 -s ss -l 1 2 5 --flag
exit_notifier run -c mail -p test_scripts/test_script.py 

Notice

你的配置将被以明文记录到配置文件:~/.exit_notifier/notice.yaml中,注意警惕隐私泄露

Metadata

Release files for exit-notifier 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exit-notifier 0.0.1
File Size Uploaded
exit_notifier-0.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exit-notifier 0.0.1
File Interpreter ABI Platform
exit_notifier-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.0 kB

Release files / exit_notifier-0.0.1.tar.gz

Download URL exit_notifier-0.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
11cf5b4d1a6b0998f4ef2f161a348f67d3be8893a4b6007e86239f0b17948822
BLAKE2b-256 checksum
How to use checksums
9eec5dc48a2d077c5004b038e3b1d8f11f89b6be941797ce2d8746d64495266c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / exit_notifier-0.0.1-py2.py3-none-any.whl

Download URL exit_notifier-0.0.1-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
db05574b35b4ce7eaa2398b8a926cc3517efcd25c9f9f44b01fb477691533005
BLAKE2b-256 checksum
How to use checksums
36d79e13951a6c0e8ed2a71444092742523a72cd6ad4e6bf8f465289efa4008c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page