Some automatic scripts to against formalism
Project description
SG-Toolkit
使用科技手段对抗形式主义,提供了一些自动化脚本。能够帮助你完成网上学堂刷课、安全知识考试自动答题,等
怎么用?
网上学堂刷课
browser = FuckGWXT(
"san.zhang",
"1q2w!Q@W",
"美国能源",
"http://localhost/www/command/CollegeControl?flag=collegeTC&tcID=ef8afbf81de&tab=collTcLesson&type=&worktypeid=&pageNo1=15&pageSize1=10&comewho=null"
)
browser.process()
安全知识答题
代码示例
browser = FuckAnGui(
"san.zhang",
"1qaz@WSX",
"http://localhost/comlogin/routeLogin.html",
"./题库.xlsx"
)
browser.process()
题库格式
| 题型 | 题干 | 选项 | 答案 |
|---|---|---|---|
| 单选题 | 你今天吃的什么早点? | A-豆浆|B-八宝粥|C-胡辣汤|D-肉夹馍 | A |
| 多选题 | 你今天吃的什么早点? | A-豆浆|B-八宝粥|C-胡辣汤|D-肉夹馍 | BCD |
| 判断题 | 今天的早点有豆浆 | A-正确|B-错误 | A |
注意事项
第一次运行程序必定失败,在弹出的窗口输入用户名、密码、验证码,点击登录,浏览器将自动保存登录信息。下次运行即可自动答题。
环境要求
- Chrome浏览器
- Chrome WebDriver(版本需与浏览器保持一致)
- Python
- Python第三方库(见requirements.txt)
更新日志
| 版本号 | 更新内容 | 更新日期 |
|---|---|---|
| 0.1.0 | 初始化项目 | 2026年7月13日 |
| 0.2.0 | 项目更名为SG-Toolkit | 2026年7月14日 |
| 0.2.1 | 修复安全知识答题截止到99题的BUG | 2026年7月14日 |
| 0.2.2 | 安全知识自动答题完成后显示成绩 | 2026年7月14日 |
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
sg_toolkit-0.2.2.tar.gz
(18.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sg_toolkit-0.2.2.tar.gz.
File metadata
- Download URL: sg_toolkit-0.2.2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
154e7187a8f6e83a3c73556c9a2a4ea7533a7cb182b52729dcbe253dc0961db8
|
|
| MD5 |
c6c67cced3556ab0be6d711858000af2
|
|
| BLAKE2b-256 |
a8d91e4057693a027d5bd35d5e5d9006a5e9f35037a9ca90e2add295b55843a3
|
File details
Details for the file sg_toolkit-0.2.2-py3-none-any.whl.
File metadata
- Download URL: sg_toolkit-0.2.2-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11e40ec99eaec08aa818e2a58eff0481db86e3df07ec5712347bd06e3b20ac72
|
|
| MD5 |
e8c05fb722c27ab21c2f25c5f7fb349a
|
|
| BLAKE2b-256 |
7421a036859c67f04796b6ea1547ab5d0b73f4f1487e10f4a79ecbcf7839ac97
|