Skip to main content

AutoSign BUAA CLI

北航 iClass 自动签到命令行工具,支持多账号、校园网直连及 WebVPN、后台运行和开机自启。

安装与升级

需要 Python 3.9 或更高版本。

python -m pip install --upgrade autosign-buaa-cli

如果使用 Conda,请先激活安装 AutoSign 的环境。升级后,重新启动已有的后台服务以加载新版程序。

使用

autosign user add --username YOUR_STUDENT_ID --password YOUR_PASSWORD
autosign week --username YOUR_STUDENT_ID
autosign run
autosign stop

autosign week 只查询课表与签到状态。autosign run 启动后台自动签到,autosign run --once 执行一轮自动签到。自动任务在开课前 10 分钟到下课之间尝试提交,最终结果以学校服务器为准。

配置与日志默认保存在 ~/.autosign/。账号密码以明文存入本地配置;请保管好该目录,不要将它提交到代码仓库。

0.1.3 更新

  • 通过统一认证跳转取得 iClass loginName,修正直接使用学号导致的登录兼容问题。
  • 对齐校园网与 WebVPN 的签到路径和请求参数,提交前获取服务器时间。
  • 校验服务器的签到确认字段,避免把未成功的请求记录为成功。
  • 支持会话刷新、仅含时分的课程时间,以及无课日期的特殊返回状态。
  • 改善登录和课表错误提示;出勤状态以学校课表为准。

本项目独立访问北航服务器,不依赖 UBAA 后端。接口适配依据 UBAA 的原始服务器请求实现。

完整说明与源码:AutoSign CLI 分支。

请遵守学校及平台的使用规范。

Metadata

Release files for autosign-buaa-cli 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autosign-buaa-cli 0.1.3
File Size Uploaded Provenance Actions
autosign_buaa_cli-0.1.3.tar.gz 26.5 kB Without provenance Details for autosign_buaa_cli-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autosign-buaa-cli 0.1.3
File Interpreter ABI Platform Actions
autosign_buaa_cli-0.1.3-py3-none-any.whl Python 3 none any Details for autosign_buaa_cli-0.1.3-py3-none-any.whl

Total release size: 48.0 kB

Release files / autosign_buaa_cli-0.1.3.tar.gz

Download URL autosign_buaa_cli-0.1.3.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a10d896f4c3d0f3b4faeb6a20adf4004bb1a010b685a8978b4fa0ad1ee4006b3
BLAKE2b-256 checksum
How to use checksums
b3b717fc8ed7d74e520b2295b7f384d469466345567947f7442b29268676af06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.20

Release files / autosign_buaa_cli-0.1.3-py3-none-any.whl

Download URL autosign_buaa_cli-0.1.3-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
125c859479d22f07fe8eabfd65f74aa3fb3928495f8b0cf0765883e3a778f048
BLAKE2b-256 checksum
How to use checksums
d387d45edbc52c84405bfd8ffccdac285005b2000e36e9c7dccbb1e9492d9dd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.20

Security for autosign-buaa-cli 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page