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

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

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

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.2.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

dinglingling-0.2.0-py3.7.egg (4.7 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