All notable changes to this project will be documented in this file.
⚠ Major Update (Breaking Changes)
- Add API key authorizations
- Custom API URL support
- Due to Judge0 API going freemium, the default API URL, [https://api.judge0.com] is no longer available. To use the API signup for a plan on RapidAPI & use the token to access the API through coderunner.
- Fixed bug where compiling a Java program resulted in Compilation Error.
code()
class now ignoresoutput
. i.e you can just provide source code & language to run a program.
- New optional argument,
number_of_runs
inrun()
method, use this to specify no.of times you want to run the code. Default is set to 1. - Ported NEW Languages. CodeRunner now supports all languages provided by Judge0.
setFlags(options)
for setting options for the compiler (i.e. compiler flags).setArguments(arguments)
for setting Command line arguments for the program.
- Minor internal improvemets.
- New instance method -
run()
. run()
is now used to run the code i.e the code is submitted to Judge0 api using this method.- Support for Bash 4.4.
- Renamed Class
Run
tocode
for easier usage. getStatus()
, now only returns the status in comparison to earlier versions where it performed multiple tasks. This is effect fixes #2.
requests
as a dependency, Network requests are now 50% faster.
getSubmissionDate()
,getExitCode
new methods.- Official Documentation.
- Class Run
init
- Now you can pass source code, input and output to program as strings (limited to file paths in prior versions).
- Removed redundant imports
- Added Module/Class docstrings for documentation
- Formatted Code
- Fix import requests problem.
- Initial Release