Spaces:
Sleeping
Sleeping
Commit
·
01b3736
1
Parent(s):
9665f5f
Auto-commit: app.py updated
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
"""
|
| 2 |
-
FastAPI Universal Code Execution Sandbox with LANDRUN Security
|
| 3 |
Kernel-level sandboxing using Linux Landlock for maximum isolation
|
|
|
|
| 4 |
"""
|
| 5 |
|
| 6 |
from fastapi import FastAPI, Request
|
|
@@ -13,6 +14,8 @@ import base64
|
|
| 13 |
import shlex
|
| 14 |
import uuid
|
| 15 |
from datetime import datetime, timedelta
|
|
|
|
|
|
|
| 16 |
|
| 17 |
app = FastAPI()
|
| 18 |
|
|
|
|
| 1 |
"""
|
| 2 |
+
FastAPI Universal Code Execution Sandbox with LANDRUN Security + Browser Automation
|
| 3 |
Kernel-level sandboxing using Linux Landlock for maximum isolation
|
| 4 |
+
Browser automation with Playwright for UI testing
|
| 5 |
"""
|
| 6 |
|
| 7 |
from fastapi import FastAPI, Request
|
|
|
|
| 14 |
import shlex
|
| 15 |
import uuid
|
| 16 |
from datetime import datetime, timedelta
|
| 17 |
+
import asyncio
|
| 18 |
+
from playwright.async_api import async_playwright
|
| 19 |
|
| 20 |
app = FastAPI()
|
| 21 |
|