srun-cli-bit

A cli tool for BIT campus network.


Keywords
campus-network, cli-tool
License
GPL-3.0
Install
pip install srun-cli-bit==0.1.5

Documentation

Install

Via pip

python -m pip install -U srun-cli-bit

Via binary

Download binary file from GitHub release page . (If you are using Linux, you may need to run chmod +x [binary_file] first.)

Via source

  1. Clone this repo
  2. Install dependencies using pip install -r requirements.txt
  3. Run python src/main.py login

Usage

srun-bit config: set account ID and Password

srun-bit login: sign in the network account

srun-bit logout: disconnect the network

srun-bit info: show account information

Note

Latest Binary Version Compile Option

  • Windows10(python3.9.7): python -m nuitka src/main.py --onefile --standalone --mingw64
  • Ubuntu(python3.9.0): python -m nuitka --onefile --standalone src/main.py

Windows binary version NOT works on Windows7

Thanks to

https://github.com/vouv/srun

Nuitka