[workspace]#

Strict-binary workspace configuration.

  • workspace [table] · required in every file · 3 user keys, 1 dev or expert
  • Start a file: hmp config template --modules workspace (download it), then hmp check file.toml. Minimal file
project_root = ‹path or UPath›Folder of the project, set by the loader: the folder that holds project.toml, else the folder of the file. required dev
Path
workspace.project_root
More

Never written in a file.

Accepted
path or UPath
# root = "../.."Explicit shared data workspace root. example value
Path
workspace.root
More

When set, derives data_dir unless it is overridden. Result catalogs stay project-local by default.

Accepted
path or UPath
Example
"../.."
# data_dir = ‹path›Folder the input data are read from and downloads are cached in.
Path
workspace.data_dir
More

Unset, it is <root>/data.

Accepted
path
# products_cap_mb = 5000Size cap of the product store under .hmp/products/, in megabytes. MB >= 1
Path
workspace.products_cap_mb
More

The oldest products go first when a run writes past it.

Accepted
integer
Valid range
>= 1 (refused outside)
Unit
MB

workspace.project_root project_root Folder of the project, set by the loader: the folder that holds project.toml, else the folder of the file. Never written in a file. workspace.root root not set “../..” Explicit shared data workspace root. When set, derives data_dir unless it is overridden. Result catalogs stay project-local by default. workspace.data_dir data_dir not set Folder the input data are read from and downloads are cached in. Unset, it is <root>/data. workspace.products_cap_mb products_cap_mb 5000 MB Size cap of the product store under .hmp/products/, in megabytes. The oldest products go first when a run writes past it.