WTU gadget
Project description
wtu
Intro
WTU gadget
Setup
pip install wtu
Token
To active this script, you need to get the 'JWT' authorization from WeChat App,
The token, expired after 7 days, you may replace and refresh it once a week
Health Report
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from wtu import health_report
import schedule
JWT = ''
jk = health_report.JKClient(JWT)
def report():
jk.health_report('student_number')
schedule.every().day.at("00:10").do(report)
while True:
schedule.run_pending()
time.sleep(180)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wtu-1.0.1.tar.gz
(3.1 kB
view details)
Built Distribution
wtu-1.0.1-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file wtu-1.0.1.tar.gz
.
File metadata
- Download URL: wtu-1.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e058b7abf72dec4240fba44a2b414758d301147ebc569b8a8db6e836fe8302a |
|
MD5 | 24d4fc49b41a40689b8dbb0aea254b15 |
|
BLAKE2b-256 | c96c42f5ab67a389fc67418a7d75777ee4ea9f67d9c99529a95889ee515e0e95 |
File details
Details for the file wtu-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wtu-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e146cad70150fbb09844bd71775b117250fdffab23aebb394bfc3d0feabe21a1 |
|
MD5 | b614291a281897ac6acc144315156b01 |
|
BLAKE2b-256 | 1d200bcd20ff19cb0c8d6cc5b0a8340cf8dad4bf42f4c9b6d6c5977400aa2b32 |