终端登录武汉大学校园网
Project description
个人用登录武大校园网终端小工具(已经懒的开浏览器了….)
安装
$ sudo pip install net-access-whu
使用
直接登录
$ net-access-whu -u 2020301260064 -p hellflame
配置文件登录
$ net-access-whu -c login.json
login.json 文件格式 .. code:
{ "username": 2020301260064, "password": "hellflame" }
退出
退出时许至少指定用户名,因为用户退出链接会以文本方式存储到系统临时目录(系统会自动清理)
指定配置文件
$ net-access-whu -c login.json -d logout
指定用户名
$ net-access-whu -u 2020301260064 -d logout
之后就等着查看返回消息就好了
环境兼容
python2
linux, mac os, windows
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
net-access-whu-0.3.0.tar.gz
(3.8 kB
view hashes)