Metadata-Version: 2.1
Name: srun-cli-bit
Version: 0.1.5
Summary: A cli tool for BIT campus network.
Home-page: https://github.com/c-my/srun-cli-bit
Author: Cai Mingyang
Author-email: cai.my@outlook.com
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

## Install

### Via pip

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

### Via binary

Download binary file from GitHub  [release page](https://github.com/c-my/srun-cli-bit/releases/latest) .
(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](https://github.com/vouv/srun)

[Nuitka](https://nuitka.net/)

