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')
if __name__ == '__main__':
schedule.every().day.at("00:10").do(report)
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.0.tar.gz
(3.1 kB
view details)
Built Distribution
wtu-1.0.0-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file wtu-1.0.0.tar.gz
.
File metadata
- Download URL: wtu-1.0.0.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 | 93dcbd420dd5dbbca37251a2ca12ea9d5666bc11836828174ee01f85c501c300 |
|
MD5 | c52ef32605682b0e98d88d458244e47c |
|
BLAKE2b-256 | 1f7490a495bfd8b9ceae13555bfaf1cd8dbeae51d906bb6276ba3ac67f1f61fa |
File details
Details for the file wtu-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: wtu-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 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 | 2a59dafd4f0a1723b90334828f6984e6fd28f975175b8a5a6008808374ea9eea |
|
MD5 | 883f92594b26827a5fe1983dd336a638 |
|
BLAKE2b-256 | fea9292fa92127230097802852fb4bac2bfc5759038440c863a8ce395c25dfff |