A library to execute code
Project description
EXecutioner
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyExecutioner-0.0.15.tar.gz.
File metadata
- Download URL: pyExecutioner-0.0.15.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cd39604a3edb899c1a9928c8cdd3a2563084045abb7202623c5ecbd0ea3fcd6
|
|
| MD5 |
8736a7fd485877058d0eae1c8d91acd7
|
|
| BLAKE2b-256 |
fb45b54b4f637570eeecd9117d9df2696fc0ab987dafdef4035faeb39766dde9
|
File details
Details for the file pyExecutioner-0.0.15-py3-none-any.whl.
File metadata
- Download URL: pyExecutioner-0.0.15-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6f171102af3f298d87ccf8fc7b7e188446f1d3733d69fa6f16122f0495f6716
|
|
| MD5 |
5b56b037a6ab3b1e044b7a943af67f14
|
|
| BLAKE2b-256 |
835cfe222fd983102b2253f354aac6b5df37bf43c1970f5495ce64b878163962
|