Skip to main content

UCAS-WIFI

命令行登录UCAS wifi

PyPI version GitHub stars GitHub license

How to use

安装

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

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

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 details)

Uploaded Source

File details

Details for the file ucas-wifi-1.0.1.tar.gz.

File metadata

  • Download URL: ucas-wifi-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for ucas-wifi-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9f04548ed947a40bebc8d7e2347508b50015aaea9ebf2f8f408328973fc835f7
MD5 f13069e0fd1242335eecc5aa4505be64
BLAKE2b-256 4d51196d6c9633f60b1c01fad01508c0fad055facc09f543f2d6058828873c41

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 file

1.0.0

2 files

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

2 files

0.0.4

2 files

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page