fontlab_instamix.uv · declarations 001
CANDIDATES
module-attribute
CANDIDATES
RELEASES
module-attribute
RELEASES
asset_name
asset_name(plat: str = platform) -> str
asset_url
asset_url(version: str | None = None, plat: str = platform) -> str
download
download(data: Path, version: str | None = None, fetch=fetch_bytes) -> Path
Download uv into <data>/python/uv/ and return its path.
ensure
ensure(data: Path, *, allow_download: bool = True) -> Path
Return uv, downloading it if needed and allowed.
exe_name
exe_name() -> str
extract_binary
extract_binary(archive: bytes, name: str, plat: str = platform) -> bytes
Return the bytes of the uv binary inside a release archive.
fetch_bytes
fetch_bytes(url: str) -> bytes
Download url (kept small so tests can replace it).
find
find(data: Path | None = None) -> Path | None
Return a usable uv binary or None.
local_uv
local_uv(data: Path) -> Path
Where instamix keeps its own uv: <data>/python/uv/uv.
run
run(uv: Path, args: list[str], runner=run) -> CompletedProcess
Run uv <args>; raise :class:UvError on failure.