Functions
builtin¶
| Name | Description |
|---|---|
| lipsum | Generate some lorem ipsum for the template. |
| joiner | A joining helper for templates. |
| cycler | Cycle through values by yield them one at a time, then restarting |
| namespace | A namespace object that can hold arbitrary attributes. It may be |
misc¶
| Name | Description |
|---|---|
| online | Return true if machine is connected to internet. |
| now | Get current Datetime. |
| utcnow | Get UTC datetime. |
| cwd | Return a new path pointing to the current working directory. |
| randrange | Choose a random item from range(stop) or range(start, stop[, step]). |
| randint | Return random integer in range [a, b], including both end points. |
| uniform | Get a random number in the range [a, b) or [a, b] depending on rounding. |