Metadata-Version: 2.1
Name: zzupy
Version: 0.2.3
Summary: 郑州大学移动校园的 Python API 封装 / An API wrapper for Zhengzhou University Mobile Campus written in Python.
Home-page: https://github.com/Illustar0/ZZU.Py
License: AGPL-3.0-or-later
Author: Illustar0
Author-email: me@illustar0.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: fake-useragent
Requires-Dist: gmalg
Requires-Dist: httpx
Requires-Dist: loguru
Requires-Dist: psutil
Requires-Dist: pycryptodome
Requires-Dist: typing-extensions
Project-URL: Documentation, https://illustar0.github.io/ZZU.Py
Project-URL: Repository, https://github.com/Illustar0/ZZU.Py
Description-Content-Type: text/markdown

# ZZU.Py
<font color=gray size=3>郑州大学移动校园的 Python API 封装</font>

## 安装

```shell
pip install zzupy --upgrade
```

## Done & To Do
- [x] Supwisdom
  - [x] 获取课表
- [x] Network
  - [x] 校园网认证
- [x] eCard
  - [x] 充值电费 
  - [x] 获取校园卡余额
  - [x] 获取剩余电费

前往 [ZZU.Py Completion Plan](https://github.com/users/Illustar0/projects/1) 查看 To Do

## 文档

[文档](https://illustar0.github.io/ZZU.Py/)

## Note
[Note](https://github.com/Illustar0/ZZU.Py/blob/main/NOTE.md)

## Example

```Py
from zzupy import ZZUPy

me = ZZUPy("usercode","password")
info = me.login()
print(f"{info[0]} {info[1]} 登录成功")
print("校园卡余额：", str(me.eCard.get_balance()))
print("剩余电费：", str(me.eCard.get_remaining_power("roomid")))
print("课表JSON：", me.Supwisdom.get_courses_json("2024-12-09"))
```

## 许可

License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
