Skip to content

Implementation progress

Modules

ModuleStatusNotes
mathInitial API completeTyped integer, floating-point, sequence, trigonometric, and special functions. Integers use signed 64-bit WIT values.
hashlibInitial API completeIncremental hashes, constructors, metadata, copy, digest, hexadecimal digest, and PBKDF2-HMAC.
itertoolsInitial finite APIInteger sequences: accumulate, chain, combinations, compress, islice, pairwise, permutations, product, and repeat.
randomInitial API completeSeeded generators, state, integer/sequence operations, bytes, and probability distributions; non-cryptographic only.
Numeric value modulesInitial typed APIstatistics, exact-string fractions, and precision-controlled string decimal operations.
Binary transform modulesInitial typed APIOne-shot hmac, base64, and binascii byte operations.
Collection algorithmsInitial typed APIPure bisect and heapq operations over signed 64-bit integer arrays.
Text and structured dataInitial typed APIstring, textwrap, in-memory csv, JSON values, html, and urllib.parse.
Dates and identifiersInitial typed APIExplicit datetime, calendar, and deterministic UUID parsing and generation.
Other standard-library modulesEvaluatingSee the module support matrix for capability-dependent exclusions.

Explicit stubs

APIStatusReason
hashlib.file_digestUnimplementedArbitrary Python file-like objects cannot cross the typed WIT boundary.
hashlib.scryptUnimplementedThe required native backend is unavailable in the current component runtime.

Verification

  • Adapter Python is generated from api/adapters.json and checked with file snapshots.
  • Every exported function in the portable module expansion is compared with uv-pinned CPython 3.14.6.
  • Python reference expressions are batched into one subprocess per test suite.
  • Every module has a committed gzip size snapshot; the shared runtime has an 18 MiB raw build ceiling.
  • All modules share one merged component and one initialization promise.