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.0.0.tar.gz (21.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.0.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zzupy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c942276873320dfc031fa24d04ac5f304c37d064d199342ead63d56de4c8d175
MD5 8fa76709ef50c36e35f5fbd979f8c4be
BLAKE2b-256 8366b1114b933dc7ff4b837d9b5b11e931e54119835d9ec49091144e995ff3b9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zzupy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d8b3e6f754085b358f9dc59eeb24b96743428c0381b24b5a936daa89d7f8b98
MD5 44695a1e4f606c324ed460d20806ea70
BLAKE2b-256 d472b24491b1098458552804ea87e7034ab9042098ea5f4095f0443ddd051586

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