BUPT
注意:本项目还未经过抢课真正测试,不过你可以试一试。 如果有bug那也正常,提一下issue就好
1.用法举例
①直接使用此仓库
from bupt_internal import BUPT
# 初始化
BUPT.init()
session = BUPT.login_with_verify()
# 第一次启动会提示输入要抢的课以及登录教育管理网站需要的账号密码生成配置文件,后续可以直接在配置文件中修改
BUPT.grab_all_course(session)
BUPT.unchoose_course(session, "射电", "虚拟现实") # 退选
②使用pip包
本包已经发布,可以直接使用pip install BUTP-Tools安装后执行以上代码即可
Metadata
Release files for BUPT-Tools 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bupt_tools-0.2.3.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bupt_tools-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / bupt_tools-0.2.3.tar.gz
| Download URL | bupt_tools-0.2.3.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29d044bcb9593b06e1c5e4b0f40002e2cbcde9f3b7dc0f1a5262bf5aabb28c27
|
|
BLAKE2b-256 checksum How to use checksums |
2cfb23acb1a099cc140cab18d0eeb7a179e7787a6a56976f796785edc65d8c4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.18.1 CPython/3.11.2 Windows/10
|
Release files / bupt_tools-0.2.3-py3-none-any.whl
| Download URL | bupt_tools-0.2.3-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43d84206a93b938303c2c1fb0df5351341cd794de6f5e4ba204dd402df192300
|
|
BLAKE2b-256 checksum How to use checksums |
6d11f32ce1c88aa00bf96c724443ddd374fe10452cf25a9d4b9b0b14878d55aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.18.1 CPython/3.11.2 Windows/10
|