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.
| Module | Import | What |
|---|---|---|
| asyncio | nu.std.asyncio | Non-blocking sleep. Orchestration is Flows. |
| cmath | nu.std.cmath | Complex numbers + companion functions. |
| datetime | nu.std.datetime | date, time, datetime, timedelta, timezone. |
| decimal | nu.std.decimal | Arbitrary-precision Decimal. |
| fin | nu.std.fin | Nu's own Percentage, BasisPoint. |
| fractions | nu.std.fractions | Exact rational Fraction. |
| functools | nu.std.functools | reduce. |
| itertools | nu.std.itertools | Gap-fill combinators over Nu core. |
| logging | nu.std.logging | Bound loggers and record commands. |
| math | nu.std.math | Real math functions and constants. |
| pathlib | nu.std.pathlib | Lexical PurePath, no filesystem I/O. |
| random | nu.std.random | Non-deterministic draws. |
| time | nu.std.time | Wall-clock and monotonic timers, blocking sleep. |
| uuid | nu.std.uuid | UUID Form and generators. |