Skip to content

hertz-pj/dinglingling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dinglingling

dinglingling, your program is over! The code references https://github.com/light8lee/dingdong. The web weChat now is not work, so I refact the code by the Server Chan.

Requirements

  • python >= 3.6

Installation

  1. clone the whole project from git and install
git clone https://github.com/PeijiYang/dinglingling.git
cd dinglingling
python setup.py install

Usage

First, you need to register an account from http://sc.ftqq.com/3.version. Then you will get a SCKEY.
Just like the examples in test.py, you need to add the decorator ahead of your function:

from dinglingling import wx_reminder

SCKEY = "" # the sckey you get from http://sc.ftqq.com/3.version
proxy = "" # 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)
def test_correct_func():
    print("hello world")

use demo:

Sample

————————————————

Thanks

About

dinglingling, your program over!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages