Coderunner

Latest version: v0.8

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.8

Fix
- Fixed bug where compiling a Java program resulted in Compilation Error.

0.7

Changed
- `code()` class now ignores `output`. i.e you can just provide source code & language to run a program.

0.6

Added

- New optional argument, `number_of_runs` in `run()` 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.

Changed
- Minor internal improvemets.

0.5

Added

- 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*.

Changed
- Renamed Class `Run` to `code` for easier usage.
- `getStatus()`, now only returns the status in comparison to earlier versions where it performed multiple tasks.
This is effect fixes [2](https://github.com/codeclassroom/CodeRunner/issues/2).

Removed
- `requests` as a dependency, Network requests are now 50% faster.

0.4

Added

- `getSubmissionDate()`, `getExitCode` new methods.
- Official Documentation.

Changed

- Class Run `init` - Now you can pass _source code_, _input_ and _output_ to program as strings (limited to file paths in prior versions).

0.3

Added

- Removed redundant imports
- Added Module/Class docstrings for documentation
- Formatted Code

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.