Skip to content

Commit c9c5988

Browse files
authored
add attribution (#35)
1 parent f4c5bd3 commit c9c5988

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/pyodide-sandbox-js/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
// Parts of this code were adapted from
2+
// https://github.com/alexmojaki/pyodide-worker-runner/blob/master/lib/pyodide_worker_runner.py
3+
// and
4+
// https://github.com/pydantic/pydantic-ai/blob/main/mcp-run-python/src/runCode.ts
15
import { loadPyodide } from "pyodide";
26
import { join } from "@std/path";
37
import { parseArgs } from "@std/cli/parse-args";
48

5-
69
const pkgVersion = "0.0.7";
710

8-
// Python environment preparation code
9-
// This code was adapted from
10-
// https://github.com/alexmojaki/pyodide-worker-runner/blob/master/lib/pyodide_worker_runner.py
1111
const prepareEnvCode = `
1212
import datetime
1313
import importlib

0 commit comments

Comments
 (0)