UCAS-WIFI
命令行登录UCAS wifi
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
Metadata
Release files for ucas-wifi 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ucas-wifi-1.0.1.tar.gz | 3.9 kB | Without provenance | Details for ucas-wifi-1.0.1.tar.gz |
Release files / ucas-wifi-1.0.1.tar.gz
| Download URL | ucas-wifi-1.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f04548ed947a40bebc8d7e2347508b50015aaea9ebf2f8f408328973fc835f7
|
|
BLAKE2b-256 checksum How to use checksums |
4d51196d6c9633f60b1c01fad01508c0fad055facc09f543f2d6058828873c41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for ucas-wifi 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.