Skip to content

Latest commit

 

History

History
 
 

python-executor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

python-executor

This is a service which executes Python code.

Running locally without docker

poetry shell
poetry install

cd python_executor
# if you've updated proto files, run
python -m grpc_tools.protoc -I../proto/ --python_out=. --grpc_python_out=. --pyi_out=. ../proto/code_executor_grpc.proto

python server.py

Running locally with docker

docker build -t python-executor .
docker run -p 8811:8811 python-executor