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
16
#!/usr/bin/env python3

import sys
import os
import subprocess

# This simulates the original error code
if sys.executable != "test":
    os.execv(sys.executable, [sys.executable, *sys.argv])

proc = subprocess.run(
    [sys.executable, "-u", "-m", "pyperformance.tests"],
    cwd=os.path.dirname(__file__),
    env=dict(os.environ, venvroot="test"),
)
sys.exit(proc.returncode)