chore: import upstream snapshot with attribution
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:30:11 +08:00
commit 70bf21e064
5213 changed files with 731895 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
bcrypt==4.0.1
+2
View File
@@ -0,0 +1,2 @@
def mul(a,b):
return a*b
+8
View File
@@ -0,0 +1,8 @@
from js import Response
from other import add
from arith import mul
import bcrypt
def on_fetch(request):
password = b"super secret password"
hashed = bcrypt.hashpw(password, bcrypt.gensalt(14))
return Response.new(f"Hi world {add(1,2)} {mul(2,3)} {hashed}")
+2
View File
@@ -0,0 +1,2 @@
def add(a, b):
return a + b
+6
View File
@@ -0,0 +1,6 @@
{
"name": "dep-python-worker",
"main": "src/index.py",
"compatibility_flags": ["python_workers"],
"compatibility_date": "2024-01-29",
}