Skip to main content

A library to execute code

Project description

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

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

pyExecutioner-0.0.15.tar.gz (26.9 kB view hashes)

Uploaded Source

Built Distribution

pyExecutioner-0.0.15-py3-none-any.whl (33.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page