Skip to content

4. Standard Packages

The runtime and standard packages ship as DQ source. Begin with the Library Overview for imports and package discovery.

  • sys: implicit runtime services, memory, and process arguments.
  • print: console output.
  • file: files, directories, and paths.
  • json: JSON trees, parsing, and serialization.
  • threads: native threads, atomics, and channels.
  • time: timestamps, elapsed time, date formatting, and sleeps.
  • nanonet: sockets and HTTP servers.
  • shell: child processes, captured output, and environment variables.
  • Additional Standard Packages: math, parsing, database bindings, and lower-level platform interfaces.