feat(sandbox): add Python 3 code execution sandbox support

This commit is contained in:
Eternity
2026-01-26 11:54:38 +08:00
parent 6920deef63
commit e3b6ede992
35 changed files with 1613 additions and 0 deletions

20
sandbox/requirements.txt Normal file
View File

@@ -0,0 +1,20 @@
# Web Framework
fastapi==0.115.0
uvicorn[standard]==0.32.0
pydantic==2.9.0
pydantic-settings==2.5.0
# Configuration
PyYAML==6.0.2
# Security
pyseccomp==0.1.2
# Async & Concurrency
aiofiles==24.1.0
# Testing
pytest==8.3.0
pytest-asyncio==0.24.0
httpx==0.27.0