weirdnet-code-spaces 0.1.0

Weirdnet code spaces: math, Polars, Rust and typed Python sources compiled into plugins against the weirdnet-plugin SDK, content-addressed builds, ABI-checked loading, trust hashes and space line-ups, under an application profile.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import sys
from os import execv
from os.path import dirname
import subprocess

print("Testing module structure:")
print("sys.executable:", sys.executable)

# Test nested module access
path = dirname("/home/user/file.txt")
print("dirname result:", path)

# Test subprocess
result = subprocess.run(["echo", "hello"], None)
print("subprocess returncode:", result.returncode)