Skip to content

A small, cross-platform program for NEIE.

License

Notifications You must be signed in to change notification settings

LiangYuxuan/NEIE-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEIE-Assistant

A small, cross-platform program for NEIE.

Introduction

We found a project on github which is coded by Visual Basic, but it is hard to run on all platform expect Windows. So we decided to make this program.

Quick Start

git clone https://github.com/LiangYuxuan/NEIE-Assistant.git
cd NEIE-Assistant

# if you have activated your user to learn RWT
python main.py -s example.com:1234 -u username -p password -l 4 -t rwt

# if you need to activate first to learn VLS
python main.py -ac -s example.com:1234 -u username -p password -l 4 -t vls

Change example.com:1234 username password 4 to your real configs. For level, 1 2 3 4 are represented for A B C D.

For next run, you just need to run python main.py.

Usage

usage: main.py [-h] [-s PATH] [-u USERNAME] [-p PASSWORD] [-t TYPE] [-l LEVEL]
               [-ac] [-nf] [--end-unit END_UNIT] [--min-time MIN_TIME]
               [--max-time MAX_TIME] [--min-mark MIN_MARK]
               [--max-mark MAX_MARK]

A small, cross-platform program for NEIE.

optional arguments:
  -h, --help            show this help message and exit
  -s PATH, --path PATH  path to server, may contain ip and port
  -u USERNAME, --username USERNAME
                        username to login
  -p PASSWORD, --password PASSWORD
                        password to login
  -t TYPE, --type TYPE  rwt or vls
  -l LEVEL, --level LEVEL
                        current level
  -ac, --activation     try to activate user first
  -nf, --no-file        stop read and write information to config.json
  --end-unit END_UNIT   stop at a unit before all unit learned
  --min-time MIN_TIME   min time to learn a unit, default 60
  --max-time MAX_TIME   max time to learn a unit, default 120
  --min-mark MIN_MARK   min mark to learn a unit, default 80
  --max-mark MAX_MARK   max mark to learn a unit, default 100

Please note: Your login information will be stored in config.json by CLEAR TEXT if you have no argument '-nf'/'--no-file'. Otherwise, if your information have stored in config.json, you can run main.py with no arguments next time.

Contributing

We are free to accept to any code. Everyone can fork it and pull request.

Copyright

We use open-source project including requests and termcolor.

NEIE-Assistant is licensed under the GNU General Public License v3.0.

中文

About

A small, cross-platform program for NEIE.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published