Skip to main content

URP Academic Affairs System Course Snatching Tool

Project description

URP 综合教务管理系统工具

面向 jws.qgxy.cn 的异步命令行工具,当前提供:

  • 登录及验证码识别
  • 本学期课表查询与 Excel 导出
  • 教学评估选择课程、显式确认、并发等待后提交
  • 会话过期自动重登、幂等请求重试和清晰的异常提示

环境要求

  • Python 3.10
  • Poetry 2.x

安装

poetry install
Copy-Item .env.example .env

.env 中填写 URP_USERNAMEURP_PASSWORD

运行

以下两种方式都受支持:

poetry run python -m urp_academic_affairs_tools.main
poetry run python urp_academic_affairs_tools/main.py

安装项目后也可以直接运行:

poetry run urp-tools

教学评估

进入教学评估后,程序会列出已评教和未评教课程。可输入单个序号、多个序号,或输入 all 提交全部未评教课程。

评教提交前仍需要输入确认语句。程序会并发打开选中课程的评教页面,统一等待 URP_EVALUATION_WAIT_SECONDS 秒后并发提交,避免每门课程都单独等待。

URP_EVALUATION_WAIT_SECONDS=120
URP_EVALUATION_CONCURRENCY=3

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

urp_tools-0.3.1.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

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

urp_tools-0.3.1-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

Details for the file urp_tools-0.3.1.tar.gz.

File metadata

  • Download URL: urp_tools-0.3.1.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for urp_tools-0.3.1.tar.gz
Algorithm Hash digest
SHA256 b53c7aca8169889331242cbc06d97473265302fe7aaea8b254e671fa33936ced
MD5 a5a5b93fa8af228e12e719f15595f725
BLAKE2b-256 f4c71021502691ca7127ef31d0176c1b7279365a05621d3155950d49413041dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for urp_tools-0.3.1.tar.gz:

Publisher: release.yml on Reversedeer/urp-academic-affairs-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file urp_tools-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: urp_tools-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for urp_tools-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99ce807fa808f7c7dc827091aa4468d9341f9b2ef6bc5cf530a83ce498c1e699
MD5 65fea9c83721b017bc751c9930d2965a
BLAKE2b-256 90ed3ad286ede97063b9bb14adea66f00ec02264bf79636aeb73c3d313513687

See more details on using hashes here.

Provenance

The following attestation bundles were made for urp_tools-0.3.1-py3-none-any.whl:

Publisher: release.yml on Reversedeer/urp-academic-affairs-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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