Skip to content

A python library to execute code submissions and evaluate based on testcases

License

Notifications You must be signed in to change notification settings

iCodeDevs/EXecutioner

Repository files navigation

EXecutioner

Codacy Badge Build Build Docs codecov

A python library to execute untrusted code and evaluate the output.

Requirements

  • Python Libraries denoted by requirements.txt

  • FireJail (for FireJail Sandbox)

    sudo apt install firejail

Installation

  • Install PyPI package

    pip install pyExecutioner

Installation for development

  • Clone the repository.

  • make a virtual environment named 'venv' inside the repository. (Learn about venv)

    python -m venv venv
  • access the virtualenv

    source venv/bin/activate
  • install python dev dependencies

    pip install -r requirements.txt
  • Run Test after installing the default supported language compilers/interpreters.

    pytest executioner/

Default supported languages

  • Python3

    sudo apt install python3
  • C - uses GCC compiler

    sudo apt install gcc

Documentation

Documentation can be found at https://iCodeDevs.github.io/EXecutioner/

NOTE

  • under heavy development, alot of changes might occur over time till we hit v1

About

A python library to execute code submissions and evaluate based on testcases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages