Skip to main content

郑州大学移动校园的 Python API 封装 / An API wrapper for Zhengzhou University Mobile Campus written in Python.

Project description

ZZU.Py

郑州大学移动校园的 Python API 封装

安装

pip install zzupy --upgrade

Done & To Do

  • Supwisdom
    • 获取课表
  • Network
    • 校园网认证
      • 校园网
      • 移动宽带
    • 获取在线设备数据
    • 获取消耗流量
    • 获取使用时长
    • 注销设备
  • eCard
    • 充值电费
    • 获取校园卡余额
    • 获取剩余电费

前往 ZZU.Py Completion Plan 查看 To Do

文档

文档

Note

Note

Example

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("2024-12-09"))
me.Network.login()
print(me.Network.get_online_devices())

许可

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

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

zzupy-2.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zzupy-2.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file zzupy-2.1.0.tar.gz.

File metadata

  • Download URL: zzupy-2.1.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for zzupy-2.1.0.tar.gz
Algorithm Hash digest
SHA256 1eeb903dd4ad7c89eae948ba05f1d53aa8370f989ceb22cfbdea55e08b72b0ae
MD5 11bb23fd3358e02660350d072db8d96d
BLAKE2b-256 55fa06064c5959f2214faad9f14eed9f56c4252ea78154771f0e10fc7f9cd66e

See more details on using hashes here.

File details

Details for the file zzupy-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: zzupy-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for zzupy-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab290b5639c1eebf6dfc31ac5c6fcd0891356940964b50eedb997c2905b2c5cd
MD5 527d5fa9e57d5153106000c8c2a8b623
BLAKE2b-256 cdc84078a366ac51185cb9e344e688f29ce5378ec3f2e6f19e8fd06a553e53cd

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