Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Latest commit

 

History

History
58 lines (37 loc) · 1.08 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.08 KB

SUTDN

SUT Dormitory Network Command Line Tool

Prerequisites

Install

In the root of the repository, where requirements.txt locates:

py -2 -m pip install -r requirements.txt

Usage

Online:

  1. Replace <username> & <password> in demo/online.py with your username & password
  2. Run demo/online.py
  3. If online successfully, then run heartbeat.py to keep-alive

Offline:

Run demo/offline.py

Todo

  • kill

中文版本

SUTDN

沈阳工业大学宿舍网络命令行工具

条件

安装

在存储库的根目录中,requirements.txt所在的位置处运行:

py -2 -m pip install -r requirements.txt

用法

上线:

  1. 用你的用户名密码替换demo/online.py中的<username>&<password>
  2. 运行 demo/online.py
  3. 如果成功上线,然后运行heartbeat.py保持在线状态

下线:

运行demo/offline.py

将来或许完成的功能

  • 强制下线