提醒您程序的状态
dinglingling的Python项目详细描述
丁玲玲
丁玲玲,你的节目结束了! 代码引用https://github.com/light8lee/dingdong。web微信现在不工作了,所以我用Server Chan重新编写代码。在
要求
- python>;=3.6
安装
- 从git克隆整个项目并安装
git clone https://github.com/PeijiYang/dinglingling.git
cd dinglingling
python setup.py install
- 从pypi安装
使用
首先,您需要从http://sc.ftqq.com/3.version注册一个帐户。然后您将获得一个SCKEY。
就像中的例子一样测试.py,需要在函数之前添加decorator:
fromdinglinglingimportwx_reminderSCKEY=""# the sckey you get from http://sc.ftqq.com/3.versionproxy=""# if you needn't proxy, ignore it.# remind_started: if you need remind you when the function # stated, make remind_started = True@wx_reminder(SCKEY=SCKEY,proxy=proxy,remind_started=False)deftest_correct_func():print("hello world")
使用演示:
谢谢
- 项目
标签: