Metadata-Version: 2.1
Name: hitutil
Version: 0.3.0
Summary: hit.edu.cn utils
Home-page: https://github.com/billchenchina/hitutil
Author: Billchenchina
Author-email: billchenchina2001@gmail.com
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/billchenchina/hitutil/issues
Project-URL: Source, https://github.com/billchenchina/hitutil/
Keywords: Harbin Institute of Technology,HIT,requests
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Requires-Python: >=3.5, <4
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4
Requires-Dist: pycryptodome
Requires-Dist: requests

# hitutil

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

## ids

统一身份认证相关服务

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

```python
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') # 查询成绩
```


