Skip to main content

login ucas wifi in terminal

Project description

UCAS-WIFI

命令行登录UCAS wifi

PyPI version GitHub stars GitHub license

How to use

安装

本程序依赖于python,且只在python3 on win10 测试通过,未测试其他环境。

$ pip3 install ucas-wifi

打开终端

请确保已经正确连接寝室的网线或者UCASWiFi之后再使用本程序。

  • 登入
$ 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无线网络完成,可以正常登陆和登出,支持显示剩余流量

Refer

More

不接受任何形式的提需求,只接受PR :)

Les1ie

2019-9-9 13:35:15

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

ucas-wifi-0.0.8.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page