login ucas wifi in terminal
Project description
UCAS-WIFI
命令行登录UCAS wifi
How to use
安装
本程序依赖于python,且只在python3 on win10和python 3 on debian 9 测试通过,未测试其他环境。
$ pip3 install ucas-wifi
打开终端
请确保已经正确连接寝室的网线或者UCAS
WiFi之后再使用本程序。
- 登入
$ ucas-wifi
- 注销
$ ucas-wifi logout
- 重置账户密码
$ ucas-wifi reset
- 查看帮助信息
$ ucas-wifi help
- 升级本脚本
$ pip3 install -U ucas-wifi -i https://pypi.org/simple
Hint
- 账户信息保存在
~/.ucas-wifi.json
- win10将会使用toast提示命令执行情况,如果不需要该提示框, 重设用户信息的时候选择
n
即可
Todo
- 使用bash/ash完成认证过程,适配openwrt
Changelog
- 2019-9-9 13:34:00 适配UCAS无线网络完成,可以正常登陆和登出,支持显示剩余流量
- 2019-9-9 20:25:56 使用
console_scripts
打包入口 - 2019-9-10 08:41:58 增加跳过检查联网步骤直接登录选项
- 2019-9-10 08:42:21 增加
ucas-wifi info
选项,支持获取当前账户信息
Refer
More
不接受任何形式的提需求,只接受PR :)
Les1ie
2019-9-9 13:35:15
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ucas-wifi-1.0.1.tar.gz
(3.9 kB
view hashes)