Skip to main content

A small example package

Project description

rzqtest

检测url的可访问性和证书剩余有效期,并输出不符合条件的结果。

python -m rzqtest switch urlfile emailconf

switch参数说明

参数 说明
c[number] 启用证书检测和证书剩余时间上限,number不可省,如c200,会返回小于200天的站点信息。
u 启用url可访问性检测。
p 将格式化结果打印在屏幕上。
e 将格式化结果以邮件发送,必须指定emailconf文件的路径,可以配合选项v使用。
r 将结果以python原生格式,输出到屏幕。
v 反向选择结果,配合选项p,r,e使用。
urlfile文件格式
# 注释
https://www.baidu.com
emailconf文件格式
server:domain:port:account:password
# 不以server:开头的行,均视为邮件接收者的一员。
xxxxx@qq.com
cccccc@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rzqtest-0.0.15.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

rzqtest-0.0.15-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page