Skip to main content

remind you the status of the program

Project description

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

git clone https://github.com/PeijiYang/dinglingling.git
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")

Thanks

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

dinglingling-0.1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

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