nustack
ReferenceStd

Std

Typed Nu surfaces for Python's standard library. Each submodule mirrors a stdlib module by name; import through the submodule the way you would the stdlib itself. There is no flat shortcut off nu.std.

A value type is a Form: the typed access surface you build with .of(...) and read/transform with properties and methods. Property reads reuse core GetAttr; arithmetic and comparison reuse the core atoms; only constructors and host-specific methods get new atoms. A module with no central class (math, random, time, itertools, ...) is just free functions over Nu terms.

ModuleImportWhat
asyncionu.std.asyncioNon-blocking sleep. Orchestration is Flows.
cmathnu.std.cmathComplex numbers + companion functions.
datetimenu.std.datetimedate, time, datetime, timedelta, timezone.
decimalnu.std.decimalArbitrary-precision Decimal.
finnu.std.finNu's own Percentage, BasisPoint.
fractionsnu.std.fractionsExact rational Fraction.
functoolsnu.std.functoolsreduce.
itertoolsnu.std.itertoolsGap-fill combinators over Nu core.
loggingnu.std.loggingBound loggers and record commands.
mathnu.std.mathReal math functions and constants.
pathlibnu.std.pathlibLexical PurePath, no filesystem I/O.
randomnu.std.randomNon-deterministic draws.
timenu.std.timeWall-clock and monotonic timers, blocking sleep.
uuidnu.std.uuidUUID Form and generators.