pythonRuntime
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
pythonRuntime
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2list(items: ?) → void
| arg | type | description |
|---|---|---|
| items | ? |
dict(items: ?) → void
| arg | type | description |
|---|---|---|
| items | ? |
native(fn: ?) → void
| arg | type | description |
|---|---|---|
| fn | ? |
drain(maxSeconds: ?) → void
Native work (mesh rebuilds) calls this between items: past the soft budget it hands frames back until the deferred collector catches up.
| arg | type | description |
|---|---|---|
| maxSeconds | ? |
throttle(baseMB: ?) → void
| arg | type | description |
|---|---|---|
| baseMB | ? |
proxy(name: ?, get: ?, set: ?, iter: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| get | ? | |
| set | ? | |
| iter | ? |
unwrap(v: ?) → void
| arg | type | description |
|---|---|---|
| v | ? |
wrap(v: ?) → void
| arg | type | description |
|---|---|---|
| v | ? |
truth(v: ?) → void
| arg | type | description |
|---|---|---|
| v | ? |
iter(v: ?) → void
| arg | type | description |
|---|---|---|
| v | ? |
repr(v: ?) → void
| arg | type | description |
|---|---|---|
| v | ? |
el(x: ?) → void
Inside containers Python shows strings quoted ('sRGB').
| arg | type | description |
|---|---|---|
| x | ? |
format(v: ?, spec: ?) → void
Python-style format spec subset: [align][0][width][,][.precision][f|e|g|d|%|s]
| arg | type | description |
|---|---|---|
| v | ? | |
| spec | ? |
exception(err: ?) → void
| arg | type | description |
|---|---|---|
| err | ? |
catches(t: ?, name: ?) → void
| arg | type | description |
|---|---|---|
| t | ? | |
| name | ? |
get(v: ?, key: ?) → void
| arg | type | description |
|---|---|---|
| v | ? | |
| key | ? |
k(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
lt(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
set(v: ?, key: ?, value: ?) → void
| arg | type | description |
|---|---|---|
| v | ? | |
| key | ? | |
| value | ? |
index(v: ?, key: ?) → void
| arg | type | description |
|---|---|---|
| v | ? | |
| key | ? |
setIndex(v: ?, key: ?, value: ?) → void
| arg | type | description |
|---|---|---|
| v | ? | |
| key | ? | |
| value | ? |
binary(op: ?, a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| op | ? | |
| a | ? | |
| b | ? |
new(modules: ?) → void
| arg | type | description |
|---|---|---|
| modules | ? |
scope(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
lookup(env: ?, name: ?) → void
| arg | type | description |
|---|---|---|
| env | ? | |
| name | ? |
tick(node: ?) → void
| arg | type | description |
|---|---|---|
| node | ? |
activeCall(...: ?) → void
| arg | type | description |
|---|---|---|
| ... | ? |
call(f: ?, args: ?, kwargs: ?) → void
| arg | type | description |
|---|---|---|
| f | ? | |
| args | ? | |
| kwargs | ? |
eval(e: ?, env: ?) → void
| arg | type | description |
|---|---|---|
| e | ? | |
| env | ? |
step(i: ?) → void
| arg | type | description |
|---|---|---|
| i | ? |
assign(target: ?, value: ?, env: ?) → void
| arg | type | description |
|---|---|---|
| target | ? | |
| value | ? | |
| env | ? |
block(body: ?, env: ?) → void
| arg | type | description |
|---|---|---|
| body | ? | |
| env | ? |
builtin(name: ?, fn: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| fn | ? |
hypot(...: ?) → void
| arg | type | description |
|---|---|---|
| ... | ? |
log10(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
isclose(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
isfinite(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
mul32(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
makeRng(seedv: ?) → void
| arg | type | description |
|---|---|---|
| seedv | ? |
initGen(s: ?) → void
| arg | type | description |
|---|---|---|
| s | ? |
initArray(key: ?) → void
| arg | type | description |
|---|---|---|
| key | ? |
gen( ) → void
seed(n: ?) → void
| arg | type | description |
|---|---|---|
| n | ? |
random( ) → void
getrandbits(k: ?) → void
| arg | type | description |
|---|---|---|
| k | ? |
bitlen(n: ?) → void
| arg | type | description |
|---|---|---|
| n | ? |
below(n: ?) → void
| arg | type | description |
|---|---|---|
| n | ? |
randrange(a: ?, b: ?, step: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? | |
| step | ? |
random( ) → void
seed(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
getrandbits(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
randrange(a: ?, kw: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| kw | ? |
randint(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
uniform(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
choice(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
shuffle(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
sample(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
gauss(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
evalExpr(src: ?, vars: ?) → void
| arg | type | description |
|---|---|---|
| src | ? | |
| vars | ? |
execute(code: ?) → void
| arg | type | description |
|---|---|---|
| code | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.