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

文档

文档仍在 In Progress ,建议使用 PyCharm 来获得最佳的开发中文档体验

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_json("2024-12-09"))

许可

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

Uploaded Source

Built Distribution

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

zzupy-0.2.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zzupy-0.2.1.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11

File hashes

Hashes for zzupy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d5c448aa78f9e853b6ecef928ab535c5c2c5de5af9e96f40559a37ab9781d18a
MD5 d4120c3957647526c738976eca01a5c0
BLAKE2b-256 e4dd87c7b82082ad0a4d25d505c85d111860b315aa587802238214693c8c816b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zzupy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11

File hashes

Hashes for zzupy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a5e58f4facf9b5c245751dd5c338a3909667f622fa3db1a88d8549ac88710ae
MD5 b9b29ad0e1929f03f03cd66aa3dcd9e5
BLAKE2b-256 6f4a8c1f26aa7cb0c56e92fcbde53774a4f9e975c6cbb2f62ca569ded0d1d952

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