spl:fetch

Download an SPL model from UVLHub into the local cache.


Usage

splent spl:fetch <spl_name> [--force]

Requires detached mode.


Options

Option Description
--force Re-download even if the model is already cached.

Description

Reading a model needs no account and no key. The file is fetched straight from UVLHub by DOI. Only publishing goes through the marketplace, see spl:publish.

The DOI comes from whatever records it, most authoritative first.

  1. The product that pins the model, under [tool.splent.spl_model] in its own pyproject.toml.
  2. The working copy at splent_spl_<name>/, if you are editing the model here.
  3. Any other product in the workspace that pins the same SPL.
  4. A previous fetch, from the metadata.toml left in the cache.

The file lands under .splent_cache/spls/<name>@<version or DOI>/ and nowhere else. A working copy you are editing is never overwritten, and deleting the cache costs one download. When you do have a working copy the command says so, because that copy is what wins when the model is read.

Without a DOI anywhere there is nothing to download, so the command lists every path it looked in plus how to record one.

UVLHUB_URL points the download at another UVLHub instance and defaults to https://www.uvlhub.io.


See also


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es