Skip to main content

Test your code of "BIT Online coding homework" more easily and conveniently!

Project description

BIT Online Code Helper

Test your code of "BIT Online coding homework" more easily and conveniently!


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.


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!


# 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 "" "E:\coding\1.c"


  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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BIT-Online-Code-Helper, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size BIT_Online_Code_Helper-1.0.4-py3-none-any.whl (20.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BIT Online Code Helper-1.0.4.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page