个人用登录武大校园网终端小工具(已经懒的开浏览器了….)
安装
$ 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
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.4.4.tar.gz
(4.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file net-access-whu-0.4.4.tar.gz.
File metadata
- Download URL: net-access-whu-0.4.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d3193eaf1d3e68ca785689cbcfe8a1fcec4a0b698f4a05fee66702024fdc457
|
|
| MD5 |
7e604b09e5313023b2d23618da19ea77
|
|
| BLAKE2b-256 |
a11e528c73b3bea5e1fe25830b7858c75b8d2d12f789db0f68a7bab1c02d8170
|
File details
Details for the file net_access_whu-0.4.4-py2.7.egg.
File metadata
- Download URL: net_access_whu-0.4.4-py2.7.egg
- Upload date:
- Size: 9.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c815487ca910318049e9a92188783c8ec4f78c7c382a1ada6198af51aceeea
|
|
| MD5 |
aad01e6b6d85c6ae61bffe95b7b767d9
|
|
| BLAKE2b-256 |
ed9648966a5395d72994beb83b4e88fe9f96da7dffd6fda2e1bd16b5185fef1a
|
File details
Details for the file net_access_whu-0.4.4-py2-none-any.whl.
File metadata
- Download URL: net_access_whu-0.4.4-py2-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ed90faf3c8a7238ada1ae31019e036cbbeb98e11258b8e9b33f8373ba03e343
|
|
| MD5 |
c65b8ca50e74cc645f95c91bc24412f4
|
|
| BLAKE2b-256 |
153396f79abdb008ea6a759b1c785456ad59e02ef1efaa712cf5cc4e82a51383
|