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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exit_notifier-0.0.1.tar.gz | 4.6 kB | Without provenance | Details for exit_notifier-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exit_notifier-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for exit_notifier-0.0.1-py2.py3-none-any.whl |
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
|
Security for exit-notifier 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.