Skip to main content

hit.edu.cn utils

Project description

hitutil

hitutil 基于 requests,是一个与哈尔滨工业大学网络业务相关的支持库。

ids

统一身份认证相关服务

ids.idslogin() 模拟统一身份认证登陆, 返回一个已登陆的 requests.Session.

from hit import ids
session = ids.idslogin('USERNAME', 'PASSWORD')
session.get('http://jwes.hit.edu.cn/queryWsyyIndex') # 登陆本科生网上服务系统
response = session.get('http://jwes.hit.edu.cn/cjcx/queryQmcj') # 查询成绩

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

hitutil-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

hitutil-0.0.1-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

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