whiteprints.uvx_run#

Run uvx commands.

We use Python subprocesses.

Classes#

UVX

Manage the uv program.

Module Contents#

class whiteprints.uvx_run.UVX[source]#

Manage the uv program.

property bin: pathlib.Path[source]#

The uv binary path.

Returns:

a path to the uv binary.

Return type:

pathlib.Path

run(command: collections.abc.Iterable[str]) None[source]#

Run uv tool run.

Note

uv tool run is equivalent to uvx

Parameters:

command (collections.abc.Iterable[str]) – The uv tool run command to execute.

Return type:

None