BIT-Online-Code-Helper-1.0.4
توضیحات
Test your code of "BIT Online coding homework" more easily and conveniently!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | BIT-Online-Code-Helper-1.0.4 |
| نام | BIT-Online-Code-Helper |
| نسخه کتابخانه | 1.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | crawler995 |
| ایمیل نویسنده | zhang_995@foxmail.com |
| آدرس صفحه اصلی | https://github.com/Crawler995/BITOnlineCodeHelper |
| آدرس اینترنتی | https://pypi.org/project/BIT-Online-Code-Helper/ |
| مجوز | MIT |
# BIT Online Code Helper
Test your code of "BIT Online coding homework" more easily and conveniently!
## Install
`pip install bit-online-code-helper`\
And you should confirm that `g++` command is available. For example, running `g++ -v` in the terminal to confirm.
## Feature
With this, you can test and commit your code which use only **2 seconds** totally:
1. Save your code in the editor (Ctrl + S)
2. Switch to show cmd or PowerShell window (Alt + Tab)
3. Press "↑" on your keyboard to automatically repeat your last test command
4. Press "Enter" on your keyboard, wait for test result!
## Usage
```shell script
# bch means 'BITOnline Code Helper'
# local code test
# -l means '--local'
bch -l [bit_online_problem_url] [source_file_url]
# online code test
# commit your code to BIT Online to test
# -o means '--online'
bch -o [bit_online_problem_url] [source_file_url]
# local and online code test
# automaticlly commit your code to BIT Online to test after local test passed
# -lo means '--local_online'
bch -lo [bit_online_problem_url] [source_file_url]
# e.g.
# bch -lo "http://lexue.bit.edu.cn/mod/programming/view.php?id=32165" "E:\coding\1.c"
```
## TODO
1. Use cache to store the problem info to avoid frequently request the website
2. Improve related features which I don't realize now
3. Fix bugs
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | tqdm |
نحوه نصب
نصب پکیج whl BIT-Online-Code-Helper-1.0.4:
pip install BIT-Online-Code-Helper-1.0.4.whl
نصب پکیج tar.gz BIT-Online-Code-Helper-1.0.4:
pip install BIT-Online-Code-Helper-1.0.4.tar.gz