Skip to content

TOML Provider

Reading toml files. For writing toml you will need a third party provider since this wraps python's native toml library which only supports reads.

Hooks

Type Description Return
toml Hook for reading TOML. Wraps python's native toml library which does not support writing toml, only reading. Union[dict, str]
toml_decode Hook for decoding a TOML string to a dict. dict

Examples

toml

Read a toml file into a key

expanded:
  ->: toml
  path: path/to/toml/file.toml
compact->: toml path/to/toml/file.toml