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-3.0.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

zzupy-3.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zzupy-3.0.0.tar.gz
Algorithm Hash digest
SHA256 40d14d892b8ea300868766a984ae4e33573f376c877a9e9d8cdc053c57f335de
MD5 32d96509fd639e3b0801ab1818c522c2
BLAKE2b-256 035a1f2c08e5665c588d6c1c6d7019d1ce85827f210cf6c303dc68b73bec12b2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zzupy-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72d9228687195558d40302174ede24213e75403ba5666a2635ef65d231b86ae0
MD5 71d03b59501ea1e24124cd093d03991a
BLAKE2b-256 a5bd00fa1b4f775371d28a908a1495dca94fda2305cca84c499d42dcf51fb22a

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