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:
- Save your code in the editor (Ctrl + S)
- Switch to show cmd or PowerShell window (Alt + Tab)
- Press "↑" on your keyboard to automatically repeat your last test command
- Press "Enter" on your keyboard, wait for test result!
Usage
# 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
- Use cache to store the problem info to avoid frequently request the website
- Improve related features which I don't realize now
- Fix bugs
Metadata
Release files for BIT-Online-Code-Helper 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| BIT Online Code Helper-1.0.4.tar.gz | 7.2 kB | Without provenance | Details for BIT Online Code Helper-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| BIT_Online_Code_Helper-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for BIT_Online_Code_Helper-1.0.4-py3-none-any.whl |
Total release size: 27.7 kB
Release files / BIT Online Code Helper-1.0.4.tar.gz
| Download URL | BIT Online Code Helper-1.0.4.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c15839e528ab237bf96feadc8ad64468964c93ce056ebe078351b231f41e92f7
|
|
BLAKE2b-256 checksum How to use checksums |
aa265b66b9c0d09d384288b3a2b99b5f17a9488e8c55a473252dafc59cf44468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.0
|
Release files / BIT_Online_Code_Helper-1.0.4-py3-none-any.whl
| Download URL | BIT_Online_Code_Helper-1.0.4-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
585f27868028995412b4d50a126adbd0b8f2bace7ee8fa248515b28c32b3ee80
|
|
BLAKE2b-256 checksum How to use checksums |
a97eb5c0f936b5befe42dfc30e804b93f69b3aa4d99381104732da18d8f25362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.0
|
Security for BIT-Online-Code-Helper 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.