Metadata-Version: 2.0
Name: net-access-whu
Version: 0.4.2
Summary: 终端登录武汉大学校园网, 国软IIS-WEB
Home-page: https://github.com/hellflame/WHU-net-access
Author: hellflame
Author-email: hellflamedly@gmail.com
License: Apache License
Keywords: network auth,WHU
Platform: all
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2 :: Only
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent

武大校园网终端认证
#####################

个人用登录武大校园网终端小工具(已经懒的开浏览器了....)

安装
=====

.. code:: bash

  $ sudo pip install net-access-whu


使用
====
* 直接登录

.. code:: bash

  $ net-access-whu -u 2020301260064 -p hellflame


* 配置文件登录

.. code:: bash

  $ net-access-whu -c login.json

`login.json` 文件格式
.. code::

  {
    "username": 2020301260064,
    "password": "hellflame"
  }

* 退出

退出时许至少指定用户名，因为用户退出链接会以文本方式存储到系统临时目录(系统会自动清理)

指定配置文件

.. code:: bash

 $ net-access-whu -c login.json -d logout

指定用户名

.. code:: bash

 $ net-access-whu -u 2020301260064 -d logout

之后就等着查看返回消息就好了

环境兼容
=========

 *python2*

 *linux, mac os, windows*



