A python library to execute untrusted code and evaluate the output.
-
Python Libraries denoted by requirements.txt
-
FireJail (for FireJail Sandbox)
sudo apt install firejail
-
Install PyPI package
pip install pyExecutioner
-
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/
-
Python3
sudo apt install python3
-
C - uses GCC compiler
sudo apt install gcc
Documentation can be found at https://iCodeDevs.github.io/EXecutioner/
- under heavy development, alot of changes might occur over time till we hit v1