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.0.tar.gz (29.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.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: urp_tools-0.3.0.tar.gz
  • Upload date:
  • Size: 29.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.0.tar.gz
Algorithm Hash digest
SHA256 e4e3ece5389ffed7ce5e9fbbade4793516185b94b938ecf55106d4a01f5f00a7
MD5 5214540c25ed46b3eaa75e3f30355ce8
BLAKE2b-256 0c667f24844c66a9665be0413b0310b73e84ce1e2afea48ede16a493ce18b375

See more details on using hashes here.

Provenance

The following attestation bundles were made for urp_tools-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: urp_tools-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeed7810fdba508a9031aed64bedf7e3a670332654dc9f298ebebe429fbe4e19
MD5 356950a543764de512bf3b93e0b4d368
BLAKE2b-256 09ef6ffd2b46736df7cc95ff5f1022390c67cfc8bc7ba9178d10eb24c1fe3825

See more details on using hashes here.

Provenance

The following attestation bundles were made for urp_tools-0.3.0-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