The Standard Library
The standard library is a collection of modules built into the Pyro binary.
All standard library modules are submodules of the root module $std
.
import $std::math; echo math::pi;
Standard Library Modules
- args
-
A library for parsing command line arguments.
-
A utility module for sending email.
- html
-
Utility functions for working with HTML.
- json
-
Utility functions for working with JSON.
- math
-
Mathematical functions.
- mt64
-
A library for generating pseudo-random numbers.
- path
-
Filepath utilities.
- prng
-
Convenience functions for generating pseudo-random numbers.
- pyro
-
A utility module for interacting with the Pyro VM.
- sqlite
-
The SQLite database engine.