Skip to main content

A ncov report library and tool for LIT(Luoyang Institute of Science and Technology)

Project description

lit-ncov-report

洛阳理工学院 "健康状况管控平台" 的一个非官方Python 封装库CLI工具拓展实现

如需旧版请前往v1

安装

# Python3.6+ with pip
pip install -U litncov

封装库

范例

#  导入模块
from litncov.user import litUesr

# 新建实例
testme = litUesr("username", "password")

# 判断是否登陆成功
if testme.is_logined:
    #打印用户信息
    print(testme.info)
    #打印上次上报信息
    print(testme.get_last_record())
    #打印学生学籍信息
    print(testme.get_instructor())
    #打印用户家庭信息
    print(testme.get_familys())
    #打印用户外出信息
    print(testme.get_trips())
    #打印疫情严重地区
    print(testme.get_important_city())
    #进行当日第一次体温上报
    ## 模式:使用上一次上报信息, 次数: 只上报第一次
    print(testme.first_record(mode='last', times=1))
    #进行当日第二次体温上报
    ## 模式:手动填入, 温度: 36.6 摄氏度
    print(testme.second_record(mode='manual', temperature=36.6))
    #进行当日第二次体温上报
    ## 模式:随机生成正常体温(36.0~37.2 摄氏度)
    print(testme.third_record(mode='random'))

CLI工具

查看帮助

litncov --help

拓展实现

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

litncov-0.1.3.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file litncov-0.1.3.tar.gz.

File metadata

  • Download URL: litncov-0.1.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for litncov-0.1.3.tar.gz
Algorithm Hash digest
SHA256 31e0ae414970475e2a6ef6d5d20827ce09adab831615281090ff135e9b7d34f5
MD5 8a09308126adc772fa624e4230b76c5f
BLAKE2b-256 0d73edc8726da77af4d8ca9aefd45c3d368401531ad49d43b562f8e76a8fb639

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page